Package com.saperion.operations.document
Class GetDocumentInfo
java.lang.Object
com.lexmark.saperion.remote.common.operations.AbstractOperation<T,SaBasicException,LegacyConnection>
- All Implemented Interfaces:
com.lexmark.saperion.remote.common.operations.Operation<SaDocInfo,
,SaBasicException, LegacyConnection> Serializable
Gets information about the document. See
SaDocInfo
for details.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGetDocumentInfo
(String hDoc, boolean currentRevision, boolean resolveLinks, boolean forceSize) Creates a new GetDocumentInfo operation. -
Method Summary
Methods inherited from class com.saperion.operations.LegacyOperation
beforeInvoke, beforeInvoke, getClientToken, mapEcmException, mapException
Methods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperation
afterInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMap
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.lexmark.saperion.remote.common.operations.Operation
audit, dispatchEvent, isAuditable, isEventDispatcher
-
Constructor Details
-
GetDocumentInfo
public GetDocumentInfo(String hDoc, boolean currentRevision, boolean resolveLinks, boolean forceSize) Creates a new GetDocumentInfo operation.- Parameters:
hDoc
- hDoc of document to get information forcurrentRevision
- whether to resolve the current revision or notresolveLinks
- whether to resolve links or notforceSize
- if true, the sizes of all elements will be determined. This is not a fast operation.
-
-
Method Details
-
invoke
- Throws:
SaBasicException
-
getHDoc
- Returns:
- hDoc of document to get information for
-
isCurrentRevision
public boolean isCurrentRevision()- Returns:
- whether to resolve current revision or not
-
isResolveLinks
public boolean isResolveLinks()- Returns:
- whether to resolve links or not
-
isForceSize
public boolean isForceSize()- Returns:
- whether size determination is forced or not
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classcom.lexmark.saperion.remote.common.operations.AbstractOperation<SaDocInfo,
SaBasicException, LegacyConnection>
-