com.ibm.commerce.contentmanagement.events

Class WorkspaceEventDataImpl

  • java.lang.Object
    • com.ibm.commerce.contentmanagement.events.WorkspaceEventDataImpl
  • All Implemented Interfaces:
    WorkspaceEventData, java.io.Serializable


    public class WorkspaceEventDataImpl
    extends java.lang.Object
    implements WorkspaceEventData, java.io.Serializable
    Implementation of a Workspace event data object.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • CLASSNAME

        public static final java.lang.String CLASSNAME
        The class name.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WorkspaceEventDataImpl

        public WorkspaceEventDataImpl(int _eventType,
                                      java.lang.Long _workspace,
                                      java.lang.Long _taskGroup,
                                      java.lang.Long _task)
        Creates the content context event data object.
        Parameters:
        _eventType - The event type.
        _workspace - The name of the workspace.
        _taskGroup - The task group.
        _task - The task.
      • WorkspaceEventDataImpl

        public WorkspaceEventDataImpl(int _eventType,
                                      java.lang.Long _workspace,
                                      java.lang.Long _taskGroup,
                                      java.lang.Long _task,
                                      CommandContext _cmdContext)
        Creates the content context event data object.
        Parameters:
        _eventType - The event type.
        _workspace - The name of the workspace.
        _taskGroup - The task group.
        _task - The task.
        _cmdContext - The command context.
    • Method Detail

      • getEventType

        public int getEventType()
        Returns the event type.
        Specified by:
        getEventType in interface WorkspaceEventData
        Returns:
        The event type.
      • getWorkspaceId

        public java.lang.Long getWorkspaceId()
        Returns the workspace name.
        Specified by:
        getWorkspaceId in interface WorkspaceEventData
        Returns:
        The workspace name.
      • getTaskGroupId

        public java.lang.Long getTaskGroupId()
        Returns the task group for the event.
        Specified by:
        getTaskGroupId in interface WorkspaceEventData
        Returns:
        The task group.
        See Also:
        com.ibm.commerce.context.content.events.ContentContextEventData#getTaskGroup()
      • getTaskId

        public java.lang.Long getTaskId()
        Returns the task for the event.
        Specified by:
        getTaskId in interface WorkspaceEventData
        Returns:
        The task.
        See Also:
        com.ibm.commerce.context.content.events.ContentContextEventData#getTask()
      • getPreviousStatus

        public java.lang.Integer getPreviousStatus()
        Returns the previous status of the target object event.
        Specified by:
        getPreviousStatus in interface WorkspaceEventData
        Returns:
        The previous status.
      • getCommandContext

        public CommandContext getCommandContext()
        Returns the command context for the session of this event.
        Specified by:
        getCommandContext in interface WorkspaceEventData
        Returns:
        .
        See Also:
        com.ibm.commerce.context.content.events.ContentContextEventData#getTask()
      • toString

        public java.lang.String toString()
        Returns the string representation of the object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string representation of the object.