public interface IVersionInfo
Modifier and Type | Method and Description |
---|---|
Time |
getLockEndDate()
gets the end Date
|
String |
getResourceID()
get resource ID
|
IThingID |
getServiceID()
get the service ID for this item
null means unknown or default
|
String |
getUpdateID()
get update ID
|
int |
getUpdateType()
get update type
|
IThingID |
getUserLockID()
gets the user ID who locked this object
|
String |
getVersionID()
get version ID
|
void |
putVersionInfo(IThingID thingID,
String resourceID,
String versionID,
int updateType,
String updateID,
IThingID serviceID)
puts the version infor for this thing in the cache
|
void |
setUserLock(IThingID userID,
Time endDate)
Set endDate to time when lock can be removed by anyone.
|
IThingID |
setVersioned(String resourceID,
String versionID,
int updateType,
String updateID,
IThingID serviceID)
Initial call to make something versioned
|
void |
updateVersion(String versionID)
updates versionID
|
void |
updateVersion(String versionID,
int updateType,
String updateID,
IThingID serviceID)
updates some fields
|
IThingID setVersioned(String resourceID, String versionID, int updateType, String updateID, IThingID serviceID) throws MetaException
MetaException
void putVersionInfo(IThingID thingID, String resourceID, String versionID, int updateType, String updateID, IThingID serviceID)
void updateVersion(String versionID, int updateType, String updateID, IThingID serviceID) throws MetaException
MetaException
void updateVersion(String versionID) throws MetaException
MetaException
String getVersionID() throws MetaException
MetaException
String getResourceID() throws MetaException
MetaException
int getUpdateType() throws MetaException
MetaException
String getUpdateID() throws MetaException
MetaException
IThingID getUserLockID() throws MetaException
MetaException
- if thing has been deleted or DB errorTime getLockEndDate() throws MetaException
MetaException
- if object has been deleted or db errorvoid setUserLock(IThingID userID, Time endDate) throws MetaException
userID
- User who locked objectendDate
- time when lock will endMetaException
- If object has been deleted or DB errorIThingID getServiceID() throws MetaException
MetaException