|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.dam.DamIdParser
public class DamIdParser
Parse the Asset or AssetFolder Identifier in order to retrieve the correct:
AssetProvider
identifier
Asset
identifier
The Identifier is the concatenation of the 'providerId and 'assetId' (for an
internal asset: jcr:assetNodeIdentifier).
Field Summary | |
---|---|
static String |
ASSET_ID_DELIMITER
|
Constructor Summary | |
---|---|
DamIdParser()
|
Method Summary | |
---|---|
static String |
createCompositeId(String assetProviderIdentifier,
String assetIdentifier)
Create a composite Id String. |
static String |
getAssetIdentifier(String compositeId)
Retrieve the Asset Id from the provided composite Id. |
static String |
getAssetProviderIdentifier(String compositeId)
Retrieve the Provider Id from the provided composite Id. |
static boolean |
isCompositeId(String compositeId)
Check if the specified 'compositeId' contains a AssetIdentifier and an AssetProvider identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String ASSET_ID_DELIMITER
Constructor Detail |
---|
public DamIdParser()
Method Detail |
---|
public static String createCompositeId(String assetProviderIdentifier, String assetIdentifier)
public static String getAssetProviderIdentifier(String compositeId)
public static String getAssetIdentifier(String compositeId)
public static boolean isCompositeId(String compositeId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |