public class CatalogAssetRelationList extends ListPackManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
AssetRelation |
add(AssetRelation assetRelation)
Adds the given asset relation.
|
AssetRelation |
createAssetRelation()
Returns a new asset relation with a new ID.
|
void |
delete(AssetRelation assetRelation)
Deletes the given asset relation.
|
AssetRelation |
getAssetRelation(GUID assetRelationID)
Returns the asset relation with the given ID.
|
java.util.Set<GUID> |
getAssetRelationIDs()
Return a mapping of all asset relations, with their internal ID.
|
java.util.List<AssetRelation> |
getAssetRelations()
Returns all asset relations contained in this list.
|
void |
moveDown(AssetRelation assetRelation)
Moves the given entry one position down.
|
void |
moveDownToEnd(AssetRelation assetRelation)
Moves the given entry to the end of the list.
|
void |
moveUp(AssetRelation assetRelation)
Moves the given entry one position up.
|
void |
moveUpToTop(AssetRelation assetRelation)
Moves the given entry to the top.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public AssetRelation getAssetRelation(GUID assetRelationID)
assetRelationID
- the asset relation to getpublic AssetRelation add(AssetRelation assetRelation)
assetRelation
- the asset relation to addpublic AssetRelation createAssetRelation()
public void delete(AssetRelation assetRelation) throws CumulusException
assetRelation
- the asset relation to deleteCumulusException
- in case of an errorpublic void moveUp(AssetRelation assetRelation) throws JPack.NoSuchElementException
assetRelation
- the entry to move upJPack.NoSuchElementException
- in case of an invalid entrypublic void moveUpToTop(AssetRelation assetRelation) throws JPack.NoSuchElementException
assetRelation
- the entry to move to the topJPack.NoSuchElementException
- in case of an invalid entrypublic void moveDown(AssetRelation assetRelation) throws JPack.NoSuchElementException
assetRelation
- the entry to move downJPack.NoSuchElementException
- in case of an invalid entrypublic void moveDownToEnd(AssetRelation assetRelation) throws JPack.NoSuchElementException
assetRelation
- the entry to move to the endJPack.NoSuchElementException
- in case of an invalid entrypublic java.util.List<AssetRelation> getAssetRelations()
public java.util.Set<GUID> getAssetRelationIDs()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.