Package com.saperion.operations.document
Class GetDocumentInfo
- java.lang.Object
- 
- com.lexmark.saperion.remote.common.operations.AbstractOperation<T,SaBasicException,LegacyConnection>
- 
- com.saperion.operations.LegacyOperation<SaDocInfo>
- 
- com.saperion.operations.document.GetDocumentInfo
 
 
 
- 
- All Implemented Interfaces:
- com.lexmark.saperion.remote.common.operations.Operation<SaDocInfo,SaBasicException,LegacyConnection>,- java.io.Serializable
 
 public class GetDocumentInfo extends LegacyOperation<SaDocInfo> Gets information about the document. SeeSaDocInfofor details.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description GetDocumentInfo(java.lang.String hDoc, boolean currentRevision, boolean resolveLinks, boolean forceSize)Creates a new GetDocumentInfo operation.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetHDoc()inthashCode()SaDocInfoinvoke()booleanisCurrentRevision()booleanisForceSize()booleanisResolveLinks()java.lang.StringtoString()- 
Methods inherited from class com.saperion.operations.LegacyOperationbeforeInvoke, beforeInvoke, getClientToken, mapEcmException, mapException
 - 
Methods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperationafterInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMap
 
- 
 
- 
- 
- 
Constructor Detail- 
GetDocumentInfopublic GetDocumentInfo(java.lang.String hDoc, boolean currentRevision, boolean resolveLinks, boolean forceSize)Creates a new GetDocumentInfo operation.- Parameters:
- hDoc- hDoc of document to get information for
- currentRevision- whether to resolve the current revision or not
- resolveLinks- whether to resolve links or not
- forceSize- if true, the sizes of all elements will be determined. This is not a fast operation.
 
 
- 
 - 
Method Detail- 
invokepublic SaDocInfo invoke() throws SaBasicException - Throws:
- SaBasicException
 
 - 
getHDocpublic java.lang.String getHDoc() - Returns:
- hDoc of document to get information for
 
 - 
isCurrentRevisionpublic boolean isCurrentRevision() - Returns:
- whether to resolve current revision or not
 
 - 
isResolveLinkspublic boolean isResolveLinks() - Returns:
- whether to resolve links or not
 
 - 
isForceSizepublic boolean isForceSize() - Returns:
- whether size determination is forced or not
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- com.lexmark.saperion.remote.common.operations.AbstractOperation<SaDocInfo,SaBasicException,LegacyConnection>
 
 
- 
 
-