com.filenet.api.action
Class RaiseEvent
- java.lang.Object
-
- com.filenet.api.action.PendingAction
-
- com.filenet.api.action.RaiseEvent
-
- All Implemented Interfaces:
- java.io.Serializable
public class RaiseEvent extends PendingAction
Represents a pending action for raising a custom event on aSubscribableobject. When you call theRaiseEventmethod, an instance of theRaiseEventclass is created and added to theSubscribableobject's collection ofPendingActionobjects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description RaiseEvent(Properties props, java.lang.String classId)Creates a new instance of aRaiseEventpending action object.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.StringgetClassId()Returns a class identifier of the custom event to be created for this pending action.PropertiesgetEventProperties()Returns the properties of the custom event object to be raised.-
Methods inherited from class com.filenet.api.action.PendingAction
getBinaryListValue, getBinaryValue, getBooleanListValue, getBooleanValue, getDateTimeListValue, getDateTimeValue, getEngineObjectValue, getFloat64ListValue, getFloat64Value, getIdListValue, getIdValue, getInteger32ListValue, getInteger32Value, getObjectValue, getStringListValue, getStringValue, putObjectValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, toString
-
-
-
-
Constructor Detail
-
RaiseEvent
public RaiseEvent(Properties props, java.lang.String classId)
Creates a new instance of aRaiseEventpending action object.- Parameters:
props- APropertiescollection that specifies the properties to set for the custom event. The collection must include theIDproperty of theCustomEventobject.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
Propertiescollection 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.
-
-