public class AssetDetails extends Object implements ResourceDetails
| Constructor and Description |
|---|
AssetDetails(Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
Asset |
getAsset() |
Node |
getAssetNode() |
int |
getCommentsSize()
Get number of comments
|
String |
getDescription()
Get description of the asset
|
long |
getHeight()
Get height of the asset
|
long |
getLastModified()
Get last modified
|
String |
getMimeType()
Get mime type of asset
|
String |
getName()
Get name
|
String |
getParamJSON() |
int |
getReferencesSize(AssetReferenceResolver customResolver)
Count all asset references
|
String |
getResolution()
Get resolution of asset
|
String |
getSize()
Get size of asset
|
String |
getThumbnailUrl()
Get URL for thumbnail
|
long |
getWidth()
Get width of the asset
|
public AssetDetails(Resource resource)
public Node getAssetNode()
public Asset getAsset()
public String getName() throws RepositoryException
getName in interface ResourceDetailsRepositoryExceptionpublic long getLastModified()
throws RepositoryException
getLastModified in interface ResourceDetailsRepositoryExceptionpublic String getMimeType()
RepositoryExceptionpublic int getReferencesSize(AssetReferenceResolver customResolver) throws RepositoryException
getReferencesSize in interface ResourceDetailscustomResolver - RepositoryExceptionpublic int getCommentsSize()
throws RepositoryException
getCommentsSize in interface ResourceDetailsRepositoryExceptionpublic String getThumbnailUrl()
public long getWidth()
throws RepositoryException
RepositoryExceptionpublic long getHeight()
throws RepositoryException
RepositoryExceptionpublic String getSize()
RepositoryExceptionpublic String getResolution() throws RepositoryException
RepositoryExceptionpublic String getDescription() throws RepositoryException
RepositoryExceptionpublic String getParamJSON() throws RepositoryException
RepositoryExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved