verifyOperationEnabledInCurrentState method
Indicates whether an operation is allowed in the current state. Some adapters support more than one mode, and different operations may be allowed in each mode. Arbortext Editor does not define what modes or states are possible. Instead, it asks the adapter which operations are enabled in the current state.
verifyOperationEnabledInCurrentState( operation)
|
Parameters
|
Stringoperation
Specifies the type of operation. The following table lists the valid strings for the operation parameter, along with the corresponding AOM methods.
operation
|
Methods
|
createObjectMethods
|
CMSSession.createNewObject, CMSSession.createObjectFromSubtree
|
createFolderMethods
|
CMSSession.createFolder
|
burstMethods
|
CMSObject.burst, CMSSession.burstDocument
|
checkinoutMethods
|
CMSObject.checkin, CMSObject.checkout, CMSObject.cancelCheckout
|
attributeMethods
|
CMSObject.getAttribute, CMSObject.getAttributes, CMSObject.setAttribute, CMSObject.setAttributes
|
fileContentMethods
|
CMSSession.getFile, CMSSession.putFile
|
fileMappingMethods
|
CMSSession.getFileMappingEntry, CMSSession.putFileMapping Entry
|
deleteObjectMethods
|
CMSObject.deleteObject
|
moveObjectMethods
|
CMSObject.moveObject
|
searchMethods
|
CMSObject.search
|
childTraversalMethods
|
CMSObject.getChildren
|
parentTraversalMethods
|
CMSObject.getParents
|
versionTraversalMethods
|
CMSObject.getVersions
|
burstConfigMethods
|
CMSSession.getBurstUseroverride, CMSSession.getDefaultCreateInfo, CMSSession.getGraphicCreateInfo, CMSSession.getObjectReuse, CMSSession.getRangeCreateInfo
|
|
Returns
|
unsigned short. One of the CMSSession.OPERATION_ constants which indicates whether the operation is enabled in the current state.
|
Throws
|
CMSException
UNIMP_ERR: Raised if the adapter does not implement this method. In that case, the caller may assume that the operation is enabled.
|