com.ibm.commerce.contentmanagement.events

Class WorkspaceEvent

  • java.lang.Object
    • java.util.EventObject
      • com.ibm.commerce.event.WCSEvent
        • com.ibm.commerce.contentmanagement.events.WorkspaceEvent
  • All Implemented Interfaces:
    java.io.Serializable


    public class WorkspaceEvent
    extends com.ibm.commerce.event.WCSEvent
    A content context event. The event will have data that will be an instance of WorkspaceEventData. depending on the event type (create, commit, or cancel), the appropriate action on the Workspace Manager will be performed.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      WorkspaceEvent(java.lang.Object userData)
      Create a Workspace event.
      WorkspaceEvent(java.lang.Object userData, boolean synchronous)
      Create a content context event.
    • Method Summary

      • Methods inherited from class com.ibm.commerce.event.WCSEvent

        getContextSerializationMap, getEventData, isSynchronous, setSynchronous
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • COPYRIGHT

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

      • WorkspaceEvent

        public WorkspaceEvent(java.lang.Object userData)
        Create a Workspace event.
        Parameters:
        userData - The content context event data.
      • WorkspaceEvent

        public WorkspaceEvent(java.lang.Object userData,
                              boolean synchronous)
                       throws ECException
        Create a content context event.
        Parameters:
        userData - The content context event data.
        synchronous - Whether the event is asynchronous.
        Throws:
        ECException - Any exception while processing the event.