|
|||||||||
| 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(String documentID,
boolean updateDependencies)
Deprecated. |
PortfolioDocument |
createDocument(PortfolioDocument Document)
Create a new PortfolioDocument object. |
PortfolioDocument |
createTestDocument(String documentID)
Deprecated. |
void |
deleteDocument(String documentID)
Deprecated. |
Boolean |
documentExists(String documentName)
Check if a Document exists by the given name. |
List |
getAllDocuments(Query query)
List all PortfolioDocuments filtered by the given Query. |
List |
getDependentPortfolios(String documentID)
The method returns a List of Portfolios that depend on the Document identified by the given
documentID. |
PortfolioDocument |
getDocument(String documentID)
Fetch the PortfolioDocument identified by the given documentID. |
boolean |
isReferenced(String documentID)
Check if this Document is being referenced by any other asset (Portfolio/Document). |
PortfolioDocument |
markReadyToPublish(String documentID)
Mark as ready to publish the PortfolioDocument identified by the given documentID. |
PortfolioDocument |
publishDocument(String documentID)
Publish the PortfolioDocument identified by the given documentID. |
PortfolioDocument |
retrieveVersion(String documentId,
Date publishDate)
Returns the version of document that was published on or before the specified date. |
PortfolioDocument |
revertToLastPublished(String documentId)
Reverts the document to the last published version. |
boolean |
updateDependencies(String oldDocumentID,
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(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(String documentID)
throws ICCException
documentID.
documentID - ID of the Document to be deleted.
ICCException
PortfolioDocument markReadyToPublish(String documentID)
throws ICCException
PortfolioDocument identified by the given documentID.
documentID - ID of the PortfolioDocument.
PortfolioDocument object marked for publishing
ICCException
PortfolioDocument activateDocument(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(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
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} and {@link Query}.
PortfolioDocument getDocument(String documentID)
throws ICCException
PortfolioDocument identified by the given documentID.
documentID - Id of the Document to be fetched.
PortfolioDocument identified by the given documentID.
ICCException
Boolean documentExists(String documentName)
throws ICCException
documentName - Name of the Document.
ICCException
List getDependentPortfolios(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(String documentID)
throws ICCException
documentID - ID of the Document whose dependencies are to be fetched.
ICCException
boolean updateDependencies(String oldDocumentID,
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(String documentId)
throws ICCException
documentId - The Document ID.
ICCException
PortfolioDocument retrieveVersion(String documentId,
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 | ||||||||