Programmer's Guide > Interfaces > CMSSessionCreateEvent interface > initCMSSessionCreateEvent method
  
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
StringtypeArg
Specifies the event type.
booleancanBubbleArg
Specifies whether or not the event can bubble.
booleancancelableArg
Specifies whether or not the event's default action can be prevented.
StringnameArg
Represents the name of the object being created.
StringobjTypeArg
Represents an adapter-specific object type string.
StringfolderLogicalIdArg
Represents the parent folder for the new object.
intflagsArg
Same as the flags parameter of the CMSSession.createNewObject method.
NodestartArg
First DOM Node in the object's content.
NodeendArg
Last DOM Node in the object's content.
StringversionArg
The object's version number. The value is represented using CMS-specific syntax.
CMSObjectresultArg
The created CMS object.
Returns
void