public interface EnablementAssetModel extends SocialComponent
| Modifier and Type | Field and Description |
|---|---|
static String |
ASSET_CATEGORY |
static String |
ASSET_COVER_IMG_PATH_PROP |
static String |
ASSET_NAME |
static String |
ASSET_PATH |
static String |
ASSET_PATH_PROP |
static String |
ASSET_SUB_CATEGORY |
static String |
CATEGORY_CONNECT |
static String |
CATEGORY_DAM |
static String |
CATEGORY_EXTERNAL |
static String |
CATEGORY_URL |
static String |
COVER_IMG_PATH |
static String |
DAM_PATH |
static String |
LOCATION |
static String |
RESOURCE_ASSET_THUMBNAIL_SOURCE_PROPNAME |
static String |
RESOURCE_TYPE |
static String |
SCORMENDPOINT |
static String |
STATE |
static String |
STATE_ADDED |
static String |
STATE_DELETED |
static String |
STATE_EDITED |
static String |
STATE_INITIAL |
static String |
SUB_CATEGORY_CONNECT |
static String |
URL |
CSV_SELECTOR, DEFAULT_SELECTOR, INDEX_SELECTOR, PROP_REFERER, QUERY_SELECTOR, TRANSLATE_SELECTOR| Modifier and Type | Method and Description |
|---|---|
void |
deleteAsset()
(non-Javadoc)
|
String |
getAssetMimeType()
Get the asset mime type (e.g.
|
String |
getAssetName() |
String |
getAssetResourcePath() |
String |
getAssetType()
Get the asset type, less specific than mime type (e.g.
|
String |
getCoverImagePath() |
String |
getDamPath() |
Long |
getDuration() |
String |
getExternalUrl() |
String |
getFriendlyDuration()
For video assets, returns the duration of the video in milliseconds.
|
String |
getLocation() |
Long |
getNumPages()
Get the number of pages for pdf
|
String |
getPath()
Returns path of an asset under its belonged resource
|
Long |
getSize()
Get the asset size
|
String |
getTempCoverImagePath() |
void |
setCoverImage(String imagePath) |
getAsMap, getFriendlyUrl, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringstatic final String RESOURCE_TYPE
static final String ASSET_PATH
static final String DAM_PATH
static final String ASSET_CATEGORY
static final String CATEGORY_DAM
static final String CATEGORY_URL
static final String CATEGORY_CONNECT
static final String CATEGORY_EXTERNAL
static final String ASSET_NAME
static final String COVER_IMG_PATH
static final String URL
static final String LOCATION
static final String ASSET_SUB_CATEGORY
static final String SUB_CATEGORY_CONNECT
static final String STATE
static final String STATE_INITIAL
static final String STATE_DELETED
static final String STATE_ADDED
static final String STATE_EDITED
static final String ASSET_PATH_PROP
static final String ASSET_COVER_IMG_PATH_PROP
static final String RESOURCE_ASSET_THUMBNAIL_SOURCE_PROPNAME
static final String SCORMENDPOINT
String getDamPath()
String getPath()
String getFriendlyDuration()
Long getSize()
Long getNumPages()
String getAssetMimeType()
String getAssetType()
String getAssetName()
void setCoverImage(String imagePath) throws PersistenceException, EnablementException
PersistenceExceptionEnablementExceptionString getCoverImagePath()
String getTempCoverImagePath()
String getAssetResourcePath()
void deleteAsset()
throws PersistenceException
PersistenceExceptionResourceAsset#deleteAsset()Long getDuration()
String getExternalUrl()
String getLocation()
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"