Package com.oracle.content.sdk.model
Class AssetType
java.lang.Object
com.oracle.content.sdk.model.AssetObject
com.oracle.content.sdk.model.AssetType
- All Implemented Interfaces:
Serializable
A ContentType can be represented in different ways, and this will centralize the handling
of the possible values for a content type and how it can be used to determine whether an asset
is an digital asset, content item, or custom digital asset.
- See Also:
-
Field Details
-
TYPE_DIGITAL_ASSET
- See Also:
-
TYPE_ASSET_FILE
- See Also:
-
TYPE_ASSET_IMAGE
- See Also:
-
TYPE_ASSET_VIDEO
- See Also:
-
TYPE_ASSET_VIDEO_PLUS
- See Also:
-
TYPE_CATEGORY_DIGITAL_ASSET
- See Also:
-
TYPE_CATEGORY_CONTENT_ITEM
- See Also:
-
-
Constructor Details
-
AssetType
-
AssetType
public AssetType(com.google.gson.JsonObject jsonObject)
-
-
Method Details
-
isDigitalAsset
public boolean isDigitalAsset()Is this type a Digital Asset.- Returns:
- true if Digital asset or false if Content item
-