info.magnolia.dam.api
Class ItemKey
java.lang.Object
info.magnolia.dam.api.ItemKey
public class ItemKey
- extends Object
A "composite key": in the dam, every Asset
and Folder
are identified by its provider's ID
and its provider-specific ID (i.e the ID with which the provider can uniquely identify the asset itself).
ItemKey
public ItemKey(String providerId,
String assetId)
from
public static ItemKey from(String compositeKey)
isValid
public static boolean isValid(String compositeKey)
getProviderId
public String getProviderId()
getAssetId
public String getAssetId()
asString
public String asString()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.