Interface IVersionInfo
public interface IVersionInfo
Title:
Description: SkiLift
Copyright: Copyright (c) 2000
Company: webMethods, Inc
-
Method Summary
Modifier and TypeMethodDescriptiongets the end Dateget resource IDget the service ID for this item null means unknown or defaultget update IDint
get update typegets the user ID who locked this objectget version IDvoid
putVersionInfo
(IThingID thingID, String resourceID, String versionID, int updateType, String updateID, IThingID serviceID) puts the version infor for this thing in the cachevoid
setUserLock
(IThingID userID, Time endDate) Set endDate to time when lock can be removed by anyone.setVersioned
(String resourceID, String versionID, int updateType, String updateID, IThingID serviceID) Initial call to make something versionedvoid
updateVersion
(String versionID) updates versionIDvoid
updateVersion
(String versionID, int updateType, String updateID, IThingID serviceID) updates some fields
-
Method Details
-
setVersioned
IThingID setVersioned(String resourceID, String versionID, int updateType, String updateID, IThingID serviceID) throws MetaException Initial call to make something versioned- Throws:
MetaException
-
putVersionInfo
void putVersionInfo(IThingID thingID, String resourceID, String versionID, int updateType, String updateID, IThingID serviceID) puts the version infor for this thing in the cache -
updateVersion
void updateVersion(String versionID, int updateType, String updateID, IThingID serviceID) throws MetaException updates some fields- Throws:
MetaException
-
updateVersion
updates versionID- Throws:
MetaException
-
getVersionID
get version ID- Throws:
MetaException
-
getResourceID
get resource ID- Throws:
MetaException
-
getUpdateType
get update type- Throws:
MetaException
-
getUpdateID
get update ID- Throws:
MetaException
-
getUserLockID
gets the user ID who locked this object- Returns:
- IThing.INVALID_ID if unlocked
- Throws:
MetaException
- if thing has been deleted or DB error
-
getLockEndDate
gets the end Date- Returns:
- 0 if not locked or no end date
- Throws:
MetaException
- if object has been deleted or db error
-
setUserLock
Set endDate to time when lock can be removed by anyone. Will not automatically remove lock.- Parameters:
userID
- User who locked objectendDate
- time when lock will end- Throws:
MetaException
- If object has been deleted or DB error
-
getServiceID
get the service ID for this item null means unknown or default- Throws:
MetaException
-