@Exported
public interface DimensionableAssetManager
| Modifier and Type | Method and Description | 
|---|---|
| Collection<Dimension> | getDimensionsForAsset(AssetId asset)Return the dimensions for the specified asset | 
| DimensionableAssetInstance.DimensionParentRelationship | getParent(AssetId asset,
         String group)Get the dimensionable asset parent relationship for a given asset in a particular group | 
| Collection<DimensionableAssetInstance.DimensionParentRelationship> | getParents(AssetId asset)Get the dimensionable asset parent relationships for a given asset | 
| AssetId | getRelative(AssetId asset,
           String dimensionName)Given an identifier for an asset, retrieve the asset that is
 semantically equivalent to the input asset whose dimension is the specified value. | 
| Collection<AssetId> | getRelatives(AssetId asset,
            com.fatwire.mda.DimensionFilterInstance filter)Given an identifier for an asset, retrieve all of the assets
 that are its semantic equivalents. | 
| Collection<AssetId> | getRelatives(AssetId asset,
            com.fatwire.mda.DimensionFilterInstance filter,
            String group)Given an identifier for an asset, retrieve all of the assets
 that are its semantic equivalents within the specified group. | 
| DimensionableAssetInstance | loadDimensionableAsset(AssetId id)Given a dimensionable asset id, load the asset | 
| List<DimensionableAssetInstance> | loadDimensionableAssets(Collection<AssetId> ids)Given an input list of asset IDs, load the dimensionable assets and return
 the list of dimensionable assets. | 
| void | resetParent(AssetId asset,
           DimensionableAssetInstance.DimensionParentRelationship oldParent,
           DimensionableAssetInstance.DimensionParentRelationship newParent)Reset the dimensionable asset parent relationships for an input asset with a new value. | 
Collection<AssetId> getRelatives(AssetId asset, com.fatwire.mda.DimensionFilterInstance filter)
asset - Identifier of an asset for which all
 relatives will be retrieved.filter - Optional filter to constrain list of returned ids.  A null
 value is permitted: the results will not be filtered.Collection<AssetId> getRelatives(AssetId asset, com.fatwire.mda.DimensionFilterInstance filter, String group)
asset - Identifier of an asset for which all
 relatives will be retrieved.filter - Optional filter to constrain list of returned ids.  A null
 value is permitted: the results will not be filtered.group - Optional Dimension group that logically unites disparate dimensionsAssetId getRelative(AssetId asset, String dimensionName)
asset - Identifier of an asset for which the relative will be retrieved.dimensionName - the name of the dimension of the asset to returnIllegalArgumentException - if the input dimension name does not exist.Collection<Dimension> getDimensionsForAsset(AssetId asset)
asset - the asset whose dimensions should be returnedvoid resetParent(AssetId asset, DimensionableAssetInstance.DimensionParentRelationship oldParent, DimensionableAssetInstance.DimensionParentRelationship newParent)
asset - the asset to modifyoldParent - the parent relationship to changenewParent - the parent relationship to useIllegalArgumentException - if the old and new parents aren't in the same groupCollection<DimensionableAssetInstance.DimensionParentRelationship> getParents(AssetId asset)
asset - the asset whose parents should be returnedDimensionableAssetInstance.DimensionParentRelationship getParent(AssetId asset, String group)
asset - the asset whose parent should be returnedgroup - the group the parent must belong toList<DimensionableAssetInstance> loadDimensionableAssets(Collection<AssetId> ids)
ids - dimensionable asset idsDimensionableAssetInstance loadDimensionableAsset(AssetId id)
id - the id of the dimensionable asset to load