@ProviderType
public interface Scene7Asset
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
addSubAsset(Scene7Asset subAsset)
Adds a new sub-asset to the current asset
|
java.lang.String |
getAssetHandle()
Get this asset handle
|
java.util.Map<java.lang.String,java.lang.String> |
getAssetProperties() |
java.lang.String |
getAssetSubTypeStr()
Get the asset's subtype string from Scene7 (if appliable)
|
Scene7AssetType |
getAssetType()
Get the type of this asset
|
java.lang.String |
getAssetTypeStr()
Get the asset type as read from Scene7
|
java.lang.String |
getCreatedBy()
Get the user that created this asset
|
java.util.Date |
getCreatedDate()
Get the creation date of this asset
|
java.lang.String |
getFileName()
Get the file name where the asset is stored
|
java.lang.Integer |
getFileSize()
Gets the size in bytes of the file where the asset is stored
|
java.lang.String |
getFolder()
Get the folder where this asset is stored
|
java.lang.String |
getFolderHandle()
Get the Scene7 folder handle of the folder containing this asset
|
java.lang.Long |
getHeight()
Get the height of this asset
|
java.lang.String |
getModifiedBy()
Get the user that last modified this asset
|
java.util.Date |
getModifiedDate()
Get the last modified date of this asset
|
java.lang.String |
getName()
Get the name of this asset
|
java.lang.String |
getOriginalFile()
Get the original file uploaded to Scene7 for this asset
|
java.lang.String |
getOriginalPath()
Get the original path of the file uploaded to Scene7 for this asset
|
Scene7Asset |
getOriginatorAsset()
Gets the originator asset for this asset Should only return a valid asset if the current asset was generated from another uploaded
asset (e.g.
|
java.lang.String |
getRootFolder()
Returns the root folder or an empty
String if no folder is specified for this asset. |
Scene7SmartCrop |
getSmartCrop()
Gets the
Scene7SmartCrop object (if exists) associated with
this asset |
java.util.List<Scene7Asset> |
getSubAssets()
Get the list of this asset's sub-assets
|
java.lang.String |
getUrlModifier()
Get the url modified of this asset
|
java.lang.String |
getVideoEncodingPresetId()
Gets the video encoding preset id for this asset, if this is a video scene7 asset
|
java.util.Map<java.lang.String,java.lang.String> |
getViewerPresetConfigurationSettings()
Get a map containing the viewer preset configuration for this asset
|
java.lang.String |
getViewerPresetType()
Get the viewer preset type of this asset
|
java.lang.Long |
getWidth()
Get the width of this asset
|
boolean |
isPublished()
Gets the publish status of this asset
|
void |
updateOriginatorAsset(Scene7Asset originator)
Updates the originator asset of the current asset
|
Scene7AssetType getAssetType()
Scene7AssetType
identifying this asset typejava.lang.String getAssetTypeStr()
String
object containing the actual Scene7 type stringjava.lang.String getAssetSubTypeStr()
String
object containing the Scene7 subtype stringjava.lang.String getName()
String
object containing the asset's namejava.lang.String getAssetHandle()
String
object with this asset's handlejava.lang.String getFileName()
String
containing the file name of the assetjava.lang.String getFolder()
String
containing the folder path of the assetjava.lang.String getFolderHandle()
String
object containing a Scene7 folder handlejava.lang.String getCreatedBy()
String
object containing the username of the user that created this assetjava.lang.String getModifiedBy()
String
object containing the username of the user that last modified this assetjava.util.Date getCreatedDate()
Date
object with the creation time of the assetjava.util.Date getModifiedDate()
Date
object with the time the asset was last modifiedjava.lang.String getOriginalFile()
String
object containing the original file of this assetjava.lang.String getOriginalPath()
String
object containing the original path for this assetjava.util.List<Scene7Asset> getSubAssets()
List
with the Scene7Asset
assets linked to this assetvoid addSubAsset(Scene7Asset subAsset)
subAsset
- a Scene7Asset
object to be added as a sub-asset of the current assetScene7Asset getOriginatorAsset()
Scene7Asset
object holding this asset's originator assetvoid updateOriginatorAsset(Scene7Asset originator)
originator
- the new Scene7Asset
originator of the current assetjava.lang.Long getWidth()
Long
object containing the width of this assetjava.lang.Long getHeight()
Long
object containing the height of this assetjava.lang.String getUrlModifier()
String
object containing the url modifier of this assetjava.lang.String getViewerPresetType()
String
object containing the viewer preset typejava.util.Map<java.lang.String,java.lang.String> getViewerPresetConfigurationSettings()
Map
that store the name-value pairs found in the viewer preset configuration of the assetjava.lang.String getRootFolder()
String
if no folder is specified for this asset.boolean isPublished()
Boolean
indicating if this asset is published or notjava.lang.Integer getFileSize()
Integer
containing the file sizejava.lang.String getVideoEncodingPresetId()
String
containing the video encoding preset for a video scene7 assetjava.util.Map<java.lang.String,java.lang.String> getAssetProperties()
Scene7SmartCrop getSmartCrop()
Scene7SmartCrop
object (if exists) associated with
this assetScene7SmartCrop
objectCopyright © 2010 - 2020 Adobe. All Rights Reserved