Package com.mayam.wf.config.shared
Enum Class ServerActivity
- All Implemented Interfaces:
Activity
,Serializable
,Comparable<ServerActivity>
,Constable
Activities that are executed server side.
- Author:
- Markus Mårtensson, Jonas Engström
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.mayam.wf.config.shared.Activity
Activity.InputAttributes, Activity.Interactive, Activity.Internal, Activity.OutputAttributes
-
Enum Constant Summary
Enum ConstantDescriptionAdd an ACL entry to an assetAdds task styling.Assign the task to a specific group.Assign the task to a specific user.Update the task parent and update parent/grandparent child countersResets all styling for the task.Closes the task.Perform conditional asset or media deletetion, usPerforms a simple conform.Creates a new asset.Create a BPMS process instanceCreates a sub task, specifying the existing task.Creates a new task.Deletes the asset.Deletes the task.Make changes to escalation level.Postpone the media expiration date or other due date.Fetches attribute values reflecting the current state of the associated asset in MAM.Performs a simple file transfer.Find the task that matches the provided asset.Links a task to an asset.Parses attachments for the purposes of validation and preliminary metadata extraction.Assign task to the calling user.Perform activities based on the contents of the attachments, such as creating new tasks.Remove an ACL entry from an assetRequests a report to be generated.Retires an asset SITE_ACTIVITY_PARAM will contain the ID of the scratch item after this is usedStores a subject in MAM and/or tasks database.The pseudo activity of updating an asset in the mam at the end of a runners order.The pseudo activity of saving a task to the database at the end of a runners order.Sets the current state of the task.Performs a site specific activity.Performs a simple transcode.Remove user assignment.Remove media from an asset.Update a BPMS process instanceThe pseudo activity of verifying a task and/or asset before activity starts. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerActivity
Returns the enum constant of this class with the specified name.static ServerActivity[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD_ASSET_ACL
Add an ACL entry to an asset -
ADD_TASK_STYLES
Adds task styling. May override existing styling. -
ASSIGN_TO_GROUP
Assign the task to a specific group. -
ASSIGN_TO_USER
Assign the task to a specific user. -
CHANGE_PARENT_TASK
Update the task parent and update parent/grandparent child counters -
CLEAR_TASK_STYLES
Resets all styling for the task. -
CLOSE_TASK
Closes the task. -
COMMIT
-
CONDITIONAL_DELETE_ASSET
Perform conditional asset or media deletetion, us -
CREATE_ASSET
@InputAttributes(ASSET_TYPE) @OutputAttributes(ASSET_ID) public static final ServerActivity CREATE_ASSETCreates a new asset. -
CREATE_TASK
@InputAttributes(TASK_STATE) @OutputAttributes(TASK_ID) public static final ServerActivity CREATE_TASKCreates a new task. -
CREATE_SUBTASK
@InputAttributes({NEW_TASK_LIST_ID,NEW_TASK_STATE}) public static final ServerActivity CREATE_SUBTASKCreates a sub task, specifying the existing task. -
CREATE_BPMS_PROCESS_INSTANCE
@InputAttributes({BPMS_PROC,BPMS_VER}) @OutputAttributes(BPMS_INST) public static final ServerActivity CREATE_BPMS_PROCESS_INSTANCECreate a BPMS process instance -
DELETE_ASSET
Deletes the asset. -
DELETE_TASK
Deletes the task. -
EDIT
-
ESCALATE
Make changes to escalation level. -
EXTEND
Postpone the media expiration date or other due date. -
FETCH_FROM_MAM
Fetches attribute values reflecting the current state of the associated asset in MAM. -
FIND_UNIQUE_TASK_FOR_ASSET
@InputAttributes({TASK_LIST_ID,ASSET_TYPE,ASSET_ID}) @OutputAttributes(TASK_ID) public static final ServerActivity FIND_UNIQUE_TASK_FOR_ASSETFind the task that matches the provided asset. -
JAVASCRIPT
-
KEEP
-
LINK
Links a task to an asset. -
MATCH
-
MOVE_TO_ARCHIVE
-
PARSE_ATTACHMENTS
Parses attachments for the purposes of validation and preliminary metadata extraction. -
PROCESS_ATTACHMENTS
Perform activities based on the contents of the attachments, such as creating new tasks. -
PICKUP
Assign task to the calling user. -
REJECT
-
REJECT_HIERARCHY
-
REMOVE
-
REMOVE_ASSET_ACL
Remove an ACL entry from an asset -
RETURN
-
RETIRE_ASSET
@InputAttributes({ASSET_SITE_ID,ASSET_TYPE,ACTIVITY_PARAM}) @OutputAttributes(SITE_ACTIVITY_PARAM) public static final ServerActivity RETIRE_ASSETRetires an asset SITE_ACTIVITY_PARAM will contain the ID of the scratch item after this is used -
RETIRE_ASSET_OMS
@InputAttributes({ASSET_SITE_ID,ASSET_TYPE,ACTIVITY_PARAM}) @OutputAttributes(SITE_ACTIVITY_PARAM) public static final ServerActivity RETIRE_ASSET_OMS -
REVERT
-
REQUEST_REPORT
@InputAttributes({REPORT_INPUT_FILE,REPORT_OUTPUT_TYPE}) @OutputAttributes(REPORT_OUTPUT_FILE) public static final ServerActivity REQUEST_REPORTRequests a report to be generated. -
SAVE
Stores a subject in MAM and/or tasks database. Used by daemons and actions that need to save in the middle of the work order. -
SAVE_ASSET
The pseudo activity of updating an asset in the mam at the end of a runners order. -
SAVE_TASK
The pseudo activity of saving a task to the database at the end of a runners order. -
SET_TASK_STATE
Sets the current state of the task. -
CONFORM
@InputAttributes({XFER_DEST_TYPE,XFER_DEST_NAME}) @OutputAttributes(XFER_IDSTR) public static final ServerActivity CONFORMPerforms a simple conform. -
FILE_TRANSFER
@InputAttributes({XFER_DEST_TYPE,XFER_DEST_NAME,XFER_LANGUAGE}) @OutputAttributes(XFER_IDSTR) public static final ServerActivity FILE_TRANSFERPerforms a simple file transfer. -
TRANSCODE
@InputAttributes({XFER_DEST_NAME,XFER_PROFILE,XFER_PRIORITY}) @OutputAttributes(XFER_IDSTR) public static final ServerActivity TRANSCODEPerforms a simple transcode. -
SITE_ACTIVITY
@InputAttributes({SITE_ACTIVITY_ID,SITE_ACTIVITY_PARAM}) public static final ServerActivity SITE_ACTIVITYPerforms a site specific activity. -
UNASSIGN
Remove user assignment. -
UNINGEST_ASSET
Remove media from an asset. -
UNLINK
-
UPDATE_BPMS_PROCESS_INSTANCE
@InputAttributes({BPMS_PROC,BPMS_VER,BPMS_INST}) public static final ServerActivity UPDATE_BPMS_PROCESS_INSTANCEUpdate a BPMS process instance -
VERIFY_SUBJECT
The pseudo activity of verifying a task and/or asset before activity starts.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-