|
createObjectFromSubtree(name, folderLogicalId, start, end [, flags [, objType]])
|
|
|
Parameters
|
String name
Specifies the name of the new CMS object. The adapter is allowed to use a variant of this name if, for example, the CMS disallows two objects with the same name in the same folder. The actual name used can be obtained by accessing the name attribute of the returned CMSObject.
String folderLogicalId
Specifies the folder to put the object in. This may be the Logical ID of a folder or it may be in an adapter-specific path format.
Node start
Specifies the DOM Node representing the first node to be included in the new object.
Node end
Specifies the DOM Node representing the last node to be included in the new object. This node should be the same as the start node or a subsequent sibling of it.
int flags
[optional] Specifies the creation options. The value is determined by a bit-wise OR of the CMSCreateFlags constants.
String objType
[optional] Specifies the CMS object type for the new object.
|
|
Returns
|
CMSObject. A new object handle.
|
|
Throws
|
CMSException
If an error occurs.
|