|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DocumentService
Service interface for PortfolioDocument specific operations.
| Method Summary | |
|---|---|
PortfolioDocument |
activateDocument(java.lang.String documentID,
boolean updateDependencies)
Deprecated. |
PortfolioDocument |
createDocument(PortfolioDocument Document)
Create a new PortfolioDocument object. |
PortfolioDocument |
createTestDocument(java.lang.String documentID)
Deprecated. |
void |
deleteDocument(java.lang.String documentID)
Deprecated. |
java.lang.Boolean |
documentExists(java.lang.String documentName)
Check if a Document exists by the given name. |
java.util.List |
getAllDocuments(Query query)
List all PortfolioDocuments filtered by the given Query. |
java.util.List |
getDependentPortfolios(java.lang.String documentID)
The method returns a List of Portfolios that depend on the Document identified by the given
documentID. |
PortfolioDocument |
getDocument(java.lang.String documentID)
Fetch the PortfolioDocument identified by the given documentID. |
boolean |
isReferenced(java.lang.String documentID)
Check if this Document is being referenced by any other asset (Portfolio/Document). |
PortfolioDocument |
markReadyToPublish(java.lang.String documentID)
Mark as ready to publish the PortfolioDocument identified by the given documentID. |
PortfolioDocument |
publishDocument(java.lang.String documentID)
Publish the PortfolioDocument identified by the given documentID. |
PortfolioDocument |
readDocument(java.lang.String documentID)
Fetch the PortfolioDocument identified by the given documentID. |
PortfolioDocument |
retrieveVersion(java.lang.String documentId,
java.util.Date publishDate)
Returns the version of document that was published on or before the specified date. |
PortfolioDocument |
revertToLastPublished(java.lang.String documentId)
Reverts the document to the last published version. |
boolean |
updateDependencies(java.lang.String oldDocumentID,
java.lang.String newDocumentID)
Update the references of the old Document, in any dependent assets, with the new Document. |
PortfolioDocument |
updateDocument(PortfolioDocument Document)
Update the given PortfolioDocument object. |
| Method Detail |
|---|
PortfolioDocument createDocument(PortfolioDocument Document)
throws ICCException
PortfolioDocument object.
Document - The PortfolioDocument object to be created
PortfolioDocument object
ICCException
PortfolioDocument createTestDocument(java.lang.String documentID)
throws ICCException
PortfolioDocument object, given the ID.
documentID - ID of the Document whose Inactive version is to be created.
PortfolioDocument object
ICCException
void deleteDocument(java.lang.String documentID)
throws ICCException
documentID.
documentID - ID of the Document to be deleted.
ICCException
PortfolioDocument markReadyToPublish(java.lang.String documentID)
throws ICCException
PortfolioDocument identified by the given documentID.
documentID - ID of the PortfolioDocument.
PortfolioDocument object marked for publishing
ICCException
PortfolioDocument activateDocument(java.lang.String documentID,
boolean updateDependencies)
throws ICCException
PortfolioDocument identified by the given documentID.
documentID - Name of the Document to be activatedupdateDependencies - Whether to set this new activated version in the dependent Assets.
PortfolioDocument object.
ICCException
PortfolioDocument publishDocument(java.lang.String documentID)
throws ICCException
PortfolioDocument identified by the given documentID.
documentID - Name of the Document to be published
PortfolioDocument object.
ICCException
PortfolioDocument updateDocument(PortfolioDocument Document)
throws ICCException
PortfolioDocument object.
Document - The PortfolioDocument object to update
PortfolioDocument object
ICCException
java.util.List getAllDocuments(Query query)
throws ICCException
PortfolioDocuments filtered by the given Query.
query - Query to select documents (supports only first level
attributes/properties of an object).PortfolioDocument objects.
ICCExceptionStatement,
Query
PortfolioDocument getDocument(java.lang.String documentID)
throws ICCException
PortfolioDocument identified by the given documentID.
This action is not audited for action type Read.
documentID - Id of the Document to be fetched.
PortfolioDocument identified by the given documentID.
ICCException
PortfolioDocument readDocument(java.lang.String documentID)
throws ICCException
PortfolioDocument identified by the given documentID.
This action is audited for action type Read.
documentID - Id of the Document to be fetched.
PortfolioDocument identified by the given documentID.
ICCException
java.lang.Boolean documentExists(java.lang.String documentName)
throws ICCException
documentName - Name of the Document.
ICCException
java.util.List getDependentPortfolios(java.lang.String documentID)
throws ICCException
Portfolios that depend on the Document identified by the given
documentID.
documentID - ID of the Document whose dependencies are to be fetched.
ICCException
boolean isReferenced(java.lang.String documentID)
throws ICCException
documentID - ID of the Document whose dependencies are to be fetched.
ICCException
boolean updateDependencies(java.lang.String oldDocumentID,
java.lang.String newDocumentID)
throws ICCException
oldDocumentID - ID of the old DocumentnewDocumentID - ID of the new Document, which should be set as the new
reference
ICCException
PortfolioDocument revertToLastPublished(java.lang.String documentId)
throws ICCException
documentId - The Document ID.
ICCException
PortfolioDocument retrieveVersion(java.lang.String documentId,
java.util.Date publishDate)
documentId - The Document ID.publishDate - specifies the date for fetching published document.
ICCException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||