Package com.documentum.registry
Class DfClientRegistryObject
java.lang.Object
com.documentum.registry.DfClientRegistryObjectBase
com.documentum.registry.DfClientRegistryObject
- All Implemented Interfaces:
IDfClientRegistryObject
-
Method Summary
Modifier and TypeMethodDescriptionprotected final StringconvertBoolean(boolean value) Converts booleans to it's equivalent string valuesprotected final StringconvertString(String str) Converts nulls into empty strings for the registry.protected final StringConverts nulls into empty strings for the registry.Returns content identifierReturns the repository identifier for the repository to which the object belongs.Returns the name of the repository this object belongs to.Returns the name of the DocBroker in use when the object was written to the registry.Returns the NT domain name of the user who registered this document.Returns the local content file path to the repository object.Returns the repository cabinet / folder path from which the repository object was accessed when the object was added to the registry.Returns the format name for the repository object (for example, msw6)Returns the description of the repository format for the object (e.g.Returns the repository object ID for the client registry object.Returns the name of the repository object.Returns resource fork identifiergetTitle()Returns the title of the repository object.getType()Returns the r_object_type for the repository object.getUser()Returns the login name of the user who registered this document.intReturns the vstamp of the object.booleanisDirty()Returns true if the object attributes have been modified.protected final voidloadFromRegistry(IDfRegistry registry, String objectId) Reads infomation from the registry (in the current open key) with respect to DfClientRegistryObject.abstract voidloadFromRegistry(String objId) Reads the information from the registry into the objectvoidsetContentIdentifier(String contentIdentifier) Sets content identifiervoidsetDocbaseId(String docbaseId) Sets the ID of the repository the object resides onvoidsetDocbaseName(String docbaseName) Sets the name of the repository the object resides onvoidsetDocbroker(String docbrokerName) Sets the name of the DocBroker the user is usingvoidsetDomainName(String domainName) Sets the domain name of the objectvoidsetFilePath(String filePath) Sets the local file path of the objectvoidsetFolderPath(String folderPath) Sets the folder path of the object in the repositoryvoidSets the object type of the objectvoidsetFormatDescription(String formatDesc) Sets the English name of the format of the objectprotected final voidsetIsDirty(boolean isDirty) voidsetObjectId(String objId) Sets the object ID of the objectvoidsetObjectName(String objName) Sets the name of the objectvoidsetParentObjectId(String parentObjId) voidsetResourceForkIdentifier(String resourceForkIdentifier) Sets resource fork identifiervoidSets the title of the checked-out objectvoidSets the object type of the objectvoidSets the user name of the user that is using the objectvoidsetVStamp(int vStamp) Sets the vstamp of the objectabstract voidWrites the information in the object to the registryprotected final voidupdateRegistry(IDfRegistry registry) Writes infomation to the registry (in the current open key) with respect to DfClientRegistryObject.
-
Method Details
-
getObjectId
Description copied from interface:IDfClientRegistryObjectReturns the repository object ID for the client registry object.- Returns:
- the object ID of the object
-
setObjectId
Description copied from interface:IDfClientRegistryObjectSets the object ID of the object- Parameters:
objId- the new object ID
-
getObjectName
Description copied from interface:IDfClientRegistryObjectReturns the name of the repository object.- Returns:
- the name of the object
-
setObjectName
Description copied from interface:IDfClientRegistryObjectSets the name of the object- Parameters:
objName- the name of the object
-
getParentObjectId
-
setParentObjectId
-
getTitle
Description copied from interface:IDfClientRegistryObjectReturns the title of the repository object.- Returns:
- the title of the object
-
setTitle
Description copied from interface:IDfClientRegistryObjectSets the title of the checked-out object- Parameters:
title- the title of the object
-
getFilePath
Description copied from interface:IDfClientRegistryObjectReturns the local content file path to the repository object.- Returns:
- the local file path of the object
-
setFilePath
Description copied from interface:IDfClientRegistryObjectSets the local file path of the object- Parameters:
filePath- the local file path of the checked-out object
-
getType
Description copied from interface:IDfClientRegistryObjectReturns the r_object_type for the repository object.- Returns:
- the object type of the object
-
setType
Description copied from interface:IDfClientRegistryObjectSets the object type of the object- Parameters:
type- the object type of the object
-
getFormat
Description copied from interface:IDfClientRegistryObjectReturns the format name for the repository object (for example, msw6)- Returns:
- the format of the checked-out object
-
setFormat
Description copied from interface:IDfClientRegistryObjectSets the object type of the object- Parameters:
format- the format of the object
-
getFormatDescription
Description copied from interface:IDfClientRegistryObjectReturns the description of the repository format for the object (e.g. "Microsoft Word 6").- Returns:
- the English name of the format of the object
-
setFormatDescription
Description copied from interface:IDfClientRegistryObjectSets the English name of the format of the object- Parameters:
formatDesc- the format description of the object
-
getDocbaseId
Description copied from interface:IDfClientRegistryObjectReturns the repository identifier for the repository to which the object belongs.- Returns:
- the ID of the repository the object resides on
-
setDocbaseId
Description copied from interface:IDfClientRegistryObjectSets the ID of the repository the object resides on- Parameters:
docbaseId- the ID of the repository the object resides on
-
getDocbaseName
Description copied from interface:IDfClientRegistryObjectReturns the name of the repository this object belongs to.- Returns:
- the name of the repository the object resides on
-
setDocbaseName
Description copied from interface:IDfClientRegistryObjectSets the name of the repository the object resides on- Parameters:
docbaseName- the name of the repository the object resides on
-
getDocbroker
Description copied from interface:IDfClientRegistryObjectReturns the name of the DocBroker in use when the object was written to the registry.- Returns:
- the name of the DocBroker the user is using
-
setDocbroker
Description copied from interface:IDfClientRegistryObjectSets the name of the DocBroker the user is using- Parameters:
docbrokerName- the name of the DocBroker the user is using
-
getFolderPath
Description copied from interface:IDfClientRegistryObjectReturns the repository cabinet / folder path from which the repository object was accessed when the object was added to the registry. May be empty if no folder context was available.- Returns:
- the folder path of the checked-out object in the repository
-
setFolderPath
Description copied from interface:IDfClientRegistryObjectSets the folder path of the object in the repository- Parameters:
folderPath- the folder path of the object
-
getDomainName
Description copied from interface:IDfClientRegistryObjectReturns the NT domain name of the user who registered this document.- Returns:
- the domain name of the object
-
setDomainName
Description copied from interface:IDfClientRegistryObjectSets the domain name of the object- Parameters:
domainName- the folder path of the object
-
getUser
Description copied from interface:IDfClientRegistryObjectReturns the login name of the user who registered this document.- Returns:
- the login name of the user that is using the object
-
setUser
Description copied from interface:IDfClientRegistryObjectSets the user name of the user that is using the object- Parameters:
user- the user name of the user using the object
-
getVStamp
public int getVStamp()Description copied from interface:IDfClientRegistryObjectReturns the vstamp of the object.- Returns:
- the vstamp of the object
-
setVStamp
public void setVStamp(int vStamp) Description copied from interface:IDfClientRegistryObjectSets the vstamp of the object- Parameters:
vStamp- the vstamp of the object.
-
getContentIdentifier
Description copied from interface:IDfClientRegistryObjectReturns content identifier- Returns:
- content identifier
-
setContentIdentifier
Description copied from interface:IDfClientRegistryObjectSets content identifier- Parameters:
contentIdentifier- content identifier
-
getResourceForkIdentifier
Description copied from interface:IDfClientRegistryObjectReturns resource fork identifier- Returns:
- resource fork identifier
-
setResourceForkIdentifier
Description copied from interface:IDfClientRegistryObjectSets resource fork identifier- Parameters:
resourceForkIdentifier- resource fork identifier
-
isDirty
public boolean isDirty()Description copied from interface:IDfClientRegistryObjectReturns true if the object attributes have been modified. Note: this method is intended for internal use.- Returns:
- true if the object's attributes have been changed and not written to the registry
-
updateRegistry
Description copied from interface:IDfClientRegistryObjectWrites the information in the object to the registry- Throws:
DfException
-
loadFromRegistry
Description copied from interface:IDfClientRegistryObjectReads the information from the registry into the object- Parameters:
objId- the object ID of the object to be read- Throws:
DfException
-
setIsDirty
protected final void setIsDirty(boolean isDirty) -
updateRegistry
Writes infomation to the registry (in the current open key) with respect to DfClientRegistryObject.- Parameters:
registry- The registry object with the desired key already open.- Throws:
DfException
-
loadFromRegistry
Reads infomation from the registry (in the current open key) with respect to DfClientRegistryObject.- Parameters:
registry- The registry object with the desired key already open.objectId- The object id that was used to open the registry key.- Throws:
DfException
-
convertString
Converts nulls into empty strings for the registry. -
convertStringWithoutWhitespace
Converts nulls into empty strings for the registry. Also remove any whitespace. -
convertBoolean
Converts booleans to it's equivalent string values
-