public class WorkspaceEventDataImpl extends java.lang.Object implements WorkspaceEventData, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The class name.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
EVENT_TYPE_TG_APPROVED, EVENT_TYPE_TG_CANCELLED, EVENT_TYPE_TG_COMMITFAILED, EVENT_TYPE_TG_COMMITINPROGRESS, EVENT_TYPE_TG_COMMITTED, EVENT_TYPE_TG_COMPLETED, EVENT_TYPE_TG_PUBLISHED, EVENT_TYPE_TG_PUBLISHFAILED, EVENT_TYPE_TG_PUBLISHINPROGRESS, EVENT_TYPE_TG_RANGE, EVENT_TYPE_TG_READYFORAPPROVAL, EVENT_TYPE_TG_READYTOCOMMIT, EVENT_TYPE_TG_READYTOPUBLISH, EVENT_TYPE_TG_WORKING, EVENT_TYPE_TK_COMPLETED, EVENT_TYPE_TK_INACTVIE, EVENT_TYPE_TK_RANGE, EVENT_TYPE_TK_WORKING, EVENT_TYPE_WS_ACTIVE, EVENT_TYPE_WS_CANCELLED, EVENT_TYPE_WS_COMPLETED, EVENT_TYPE_WS_RANGE
Constructor and Description |
---|
WorkspaceEventDataImpl(int _eventType,
java.lang.Long _workspace,
java.lang.Long _taskGroup,
java.lang.Long _task)
Creates the content context event data object.
|
WorkspaceEventDataImpl(int _eventType,
java.lang.Long _workspace,
java.lang.Long _taskGroup,
java.lang.Long _task,
CommandContext _cmdContext)
Creates the content context event data object.
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
Returns the command context for the session of this event.
|
int |
getEventType()
Returns the event type.
|
java.lang.Integer |
getPreviousStatus()
Returns the previous status of the target object event.
|
java.lang.Long |
getTaskGroupId()
Returns the task group for the event.
|
java.lang.Long |
getTaskId()
Returns the task for the event.
|
java.lang.Long |
getWorkspaceId()
Returns the workspace name.
|
java.lang.String |
toString()
Returns the string representation of the object.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public WorkspaceEventDataImpl(int _eventType, java.lang.Long _workspace, java.lang.Long _taskGroup, java.lang.Long _task)
_eventType
- The event type._workspace
- The name of the workspace._taskGroup
- The task group._task
- The task.public WorkspaceEventDataImpl(int _eventType, java.lang.Long _workspace, java.lang.Long _taskGroup, java.lang.Long _task, CommandContext _cmdContext)
_eventType
- The event type._workspace
- The name of the workspace._taskGroup
- The task group._task
- The task._cmdContext
- The command context.public int getEventType()
getEventType
in interface WorkspaceEventData
public java.lang.Long getWorkspaceId()
getWorkspaceId
in interface WorkspaceEventData
public java.lang.Long getTaskGroupId()
getTaskGroupId
in interface WorkspaceEventData
com.ibm.commerce.context.content.events.ContentContextEventData#getTaskGroup()
public java.lang.Long getTaskId()
getTaskId
in interface WorkspaceEventData
com.ibm.commerce.context.content.events.ContentContextEventData#getTask()
public java.lang.Integer getPreviousStatus()
getPreviousStatus
in interface WorkspaceEventData
public CommandContext getCommandContext()
getCommandContext
in interface WorkspaceEventData
com.ibm.commerce.context.content.events.ContentContextEventData#getTask()
public java.lang.String toString()
toString
in class java.lang.Object