Class ContentRepositoryManager
java.lang.Object
com.primavera.integration.client.bo.cr.ContentRepositoryManager
Helper class containing methods to read content repository related information from UCM (Universal Content Management).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the most recent version of each UCM document associated with an Activity.byte[]getUCMDocument(String uuid, String version) Gets the byte array of UCM document.getUCMDocumentDetail(String uuid) Gets the most recent version of a UCM document.getUCMVersionHistory(String uuid) Gets all the versions of a UCM document.
-
Constructor Details
-
ContentRepositoryManager
-
-
Method Details
-
getActivityRecentUCMDocumentVersions
Gets the most recent version of each UCM document associated with an Activity.- Parameters:
objId- ObjectId of an Activity- Returns:
- the most recent versions of UCM documents.
- Throws:
Exception- if a problem occurred.
-
getUCMDocument
Gets the byte array of UCM document.- Parameters:
uuid- the UCM ID of a document.version- the version of the document.- Returns:
- the contents of a UCM document.
- Throws:
Exception- if a problem occurred.
-
getUCMVersionHistory
Gets all the versions of a UCM document.- Parameters:
uuid- the UCM ID of a document.- Returns:
- the versions of a UCM document.
- Throws:
Exception- if a problem occurred.
-
getUCMDocumentDetail
Gets the most recent version of a UCM document.- Parameters:
uuid- the UCM ID of a document.- Returns:
- the most recent version a UCM document.
- Throws:
Exception- if a problem occurred.
-