com.fatwire.assetapi.data
Interface AssetDataWriteStrategy

All Known Implementing Classes:
BasicAssetDataWriteStrategy

public interface AssetDataWriteStrategy

The primary inteface for saving assets back to Content Server


Nested Class Summary
static class AssetDataWriteStrategy.AssetActionType
           
 
Method Summary
 void delete(java.util.List<AssetId> data)
          Delete a given list of assts from Content Server
 void write(java.util.List<AssetData> data, AssetDataWriteStrategy.AssetActionType type)
          Inserts a given Iterator of AssetData instances in the database.
 

Method Detail

write

void write(java.util.List<AssetData> data,
           AssetDataWriteStrategy.AssetActionType type)
           throws AssetAccessException
Inserts a given Iterator of AssetData instances in the database.

Parameters:
data - AssetData to be inserted.
type - the type of operation for the list of assets
Throws:
AssetAccessException - captures layer specific failures and wraps other internal exceptions.

delete

void delete(java.util.List<AssetId> data)
            throws AssetAccessException
Delete a given list of assts from Content Server

Parameters:
data - the list of AssetIds to delete
Throws:
AssetAccessException - AssetAccessException captures layer specific failures and wraps other internal exceptions.


Copyright (c) 2003 - 2010 FatWire Corporation All Rights Reserved.