Package com.saperion.ngc.model.document
Class ClassicConnectorDocumentDatabaseMetaInfo
java.lang.Object
com.saperion.ngc.model.document.ClassicConnectorDocumentDatabaseMetaInfo
- All Implemented Interfaces:
DocumentDatabaseMetaInfo,Serializable
public class ClassicConnectorDocumentDatabaseMetaInfo
extends Object
implements DocumentDatabaseMetaInfo
Implementation of DocumentInfo for ClassicConnector.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClassicConnectorDocumentDatabaseMetaInfo(com.saperion.intf.SaDocumentInfo saDocumentInfo) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleancanEdit()booleancanIndex()booleancanPrint()booleancanSave()booleanList<com.saperion.rmi.SaCheckoutInfo>com.saperion.intf.SaPropertyValueReads the value with the given name.com.saperion.intf.SaPropertyValue[]booleanReturns true, if the document has an active workflow.booleanbooleanbooleanbooleanCheck, if a value exists for thew given name.booleanReturns true if the document has started or finished workflows.booleanbooleanbooleanbooleanisLink()booleanisLocked()Check, if the document is locked.booleanReturns true, if the document represented by this SaDocumentInfo is locked by the current user.booleanbooleanbooleanisSigned()
-
Constructor Details
-
ClassicConnectorDocumentDatabaseMetaInfo
public ClassicConnectorDocumentDatabaseMetaInfo(com.saperion.intf.SaDocumentInfo saDocumentInfo) Constructor.- Parameters:
saDocumentInfo- saDocumentInfo retrieved from backend
-
-
Method Details
-
getValues
public com.saperion.intf.SaPropertyValue[] getValues()- Specified by:
getValuesin interfaceDocumentDatabaseMetaInfo- Returns:
- Array of property values
- See Also:
-
getValue
Reads the value with the given name.- Specified by:
getValuein interfaceDocumentDatabaseMetaInfo- Parameters:
name- Property name- Returns:
- Property value null, if not found
- See Also:
-
hasValue
Check, if a value exists for thew given name.- Specified by:
hasValuein interfaceDocumentDatabaseMetaInfo- Parameters:
name- Property name- Returns:
- True, if exists
- See Also:
-
isCheckedout
public boolean isCheckedout()- Specified by:
isCheckedoutin interfaceDocumentDatabaseMetaInfo- Returns:
- Document is checked out.
- See Also:
-
getLockUser
- Specified by:
getLockUserin interfaceDocumentDatabaseMetaInfo- Returns:
- Lock user
- See Also:
-
isLocked
public boolean isLocked()Check, if the document is locked.- Specified by:
isLockedin interfaceDocumentDatabaseMetaInfo- Returns:
- Is locked
- See Also:
-
isLockedByCurrentUser
public boolean isLockedByCurrentUser()Returns true, if the document represented by this SaDocumentInfo is locked by the current user.- Specified by:
isLockedByCurrentUserin interfaceDocumentDatabaseMetaInfo- Returns:
- true, if locked by current user
- See Also:
-
canEdit
public boolean canEdit()- Specified by:
canEditin interfaceDocumentDatabaseMetaInfo- Returns:
- Editable
- See Also:
-
canIndex
public boolean canIndex()- Specified by:
canIndexin interfaceDocumentDatabaseMetaInfo- Returns:
- Indexable
- See Also:
-
canPrint
public boolean canPrint()- Specified by:
canPrintin interfaceDocumentDatabaseMetaInfo- Returns:
- Printable
- See Also:
-
canSave
public boolean canSave()- Specified by:
canSavein interfaceDocumentDatabaseMetaInfo- Returns:
- Saveable
- See Also:
-
hasObjects
public boolean hasObjects()- Specified by:
hasObjectsin interfaceDocumentDatabaseMetaInfo- Returns:
- Has objects
- See Also:
-
hasRealACL
public boolean hasRealACL()- Specified by:
hasRealACLin interfaceDocumentDatabaseMetaInfo- Returns:
- Has real ACL
- See Also:
-
hasWorkflows
public boolean hasWorkflows()Returns true if the document has started or finished workflows.- Specified by:
hasWorkflowsin interfaceDocumentDatabaseMetaInfo- Returns:
- Has workflows
- See Also:
-
hasActiveWorkflows
public boolean hasActiveWorkflows()Returns true, if the document has an active workflow.- Specified by:
hasActiveWorkflowsin interfaceDocumentDatabaseMetaInfo- Returns:
- has active workflow
- See Also:
-
isCheckedIn
public boolean isCheckedIn()- Specified by:
isCheckedInin interfaceDocumentDatabaseMetaInfo- Returns:
- Is checked in
- See Also:
-
isDeleted
public boolean isDeleted()- Specified by:
isDeletedin interfaceDocumentDatabaseMetaInfo- Returns:
- Is deleted
- See Also:
-
isLink
public boolean isLink()- Specified by:
isLinkin interfaceDocumentDatabaseMetaInfo- Returns:
- Is link
- See Also:
-
isRevised
public boolean isRevised()- Specified by:
isRevisedin interfaceDocumentDatabaseMetaInfo- Returns:
- Is revised
- See Also:
-
hasStatus
public boolean hasStatus()- Specified by:
hasStatusin interfaceDocumentDatabaseMetaInfo- Returns:
- Has status informations
- See Also:
-
isOfflineConflict
public boolean isOfflineConflict()- Specified by:
isOfflineConflictin interfaceDocumentDatabaseMetaInfo- Returns:
- Document is in offline-conflict-state
- See Also:
-
isSigned
public boolean isSigned()- Specified by:
isSignedin interfaceDocumentDatabaseMetaInfo- Returns:
- Document is signed
- See Also:
-
canStream
public boolean canStream()- Specified by:
canStreamin interfaceDocumentDatabaseMetaInfo- Returns:
- Document can be streamed
- See Also:
-
getCheckoutInfos
- Specified by:
getCheckoutInfosin interfaceDocumentDatabaseMetaInfo- Returns:
- Checkout informations
- See Also:
-