Package com.documentum.registry
Interface IDfCheckedOutObject
- All Superinterfaces:
IDfClientRegistryObject
Represents registry information for a checked out object.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSharedDocument
(IDfId parentId) Adds the object id of the parent that shares this checked out object.void
Removes all the modified attributes.boolean
Returns whether or not the checked out object was originally created as a Desktop Client local file.boolean
Returns a boolean value indicating whether or not the local content file should be preserved or deleted as part of the operation.Returns the master object id of the current checked out object.getModifiedAttr
(String name) Gets the value of a modified attribute.Returns a list of attribute names for the attributes that have been modified while the document is checked out.Returns the list of the object id's of all the documents that share this checked out objectReturns the user name for the user who checked out this document.Returns the implict version label of the checked out document.void
removeSharedDocument
(IDfId parentId) Removes the object id of the document that shares this checked out object.void
setCreatedAsLocalCopy
(boolean createdAsLocalCopy) Set whether the checked-out object was originally created as a local filevoid
setKeepLocalFile
(boolean keepLocalFile) Sets a boolean value indicating whether or not the local content file should be preserved or deleted when the document is checked back in to the docbase.void
setMasterObjectId
(String masterObjectId) Sets the master object id of the replica or reference object.void
setModified
(String modified) Sets the modification date of the filevoid
setModifiedAttr
(String name, String value) Marks that an attribute has been changed with the checked-out object.void
setUserName
(String userName) Sets the full user name of the uservoid
setVersion
(String version) Sets the version label of the objectMethods inherited from interface com.documentum.registry.IDfClientRegistryObject
getContentIdentifier, getDocbaseId, getDocbaseName, getDocbroker, getDomainName, getFilePath, getFolderPath, getFormat, getFormatDescription, getObjectId, getObjectName, getResourceForkIdentifier, getTitle, getType, getUser, getVStamp, isDirty, loadFromRegistry, setContentIdentifier, setDocbaseId, setDocbaseName, setDocbroker, setDomainName, setFilePath, setFolderPath, setFormat, setFormatDescription, setObjectId, setObjectName, setResourceForkIdentifier, setTitle, setType, setUser, setVStamp, updateRegistry
-
Method Details
-
setKeepLocalFile
void setKeepLocalFile(boolean keepLocalFile) Sets a boolean value indicating whether or not the local content file should be preserved or deleted when the document is checked back in to the docbase.- Parameters:
keepLocalFile
- if true the local content file will not be deleted.
-
getKeepLocalFile
boolean getKeepLocalFile()Returns a boolean value indicating whether or not the local content file should be preserved or deleted as part of the operation.- Returns:
- if true, the local content file will not be deleted.
-
setCreatedAsLocalCopy
void setCreatedAsLocalCopy(boolean createdAsLocalCopy) Set whether the checked-out object was originally created as a local file- Parameters:
createdAsLocalCopy
- true if the file was originally a local file
-
getCreatedAsLocalCopy
boolean getCreatedAsLocalCopy()Returns whether or not the checked out object was originally created as a Desktop Client local file.- Returns:
- true if created as local file
-
setUserName
Sets the full user name of the user- Parameters:
userName
- the full user name of the user
-
getUserName
String getUserName()Returns the user name for the user who checked out this document.- Returns:
- the full user name of the user associated with this file
-
setModified
Sets the modification date of the file- Parameters:
modified
- the modification date of the file
-
getModified
String getModified()- Returns:
- the modification date of the file
-
setVersion
Sets the version label of the object- Parameters:
version
- the version label of the object
-
getVersion
String getVersion()Returns the implict version label of the checked out document.- Returns:
- the version label of the object
-
getModifiedAttrs
Returns a list of attribute names for the attributes that have been modified while the document is checked out. Note: this method is currently internal and reserved for future use.- Returns:
- a IDfList object containing the names of the attrs that have been modified
- Throws:
DfException
-
setModifiedAttr
Marks that an attribute has been changed with the checked-out object. Note: this method is currently internal and reserved for future use.- Parameters:
name
- the name of the attributevalue
- the value the attribute have been changed to- Throws:
DfException
-
getModifiedAttr
Gets the value of a modified attribute. Note: this method is currently internal and reserved for future use.- Parameters:
name
- the name of a modified attribute- Returns:
- the value of the modified attribute
- Throws:
DfException
-
clearModifiedAttrs
void clearModifiedAttrs()Removes all the modified attributes. Note: this method is currently internal and reserved for future use. -
setMasterObjectId
Sets the master object id of the replica or reference object. The master object id corresponds to the the original object in the docbase from which it was replicated or referenced.- Parameters:
masterObjectId
- master object id of the current checked out object.- Throws:
DfException
-
getMasterObjectId
Returns the master object id of the current checked out object.- Returns:
- the master object id of the current checked out object.
- Throws:
DfException
-