RESOURCE_TYPE_NON_EXISTING
Modifier and Type | Method and Description |
---|---|
boolean |
add(Asset asset)
Deprecated.
Add an
asset to the image set and returns true if
successful. |
boolean |
add(Asset asset,
Asset swatch)
Deprecated.
Add an
asset to the image set and returns true if
successful. |
boolean |
contains(Asset asset)
Deprecated.
Returns true if
asset is part of Image Set |
java.util.Iterator<Asset> |
getMembers()
Deprecated.
Returns an iterator over assets in the Media Set
|
java.lang.String |
getType()
Deprecated.
Returns the type of the set.
|
boolean |
isValidMemberType(Asset asset)
Deprecated.
Checks if the given asset is valid member type of Media Set
|
void |
orderBefore(Asset srcAsset,
Asset destAsset)
Deprecated.
Change the order of assets in image set.
|
boolean |
remove(Asset asset)
Deprecated.
Removes an
Asset from image set & returns true if successful |
getChild, getChildren, getName, getParent, getPath, getResourceMetadata, getResourceResolver, getResourceSuperType, getResourceType, getValueMap, hasChildren, isResourceType, listChildren
java.util.Iterator<Asset> getMembers()
Asset
in collection.boolean isValidMemberType(Asset asset)
asset
- The asset whose type needs to be checked for membershipboolean contains(Asset asset)
asset
is part of Image Setasset
- asset instance to be checkedtrue
if asset
is part of the Image Set.
false
otherwiseboolean add(Asset asset)
asset
to the image set and returns true if
successful.asset
- asset instance to be addedboolean add(Asset asset, Asset swatch)
asset
to the image set and returns true if
successful.boolean remove(Asset asset)
Asset
from image set & returns true if successfulasset
- Asset
to be removedtrue
if asset
was successfully removed
from the collection. false
otherwisevoid orderBefore(Asset srcAsset, Asset destAsset)
srcAsset
- Asset
that needs to be moved in the orderdestAsset
- Asset
before which the srcAssetPath
will be placed. destAsset
is null, then srcAsset
will be placed at the end of the list.java.lang.IllegalArgumentException
- if asset is null or if
asset
or beforeAsset
does not exist in setjava.lang.String getType()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"