Modifier and Type | Method and Description |
---|---|
void |
approve(long destinationId, List<AssetId> assetsToApprove, boolean recursive)
Attempts to approve a list of assets for a specified destination.
|
List<AssetId> |
getBlockingAssets(long destinationId, AssetId assetId)
Returns a flat list of blocking assets.
|
DestinationBean |
getDestination(long destinationId)
Returns complete information associated with a publishing destination for the specified site.
|
List<DestinationBean> |
getDestinations(long siteId)
Returns a list containing the publishing destinations for the specified site.
|
List<DestinationBean> |
getDestinations(long siteId, DestinationBean.Type destinationType)
Returns a list containing the publishing destinations for the specified site.
|
Date |
getLastPublishDate(long destinationId, AssetId assetId)
Retrieves the date when an asset has been last published to a specified destination.
|
ApprovalBean |
getState(long destinationId, AssetId assetId)
Returns the approval state of an asset for a given target.
|
void |
unapprove(long destinationId, AssetId assetId)
Revokes approval of an already approved asset in the life-cycle.
|
void |
unapprove(long destinationId, List<AssetId> assetId)
Revokes approval of an already approved asset in the life-cycle.
|
getManager, getResponse, setManager
List<DestinationBean> getDestinations(long siteId) throws ServiceException
siteId
- the site for which the destinations are to be retrieved. the site for which the destinations are to be retrieved.ServiceException
- wraps any exception underlying the service call. wraps any exception underlying the service call.List<DestinationBean> getDestinations(long siteId, DestinationBean.Type destinationType) throws ServiceException
siteId
- the site for which the destinations are to be retrieved.destinationType
- the type of destination to filter (see DestinationBean.Type
)ServiceException
- wraps any exception underlying the service call.DestinationBean getDestination(long destinationId) throws ServiceException
destinationId
- the destination whose details are to be retrieved.ServiceException
- wraps any exception underlying the service call.void approve(long destinationId, List<AssetId> assetsToApprove, boolean recursive) throws ServiceException
destinationId
- the target destinationassetsToApprove
- the list containing identifiers for the assets to approve.recursive
- set to true if all dependencies are to be recursively approved.ServiceException
- wraps any exception underlying the service call.List<AssetId> getBlockingAssets(long destinationId, AssetId assetId) throws ServiceException
destinationId
- the target destinationassetId
- the asset identifier whose approval state is to be retrieved.ServiceException
- wraps any exception underlying the service call.ApprovalBean getState(long destinationId, AssetId assetId) throws ServiceException
destinationId
- the target destination the target destination.assetId
- the asset identifier whose approval state is to be retrieved.ServiceException
- wraps any exception underlying the service call.void unapprove(long destinationId, List<AssetId> assetId) throws ServiceException
destinationId
- the target destination.assetId
- the asset identifier for the asset whose approval is to be revoked.ServiceException
- wraps any exception underlying the service call.void unapprove(long destinationId, AssetId assetId) throws ServiceException
destinationId
- the target destination.assetId
- the asset identifier for the asset whose approval is to be revoked.ServiceException
- wraps any exception underlying the service call.Date getLastPublishDate(long destinationId, AssetId assetId) throws ServiceException
destinationId
- the target destination.assetId
- the asset identifier for the asset whose publish date is to be retrieved.ServiceException
- wraps any exception underlying the service call.