@Exported public class ExtensiblePageWriteStrategy extends BasicAssetDataWriteStrategy implements AssetDataWriteStrategy
AssetDataWriteStrategy.AssetActionType| Modifier and Type | Method and Description |
|---|---|
protected com.openmarket.xcelerate.interfaces.IAsset |
getInstance(AssetData data,
AssetDataWriteStrategy.AssetActionType type,
List<String> ignoreAttributes,
boolean insert)
Gets an IAsset instance with the given asset data
|
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,
boolean keepCheckedOut)
Inserts a given Iterator of AssetData instances in the database.
|
delete, getInstances, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, writepublic void write(List<AssetData> data, AssetDataWriteStrategy.AssetActionType type, boolean keepCheckedOut) throws AssetAccessException
AssetDataWriteStrategywrite in interface AssetDataWriteStrategywrite in class BasicAssetDataWriteStrategydata - 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.protected com.openmarket.xcelerate.interfaces.IAsset getInstance(AssetData data, AssetDataWriteStrategy.AssetActionType type, List<String> ignoreAttributes, boolean insert) throws AssetAccessException
BasicAssetDataWriteStrategygetInstance in class BasicAssetDataWriteStrategydata - the asset data used to construct the IAssettype - the action type AssetActionType.NEW or AssetActionType.UPDATEignoreAttributes - the list of attributes that will be ignored from the asset datainsert - whether it is an insertAssetAccessException - throws this exception if error metpublic void populateInstance(com.openmarket.xcelerate.interfaces.IAsset asset,
AssetData data)
throws AssetAccessException
populateInstance in interface AssetDataWriteStrategypopulateInstance in class BasicAssetDataWriteStrategyAssetAccessExceptionpublic void populateInstance(com.openmarket.xcelerate.interfaces.IAsset asset,
AssetData data,
boolean filterNoSetAttributes,
boolean verifyReferences)
throws AssetAccessException
populateInstance in interface AssetDataWriteStrategypopulateInstance in class BasicAssetDataWriteStrategyAssetAccessException