|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortfolioService
Service interface for Portfolio
specific operations.
Method Summary | |
---|---|
Portfolio |
activatePortfolio(String portfolioID)
Deprecated. |
Portfolio |
createPortfolio(Portfolio portfolio)
Create a new Portfolio object. |
Portfolio |
createTestPortfolio(String portfolioID)
Deprecated. |
void |
deletePortfolio(String portfolioID)
Deprecated. |
List |
getAllPortfolios(Query query)
List all Portfolio s filtered by the given Query . |
Portfolio |
getPortfolio(String portfolioID)
Fetch the Portfolio identified by the given portfolioID . |
Portfolio |
markReadyToPublish(String portfolioID)
Mark as ready to publish the Portfolio identified by the given portfolioID . |
Boolean |
portfolioExists(String portfolioName)
Check if a Portfolio exists by the given name. |
Portfolio |
publishPortfolio(String portfolioID)
Publish the Portfolio identified by the given portfolioID . |
Portfolio |
retrieveVersion(String portfolioId,
Date publishDate)
Returns the version of portfolio that was published on or before the specified date. |
Portfolio |
revertToLastPublished(String portfolioId)
Reverts the portfolio to the last published version. |
Portfolio |
updatePortfolio(Portfolio portfolio)
Update the given Portfolio . |
Method Detail |
---|
Portfolio createPortfolio(Portfolio portfolio) throws ICCException
Portfolio
object.
portfolio
- The Portfolio
to be created.
Portfolio
object
ICCException
Portfolio createTestPortfolio(String portfolioID) throws ICCException
Portfolio
object.
portfolioID
- ID of the Portfolio
whose Inactive version is to be created.
Portfolio
object.
ICCException
void deletePortfolio(String portfolioID) throws ICCException
Portfolio
identified by the given portfolioID
.
portfolioID
- ID of the Portfolio
.
ICCException
Portfolio markReadyToPublish(String portfolioID) throws ICCException
Portfolio
identified by the given portfolioID
.
portfolioID
- ID of the Portfolio
.
Portfolio
object marked for publishing
ICCException
Portfolio activatePortfolio(String portfolioID) throws ICCException
Portfolio
identified by the given portfolioID
.
portfolioID
- ID of the Portfolio
.updateDependencies
- Whether to set this new activated version in the dependencies.
Portfolio
object
ICCException
Portfolio publishPortfolio(String portfolioID) throws ICCException
Portfolio
identified by the given portfolioID
.
portfolioID
- ID of the Portfolio
.
Portfolio
object
ICCException
Portfolio updatePortfolio(Portfolio portfolio) throws ICCException
Portfolio
.
portfolio
- Portfolio
object to be updated.
Portfolio
object.
ICCException
List getAllPortfolios(Query query) throws ICCException
Portfolio
s filtered by the given Query
.
query
- Query to select Portfolios (supports only first level
attributes/properties of an object).Portfolio
objects
ICCException
Statement} and {@link Query}.
Portfolio getPortfolio(String portfolioID) throws ICCException
Portfolio
identified by the given portfolioID
.
portfolioID
- ID of the Portfolio
to be fetched.
Portfolio
identified by the given portfolioID
.
ICCException
Boolean portfolioExists(String portfolioName) throws ICCException
Portfolio
exists by the given name.
portfolioName
- Name of the Portfolio
.
ICCException
Portfolio revertToLastPublished(String portfolioId) throws ICCException
portfolioId
- The Portfolio ID.
ICCException
Portfolio retrieveVersion(String portfolioId, Date publishDate)
portfolioId
- The Portfolio ID.publishDate
- specifies the date for fetching published portfolio.
ICCException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |