Package com.day.cq.dam.api
Enum DamEvent.Type
- java.lang.Object
-
- java.lang.Enum<DamEvent.Type>
-
- com.day.cq.dam.api.DamEvent.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DamEvent.Type>
- Enclosing class:
- DamEvent
public static enum DamEvent.Type extends java.lang.Enum<DamEvent.Type>
A list of events that are supported by assets.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTED
This event type represents the DRM license of an asset having been accepted.ADDED_COMMENT
This event type represents an asset being commented uponASSET_CREATED
This event type represents an asset having been created.ASSET_EXPIRED
This event type represents an asset after expiration.ASSET_EXPIRING
This event type represents an asset getting expired in future.ASSET_MOVED
This event type represents an asset having been movedASSET_PUBLISHED
This event type represents an asset being published.ASSET_REMOVED
This event type represents an asset having been removedASSET_SHARED
This event type represents an asset being shared on the different solutions such as marketing cloud or creative cloud.ASSET_USAGE
This event type represents an asset has been used in some third party solution or inCollection
.ASSET_VIEWED
This event type represents an asset being viewed by visiting the assetdetails page.COLLECTION_VIEWED
This event type represents a collection being viewedDAM_METADATA_WRITEBACK_WORKFLOW_COMPLETED
This event type represents completion of DAM metadata writeback workflow.DAM_UPDATE_ASSET_WORKFLOW_COMPLETED
This event type represents completion of asset processing.DOWNLOADED
This event type represents the asset having been downloaded (uncached).METADATA_UPDATED
This event type represents the asset's metadata having been updated.ORIGINAL_UPDATED
This event type represents the asset's original having been updated/replaced.PROJECT_VIEWED
This event type represents a project's details being viewedPUBLISHED_EXTERNAL
This event type represents the asset having been uploaded to an external system.REJECTED
This event type represents the DRM license of an asset having been rejected.RENDITION_DOWNLOADED
This event type represents the asset's rendition been downloaded (uncached).RENDITION_REMOVED
This event type represents a rendition having been removed from the given asset.RENDITION_UPDATED
This event type represents a rendition having been added or updated for the given asset.RESTORED
This event type represents an asset just having been restored from a previous version.SUBASSET_REMOVED
This event type represents a sub-asset having been removed for the given asset.SUBASSET_UPDATED
This event type represents a sub-asset having been added or updated for the given asset.VERSIONED
This event type represents an asset just having been versioned.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DamEvent.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DamEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPTED
public static final DamEvent.Type ACCEPTED
This event type represents the DRM license of an asset having been accepted.
-
REJECTED
public static final DamEvent.Type REJECTED
This event type represents the DRM license of an asset having been rejected.
-
DOWNLOADED
public static final DamEvent.Type DOWNLOADED
This event type represents the asset having been downloaded (uncached).
-
VERSIONED
public static final DamEvent.Type VERSIONED
This event type represents an asset just having been versioned.
-
RESTORED
public static final DamEvent.Type RESTORED
This event type represents an asset just having been restored from a previous version.
-
METADATA_UPDATED
public static final DamEvent.Type METADATA_UPDATED
This event type represents the asset's metadata having been updated.
-
PUBLISHED_EXTERNAL
public static final DamEvent.Type PUBLISHED_EXTERNAL
This event type represents the asset having been uploaded to an external system. In this case the "additionalInfo" property can be checked for more info.
-
ORIGINAL_UPDATED
public static final DamEvent.Type ORIGINAL_UPDATED
This event type represents the asset's original having been updated/replaced.
-
RENDITION_UPDATED
public static final DamEvent.Type RENDITION_UPDATED
This event type represents a rendition having been added or updated for the given asset.
-
RENDITION_REMOVED
public static final DamEvent.Type RENDITION_REMOVED
This event type represents a rendition having been removed from the given asset.
-
RENDITION_DOWNLOADED
public static final DamEvent.Type RENDITION_DOWNLOADED
This event type represents the asset's rendition been downloaded (uncached).
-
SUBASSET_UPDATED
public static final DamEvent.Type SUBASSET_UPDATED
This event type represents a sub-asset having been added or updated for the given asset.
-
SUBASSET_REMOVED
public static final DamEvent.Type SUBASSET_REMOVED
This event type represents a sub-asset having been removed for the given asset.
-
ASSET_CREATED
public static final DamEvent.Type ASSET_CREATED
This event type represents an asset having been created.
-
ASSET_MOVED
public static final DamEvent.Type ASSET_MOVED
This event type represents an asset having been moved
-
ASSET_REMOVED
public static final DamEvent.Type ASSET_REMOVED
This event type represents an asset having been removed
-
ASSET_EXPIRED
public static final DamEvent.Type ASSET_EXPIRED
This event type represents an asset after expiration. By default asset expiration is based on jcr:content/offTime
-
ASSET_EXPIRING
public static final DamEvent.Type ASSET_EXPIRING
This event type represents an asset getting expired in future. By default asset expiration is based on jcr:content/offTime
-
ASSET_VIEWED
public static final DamEvent.Type ASSET_VIEWED
This event type represents an asset being viewed by visiting the assetdetails page.
-
ASSET_SHARED
public static final DamEvent.Type ASSET_SHARED
This event type represents an asset being shared on the different solutions such as marketing cloud or creative cloud.
-
ASSET_PUBLISHED
public static final DamEvent.Type ASSET_PUBLISHED
This event type represents an asset being published.
-
ADDED_COMMENT
public static final DamEvent.Type ADDED_COMMENT
This event type represents an asset being commented upon
-
PROJECT_VIEWED
public static final DamEvent.Type PROJECT_VIEWED
This event type represents a project's details being viewed
-
COLLECTION_VIEWED
public static final DamEvent.Type COLLECTION_VIEWED
This event type represents a collection being viewed
-
ASSET_USAGE
public static final DamEvent.Type ASSET_USAGE
This event type represents an asset has been used in some third party solution or inCollection
.
-
DAM_UPDATE_ASSET_WORKFLOW_COMPLETED
public static final DamEvent.Type DAM_UPDATE_ASSET_WORKFLOW_COMPLETED
This event type represents completion of asset processing. Initially, this was always provided by the DAM update asset workflow. In cloud environments, this may also be performed by the asset processor service.
-
DAM_METADATA_WRITEBACK_WORKFLOW_COMPLETED
public static final DamEvent.Type DAM_METADATA_WRITEBACK_WORKFLOW_COMPLETED
This event type represents completion of DAM metadata writeback workflow.
-
-
Method Detail
-
values
public static DamEvent.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DamEvent.Type c : DamEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DamEvent.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-