Package com.arbortext.epic.cms
Interface CMSSessionFileEvent
- All Superinterfaces:
Event
- All Known Implementing Classes:
CMSSessionFileEventImpl
The
CMSSessionFileEvent interface provides specific contextual
information associated with the CMSSessionFileEvent
extension. These event types notify programmers of events related to
managing non-textual document objects in the repository.- Since:
- Arbortext 5.4
-
Field Summary
Fields inherited from interface org.w3c.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE -
Method Summary
Modifier and TypeMethodDescriptionshortUsed when the event handler wants to cancel the operation or throw an error exception.Used when the event handler wants to throw an error exception and additionally provide a human-readable error message.Parent folder for the CMS object.Full path to a resource (file or HTTP) accessible from the client.LogicalId for the object being accessed.An adapter-specific format specification.Name of a repository object.The logical ID of an object created in the repository.voidinitCMSSessionFileEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, String logicalIdArg, String localPathArg, String notationArg, String objectNameArg, String folderLogicalIdArg) Initializes the value of anCMSSessionFileEventcreated through theCMSSessionFileEventinterface.voidsetErrorCode(short errorCode) Used when the event handler wants to cancel the operation or throw an error exception.voidsetErrorMessage(String errorMessage) Used when the event handler wants to throw an error exception and additionally provide a human-readable error message.voidsetFolderLogicalId(String folderLogicalId) Parent folder for the CMS object.voidsetLocalPath(String localPath) Full path to a resource (file or HTTP) accessible from the client.voidThe logical ID of an object created in the repository.Methods inherited from interface org.w3c.dom.events.Event
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
-
Method Details
-
getLogicalId
String getLogicalId()LogicalId for the object being accessed. -
getLocalPath
String getLocalPath()Full path to a resource (file or HTTP) accessible from the client. -
setLocalPath
Full path to a resource (file or HTTP) accessible from the client. -
getNotation
String getNotation()An adapter-specific format specification. -
getObjectName
String getObjectName()Name of a repository object. -
getFolderLogicalId
String getFolderLogicalId()Parent folder for the CMS object. -
setFolderLogicalId
Parent folder for the CMS object. -
getResult
String getResult()The logical ID of an object created in the repository. -
setResult
The logical ID of an object created in the repository. -
getErrorCode
short getErrorCode()Used when the event handler wants to cancel the operation or throw an error exception. This can hold any definedCMSExceptionCodevalue. To cancel the operation, callpreventDefault()and store a value ofOPERATION_CANCELED_ERRintoerrorCode. To cause an error exception, callpreventDefault(), store any other definedCMSExceptionCodevalue intoerrorCode, and optionally store a message intoerrorMessage. -
setErrorCode
void setErrorCode(short errorCode) Used when the event handler wants to cancel the operation or throw an error exception. This can hold any definedCMSExceptionCodevalue. To cancel the operation, callpreventDefault()and store a value ofOPERATION_CANCELED_ERRintoerrorCode. To cause an error exception, callpreventDefault(), store any other definedCMSExceptionCodevalue intoerrorCode, and optionally store a message intoerrorMessage. -
getErrorMessage
String getErrorMessage()Used when the event handler wants to throw an error exception and additionally provide a human-readable error message. To do this, callpreventDefault(), store the appropriate value intoerrorCode, and store a message intoerrorMessage. -
setErrorMessage
Used when the event handler wants to throw an error exception and additionally provide a human-readable error message. To do this, callpreventDefault(), store the appropriate value intoerrorCode, and store a message intoerrorMessage. -
initCMSSessionFileEvent
void initCMSSessionFileEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, String logicalIdArg, String localPathArg, String notationArg, String objectNameArg, String folderLogicalIdArg) Initializes the value of anCMSSessionFileEventcreated through theCMSSessionFileEventinterface. This method should only be called before theCMSSessionFileEventhas been dispatched using thedispatchEventmethod, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.- Parameters:
typeArg- Specifies the event type.canBubbleArg- Specifies whether or not the event can bubble.cancelableArg- Specifies whether or not the event's default action can be prevented.logicalIdArg- Represents the logicalId of the object being accessed.localPathArg- Represents a full path to a resource (file or HTTP) accessible from the client.notationArg- Represents an adapter-specific format specification.objectNameArg- Name of the repository object.folderLogicalIdArg- Represents the parent folder for the new object.
-