com.filenet.api.action

Class RaiseEvent

  • All Implemented Interfaces:
    java.io.Serializable


    public class RaiseEvent
    extends PendingAction
    Represents a pending action for raising a custom event on a Subscribable object. When you call the RaiseEvent method, an instance of the RaiseEvent class is created and added to the Subscribable object's collection of PendingAction objects.
    See Also:
    Serialized Form
    • Constructor Detail

      • RaiseEvent

        public RaiseEvent(Properties props,
                  java.lang.String classId)
        Creates a new instance of a RaiseEvent pending action object.
        Parameters:
        props - A Properties collection that specifies the properties to set for the custom event. The collection must include the ID property of the CustomEvent object.
        classId - A String specifying the name of the class. If null, or if the custom event class does not exist, this constructor throws an exception.
    • Method Detail

      • getEventProperties

        public Properties getEventProperties()
        Returns the properties of the custom event object to be raised.
        Returns:
        A Properties collection containing the custom event object's properties.
      • getClassId

        public java.lang.String getClassId()
        Returns a class identifier of the custom event to be created for this pending action.
        Returns:
        A String containing the class identifier.

© Copyright IBM Corporation 2006, 2013. All rights reserved.