@Exported
public interface AssetDataWriteStrategy
| Modifier and Type | Interface and Description |
|---|---|
static class |
AssetDataWriteStrategy.AssetActionType |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(List<AssetId> data)
Deletes a given list of assets from Content Server
|
void |
populateInstance(com.openmarket.xcelerate.interfaces.IAsset asset,
AssetData data) |
void |
populateInstance(com.openmarket.xcelerate.interfaces.IAsset asset,
AssetData data,
boolean filterNoSetAttributes,
boolean verifyReferences) |
void |
write(List<AssetData> data,
AssetDataWriteStrategy.AssetActionType type)
Inserts a given Iterator of AssetData instances in the database.
|
void |
write(List<AssetData> data,
AssetDataWriteStrategy.AssetActionType type,
boolean keepCheckedOut)
Inserts a given Iterator of AssetData instances in the database.
|
void write(List<AssetData> data, AssetDataWriteStrategy.AssetActionType type) throws AssetAccessException
data - AssetData to be inserted.type - the type of operation for the list of assetsAssetAccessException - captures layer specific failures and wraps other internal exceptions.void write(List<AssetData> data, AssetDataWriteStrategy.AssetActionType type, boolean keepCheckedOut) throws AssetAccessException
data - AssetData to be inserted.type - the type of operation for the list of assetskeepCheckedOut - do not checkin asset after save if revision tracked.AssetAccessException - captures layer specific failures and wraps other internal exceptions.void delete(List<AssetId> data) throws AssetAccessException
data - the list of AssetIds to deleteAssetAccessException - AssetAccessException captures layer specific failures and wraps other internal exceptions.void populateInstance(com.openmarket.xcelerate.interfaces.IAsset asset,
AssetData data)
throws AssetAccessException
AssetAccessExceptionvoid populateInstance(com.openmarket.xcelerate.interfaces.IAsset asset,
AssetData data,
boolean filterNoSetAttributes,
boolean verifyReferences)
throws AssetAccessException
AssetAccessException