Package com.saperion.ngc.model.document
Class ClassicConnectorDocumentDatabaseMetaInfo
- java.lang.Object
-
- com.saperion.ngc.model.document.ClassicConnectorDocumentDatabaseMetaInfo
-
- All Implemented Interfaces:
DocumentDatabaseMetaInfo,java.io.Serializable
public class ClassicConnectorDocumentDatabaseMetaInfo extends java.lang.Object implements DocumentDatabaseMetaInfo
Implementation of DocumentInfo for ClassicConnector.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassicConnectorDocumentDatabaseMetaInfo(com.saperion.intf.SaDocumentInfo saDocumentInfo)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanEdit()booleancanIndex()booleancanPrint()booleancanSave()booleancanStream()java.util.List<com.saperion.rmi.SaCheckoutInfo>getCheckoutInfos()java.lang.StringgetLockUser()com.saperion.intf.SaPropertyValuegetValue(java.lang.String name)Reads the value with the given name.com.saperion.intf.SaPropertyValue[]getValues()booleanhasActiveWorkflows()Returns true, if the document has an active workflow.booleanhasObjects()booleanhasRealACL()booleanhasStatus()booleanhasValue(java.lang.String name)Check, if a value exists for thew given name.booleanhasWorkflows()Returns true if the document has started or finished workflows.booleanisCheckedIn()booleanisCheckedout()booleanisDeleted()booleanisLink()booleanisLocked()Check, if the document is locked.booleanisLockedByCurrentUser()Returns true, if the document represented by this SaDocumentInfo is locked by the current user.booleanisOfflineConflict()booleanisRevised()booleanisSigned()
-
-
-
Method Detail
-
getValues
public com.saperion.intf.SaPropertyValue[] getValues()
- Specified by:
getValuesin interfaceDocumentDatabaseMetaInfo- Returns:
- Array of property values
- See Also:
DocumentDatabaseMetaInfo.getValues()
-
getValue
public com.saperion.intf.SaPropertyValue getValue(java.lang.String name)
Reads the value with the given name.- Specified by:
getValuein interfaceDocumentDatabaseMetaInfo- Parameters:
name- Property name- Returns:
- Property value null, if not found
- See Also:
DocumentDatabaseMetaInfo.getValue(String)
-
hasValue
public boolean hasValue(java.lang.String name)
Check, if a value exists for thew given name.- Specified by:
hasValuein interfaceDocumentDatabaseMetaInfo- Parameters:
name- Property name- Returns:
- True, if exists
- See Also:
DocumentDatabaseMetaInfo.hasValue(String)
-
isCheckedout
public boolean isCheckedout()
- Specified by:
isCheckedoutin interfaceDocumentDatabaseMetaInfo- Returns:
- Document is checked out.
- See Also:
DocumentDatabaseMetaInfo.isCheckedout()
-
getLockUser
public java.lang.String getLockUser()
- Specified by:
getLockUserin interfaceDocumentDatabaseMetaInfo- Returns:
- Lock user
- See Also:
DocumentDatabaseMetaInfo.getLockUser()
-
isLocked
public boolean isLocked()
Check, if the document is locked.- Specified by:
isLockedin interfaceDocumentDatabaseMetaInfo- Returns:
- Is locked
- See Also:
DocumentDatabaseMetaInfo.isLocked()
-
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:
DocumentDatabaseMetaInfo.isLockedByCurrentUser()
-
canEdit
public boolean canEdit()
- Specified by:
canEditin interfaceDocumentDatabaseMetaInfo- Returns:
- Editable
- See Also:
DocumentDatabaseMetaInfo.canEdit()
-
canIndex
public boolean canIndex()
- Specified by:
canIndexin interfaceDocumentDatabaseMetaInfo- Returns:
- Indexable
- See Also:
DocumentDatabaseMetaInfo.canIndex()
-
canPrint
public boolean canPrint()
- Specified by:
canPrintin interfaceDocumentDatabaseMetaInfo- Returns:
- Printable
- See Also:
DocumentDatabaseMetaInfo.canPrint()
-
canSave
public boolean canSave()
- Specified by:
canSavein interfaceDocumentDatabaseMetaInfo- Returns:
- Saveable
- See Also:
DocumentDatabaseMetaInfo.canSave()
-
hasObjects
public boolean hasObjects()
- Specified by:
hasObjectsin interfaceDocumentDatabaseMetaInfo- Returns:
- Has objects
- See Also:
DocumentDatabaseMetaInfo.hasObjects()
-
hasRealACL
public boolean hasRealACL()
- Specified by:
hasRealACLin interfaceDocumentDatabaseMetaInfo- Returns:
- Has real ACL
- See Also:
DocumentDatabaseMetaInfo.hasRealACL()
-
hasWorkflows
public boolean hasWorkflows()
Returns true if the document has started or finished workflows.- Specified by:
hasWorkflowsin interfaceDocumentDatabaseMetaInfo- Returns:
- Has workflows
- See Also:
DocumentDatabaseMetaInfo.hasWorkflows()
-
hasActiveWorkflows
public boolean hasActiveWorkflows()
Returns true, if the document has an active workflow.- Specified by:
hasActiveWorkflowsin interfaceDocumentDatabaseMetaInfo- Returns:
- has active workflow
- See Also:
DocumentDatabaseMetaInfo.hasActiveWorkflows()
-
isCheckedIn
public boolean isCheckedIn()
- Specified by:
isCheckedInin interfaceDocumentDatabaseMetaInfo- Returns:
- Is checked in
- See Also:
DocumentDatabaseMetaInfo.hasWorkflows()
-
isDeleted
public boolean isDeleted()
- Specified by:
isDeletedin interfaceDocumentDatabaseMetaInfo- Returns:
- Is deleted
- See Also:
DocumentDatabaseMetaInfo.hasActiveWorkflows()
-
isLink
public boolean isLink()
- Specified by:
isLinkin interfaceDocumentDatabaseMetaInfo- Returns:
- Is link
- See Also:
DocumentDatabaseMetaInfo.isLink()
-
isRevised
public boolean isRevised()
- Specified by:
isRevisedin interfaceDocumentDatabaseMetaInfo- Returns:
- Is revised
- See Also:
DocumentDatabaseMetaInfo.isRevised()
-
hasStatus
public boolean hasStatus()
- Specified by:
hasStatusin interfaceDocumentDatabaseMetaInfo- Returns:
- Has status informations
- See Also:
DocumentDatabaseMetaInfo.hasStatus()
-
isOfflineConflict
public boolean isOfflineConflict()
- Specified by:
isOfflineConflictin interfaceDocumentDatabaseMetaInfo- Returns:
- Document is in offline-conflict-state
- See Also:
DocumentDatabaseMetaInfo.isOfflineConflict()
-
isSigned
public boolean isSigned()
- Specified by:
isSignedin interfaceDocumentDatabaseMetaInfo- Returns:
- Document is signed
- See Also:
DocumentDatabaseMetaInfo.isSigned()
-
canStream
public boolean canStream()
- Specified by:
canStreamin interfaceDocumentDatabaseMetaInfo- Returns:
- Document can be streamed
- See Also:
DocumentDatabaseMetaInfo.canStream()
-
getCheckoutInfos
public java.util.List<com.saperion.rmi.SaCheckoutInfo> getCheckoutInfos()
- Specified by:
getCheckoutInfosin interfaceDocumentDatabaseMetaInfo- Returns:
- Checkout informations
- See Also:
DocumentDatabaseMetaInfo.getCheckoutInfos()
-
-