initCMSSessionCreateEvent method
Initializes the value of an CMSSessionCreateEvent created through the CMSSessionCreateEvent interface. This method should only be called before the CMSSessionCreateEvent has been dispatched using the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.
initCMSSessionCreateEvent(typeArg, canBubbleArg, cancelableArg, nameArg, objTypeArg, folderLogicalIdArg, flagsArg, startArg, endArg, versionArg, resultArg )
Parameters
String typeArg
Specifies the event type.
boolean canBubbleArg
Specifies whether or not the event can bubble.
boolean cancelableArg
Specifies whether or not the event's default action can be prevented.
String nameArg
Represents the name of the object being created.
String objTypeArg
Represents an adapter-specific object type string.
String folderLogicalIdArg
Represents the parent folder for the new object.
int flagsArg
Same as the flags parameter of the CMSSession.createNewObject method.
Node startArg
First DOM Node in the object's content.
Node endArg
Last DOM Node in the object's content.
String versionArg
The object's version number. The value is represented using CMS-specific syntax.
CMSObject resultArg
The created CMS object.
Returns
void
这对您有帮助吗?