Skip navigation links


com.fatwire.assetapi.data
Interface MutableAssetData

All Superinterfaces:
AssetData
All Known Implementing Classes:
AssetDataImpl

public interface MutableAssetData
extends AssetData

Interface that is a mutable extension of AssetData


Method Summary
 void addAssociation(java.lang.String associationName, java.util.List<AssetId> assets)
          Adds an associations by a given name
 void addAttributeData(AttributeData data)
          Adds an attribute data.
 void removeAttributeData(java.lang.String attributeName)
          Removes an attribute data from collection
 void setAssociation(java.lang.String associationName, java.util.List<AssetId> assets)
          Sets an associations by a given name.
 void setAttributeData(java.util.List<AttributeData> data)
          Sets data for this instance of AssetData
 void setParents(java.util.List<AssetId> ids)
          Sets parent assets for this instance of AssetData

 

Methods inherited from interface com.fatwire.assetapi.data.AssetData
getAssetId, getAssetTypeDef, getAssociatedAssets, getAttributeData, getAttributeData, getAttributeData, getAttributeNames, getImmediateParents, getImmediateParents, getParents, setAssetId

 

Method Detail

setAttributeData

void setAttributeData(java.util.List<AttributeData> data)
Sets data for this instance of AssetData
Parameters:
data - data to set

addAttributeData

void addAttributeData(AttributeData data)
Adds an attribute data.
Parameters:
data - data to add

removeAttributeData

void removeAttributeData(java.lang.String attributeName)
Removes an attribute data from collection
Parameters:
attributeName - attribute to remove

setParents

void setParents(java.util.List<AssetId> ids)
                throws AssetAccessException
Sets parent assets for this instance of AssetData
Parameters:
ids - ids of parents
Throws:
AssetAccessException - throw this Exception if error met

addAssociation

void addAssociation(java.lang.String associationName,
                    java.util.List<AssetId> assets)
Adds an associations by a given name
Parameters:
associationName - name of the association to add
assets - to be added as associations.

setAssociation

void setAssociation(java.lang.String associationName,
                    java.util.List<AssetId> assets)
Sets an associations by a given name. If association already exists, it is replaced.
Parameters:
associationName - name of the association to add
assets - to be added as associations.

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.