public class AssetDetails extends java.lang.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
|
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 Node getAssetNode()
public Asset getAsset()
public java.lang.String getName() throws RepositoryException
getName
in interface ResourceDetails
RepositoryException
public long getLastModified() throws RepositoryException
getLastModified
in interface ResourceDetails
RepositoryException
public java.lang.String getMimeType()
RepositoryException
public int getReferencesSize(AssetReferenceResolver customResolver) throws RepositoryException
getReferencesSize
in interface ResourceDetails
customResolver
- RepositoryException
public int getCommentsSize() throws RepositoryException
getCommentsSize
in interface ResourceDetails
RepositoryException
public java.lang.String getThumbnailUrl()
public long getWidth() throws RepositoryException
RepositoryException
public long getHeight() throws RepositoryException
RepositoryException
public java.lang.String getSize()
RepositoryException
public java.lang.String getResolution() throws RepositoryException
RepositoryException
public java.lang.String getDescription() throws RepositoryException
RepositoryException
public java.lang.String getParamJSON() throws RepositoryException
RepositoryException
Copyright © 2010 - 2020 Adobe. All Rights Reserved