|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DimensionableAssetManager
This interface provides a mechanism for manipulating Dimensional assets.
| Method Summary | |
|---|---|
AssetId |
getRelative(AssetId asset, java.lang.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. |
java.util.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. |
java.util.Collection<AssetId> |
getRelatives(AssetId asset, com.fatwire.mda.DimensionFilterInstance filter, java.lang.String group)Given an identifier for an asset, retrieve all of the assets that are its semantic equivalents within the specified group. |
| Method Detail |
|---|
java.util.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.
java.util.Collection<AssetId> getRelatives(AssetId asset,
com.fatwire.mda.DimensionFilterInstance filter,
java.lang.String group)
This is a convenience method for further filtering relatives. Its behaviour is equivalent to calling DimensionableAssetManager.getRelatives(AssetId,DimensionFilterInstance) then removing assets whose dimensions are not members of the specified 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 dimensions
AssetId getRelative(AssetId asset,
java.lang.String dimensionName)
asset - Identifier of an asset for which the relative will be retrieved.dimensionName - the name of the dimension of the asset to returnjava.lang.IllegalArgumentException - if the input dimension name does not exist.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.