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