Package com.documentum.registry
Interface IDfClientRegistryInternal
- All Superinterfaces:
IDfClientRegistry
- All Known Implementing Classes:
DfClientRegistry,DfClientRegistryBaseInternal
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAppSupportDocument(IDfAppSupportDocumentInternal appSupportDoc) Writes the information contained in IDfAppSupportDocumentInternal object to the registryvoidaddCheckedOutObject(IDfCheckedOutObject checkoutObj) Adds the information contained in the checked out object to the registry.voidaddInlineDescendant(IDfInlineDescendantInternal inlineObj) Writes the information contained in IDfInlineDescendantInternal object to the registryvoidaddLocalObject(IDfLocalObject localObj) Adds the information contained in the local object to the registry.voidaddViewedObject(IDfViewedObject viewedObj) Adds the information contained in the viewed out object to the registry.createAppSupportDocument(String docbase, String docbaseUser, String appName, IDfId objectId) Creates a IDfAppSupportDocumentInternal representation of the application support document.createCheckedOutObject(IDfId objectId) Creates a IDfCheckedOutObject representation of the checked out object.createInlineDescendantObject(IDfId objectId, IDfId rootId) Creates an IDfInlineDescendantInternal object representation of the inline descendant information contained in the registry.createLocalObject(IDfId objectId) Creates a IDfLocalObject representation of the local object.createViewedObject(IDfId objectId) Creates a IDfViewedObject representation of the viewed object.Returns a list of IDfApplicationSupportDocument objects.getAppSupportDocument(String docbase, String docbaseUser, String appName, IDfId objectId) Get IDfAppSupportDocumentInternal object representation of the application support document information in the registry.getCheckedOutObjectsByMasterId(String masterId) Returns the IDfHouseKeepingObject representation of the house keeping information contained in the registry.getInlineDescendant(IDfId objectId) Get IDfInlineDescendantInternal object representation of the inline descendant corresponding to the object id.getRegistry(long whichRoot) Returns IDfRegistry corresponding to the root.booleanReturns true if the local item processing is required.voidLoads the information contained in the underlying registry storage in memory.voidremoveAppSupportDocument(String docbase, String docbaseUser, String applicationName, IDfId objectId) Removes the application support document information from the registry.voidremoveInlineDescendant(IDfId objectId) Removes the inline descendant information corresponding to the object id from the registry.voidSaves the information contained in the memory to the underlying registry.Methods inherited from interface com.documentum.registry.IDfClientRegistry
addCheckedOutObject, addFileToBeDeleted, addLocalObject, addViewedObject, applyModifiedAttrs, getCheckedOutObjectById, getCheckedOutObjectByPath, getCheckedOutObjects, getCheckoutDirectory, getExportDirectory, getFilesToBeDeleted, getLocalObjectById, getLocalObjectByPath, getLocalObjects, getProgramDirectory, getRegistry, getUserDirectory, getViewedObjectById, getViewedObjectByPath, getViewedObjects, moveToCheckedOutFiles, moveToLocalFiles, removeCheckedOutObject, removeFileToBeDeleted, removeLocalObject, removeViewedObject, setCheckoutDirectory, setExportDirectory, setProgramDirectory, setUserDirectory
-
Method Details
-
addInlineDescendant
Writes the information contained in IDfInlineDescendantInternal object to the registry- Parameters:
inlineObj- IDfInlineDescendantInternal object that contains inline descendant information.- Throws:
DfException
-
removeInlineDescendant
Removes the inline descendant information corresponding to the object id from the registry.- Parameters:
objectId- the inline descendant correponding to this object id will be removed from the registry.- Throws:
DfException
-
getInlineDescendant
Get IDfInlineDescendantInternal object representation of the inline descendant corresponding to the object id.- Parameters:
objectId- the inline descendant object id- Returns:
- IDfInlineDescendantInternal object
- Throws:
DfException
-
addAppSupportDocument
Writes the information contained in IDfAppSupportDocumentInternal object to the registry- Parameters:
appSupportDoc- IDfAppSupportDocumentInternal object that contains application support document information.- Throws:
DfException
-
removeAppSupportDocument
void removeAppSupportDocument(String docbase, String docbaseUser, String applicationName, IDfId objectId) throws DfException Removes the application support document information from the registry. Docbase Name, docbase user, application name and object id together uniquely define the application support document information in the registry.- Parameters:
docbase- the docbase namedocbaseUser- the docbase user nameapplicationName- the XML application nameobjectId- the docbase object id- Throws:
DfException
-
getAppSupportDocument
IDfAppSupportDocumentInternal getAppSupportDocument(String docbase, String docbaseUser, String appName, IDfId objectId) throws DfException Get IDfAppSupportDocumentInternal object representation of the application support document information in the registry. Docbase Name, docbase user, application name and object id together uniquely define the application support document information in the registry.- Parameters:
docbase- docbase namedocbaseUser- docbase user nameappName- application nameobjectId- docbase object id- Returns:
- IDfAppSupportDocumentInternal object representation of the application support document information in the registry
- Throws:
DfException
-
getApplicationSupportDocuments
Returns a list of IDfApplicationSupportDocument objects.- Returns:
- IDfList of IDfApplicationSupportDocument objects.
- Throws:
DfException
-
addCheckedOutObject
Adds the information contained in the checked out object to the registry.- Parameters:
checkoutObj- IDfCheckedOutObject object representation of the checked out object.- Throws:
DfException
-
addViewedObject
Adds the information contained in the viewed out object to the registry.- Parameters:
viewedObj- IDfViewedObject object representation of the viewed object.- Throws:
DfException
-
addLocalObject
Adds the information contained in the local object to the registry.- Parameters:
localObj- IDfLocalObject object representation of the local object.- Throws:
DfException
-
getHouseKeepingObject
IDfHouseKeepingObject getHouseKeepingObject()Returns the IDfHouseKeepingObject representation of the house keeping information contained in the registry.- Returns:
- IDfHouseKeeping object
-
createCheckedOutObject
Creates a IDfCheckedOutObject representation of the checked out object. Note that there is no information contained in this object when it is created. It is just an empty place holder in which the information about checked out object can be populated.- Returns:
- IDfCheckedOutObject
- Throws:
DfException
-
createViewedObject
Creates a IDfViewedObject representation of the viewed object. Note that there is no information contained in this object when it is created. It is just an empty place holder in which the information about viewed object can be populated.- Returns:
- IDfViewedObject
- Throws:
DfException
-
createLocalObject
Creates a IDfLocalObject representation of the local object. Note that there is no information contained in this object when it is created. It is just an empty place holder in which the information about local object can be populated.- Returns:
- IDfLocalObject
- Throws:
DfException
-
createAppSupportDocument
IDfAppSupportDocumentInternal createAppSupportDocument(String docbase, String docbaseUser, String appName, IDfId objectId) throws DfException Creates a IDfAppSupportDocumentInternal representation of the application support document. Note that the only information contained in this IDfApplicationSupportDocument after creation is what is passed as parameter values i.e. docbase name, docbase user, application name and object id. Other related information for this application support document should be populated.- Parameters:
docbase- docbase namedocbaseUser- docbase userappName- application nameobjectId- docbase object id- Returns:
- IDfApplicationSupportDocument
- Throws:
DfException
-
createInlineDescendantObject
IDfInlineDescendantInternal createInlineDescendantObject(IDfId objectId, IDfId rootId) throws DfException Creates an IDfInlineDescendantInternal object representation of the inline descendant information contained in the registry.- Parameters:
objectId- docbase object id that corresponds to the inline descendantrootId- docbase object id that contains this inline descendant (directly or indeirectly)- Returns:
- IDfInlineDescendantInternal object
- Throws:
DfException
-
loadRegistry
Loads the information contained in the underlying registry storage in memory.- Throws:
DfException
-
saveRegistryUpdates
Saves the information contained in the memory to the underlying registry.- Throws:
DfException
-
isLocalItemProcessingRequired
boolean isLocalItemProcessingRequired()Returns true if the local item processing is required. This is false for the ini file representation of the registry.- Returns:
- true if local item processing is required; false otherwise
-
getRegistry
Returns IDfRegistry corresponding to the root. This method is useful if the underlying registry is windows registry. In windows, there are two different types of hives HKLM, HKCU. Currently, we store all the information in HKCU. However, there is some information like check out directory location, user directory location, program directory etc. that is present under HKLM. Hence, if you want to use HKLM hiive, the call method getRegistry() in the base interface. If, you want to use HKCU then use this method by passing IDfRegistry.USER_ROOT.- Parameters:
whichRoot-- Returns:
- IDfRegistry representation of registry.
-
getCheckedOutObjectsByMasterId
-