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