Interface DocumentDatabaseMetaInfo
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ClassicConnectorDocumentDatabaseMetaInfo
Holds the meta information about a document that is stored in the database as
opposed to
DocumentArchiveMetaInfo
that holds the information that is
stored in the archive.- Author:
- jek
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canEdit()
boolean
canIndex()
boolean
canPrint()
boolean
canSave()
boolean
List<com.saperion.rmi.SaCheckoutInfo>
com.saperion.intf.SaPropertyValue
Reads the value with the given name.com.saperion.intf.SaPropertyValue[]
boolean
Returns true, if the document has an active workflow.boolean
boolean
boolean
boolean
Check, if a value exists for thew given name.boolean
Returns true if the document has started or finished workflows.boolean
boolean
boolean
boolean
isLink()
boolean
isLocked()
Check, if the document is locked.boolean
Returns true, if the document represented by this SaDocumentInfo is locked by the current user.boolean
boolean
boolean
isSigned()
-
Method Details
-
getValues
com.saperion.intf.SaPropertyValue[] getValues()- Returns:
- Array of property values
-
getValue
Reads the value with the given name.- Parameters:
name
- Property name- Returns:
- Property value null, if not found
-
hasValue
Check, if a value exists for thew given name.- Parameters:
name
- Property name- Returns:
- True, if exists
-
isCheckedout
boolean isCheckedout()- Returns:
- Document is checked out.
-
getLockUser
String getLockUser()- Returns:
- Lock user
- See Also:
-
SaJNILockInfo.getLockUser()
-
isLocked
boolean isLocked()Check, if the document is locked.- Returns:
- Is locked
-
isLockedByCurrentUser
boolean isLockedByCurrentUser()Returns true, if the document represented by this SaDocumentInfo is locked by the current user.- Returns:
- true, if locked by current user
-
canEdit
boolean canEdit()- Returns:
- Editable
- See Also:
-
SaStatusInfo.canEdit()
-
canIndex
boolean canIndex()- Returns:
- Indexable
- See Also:
-
SaStatusInfo.canIndex()
-
canPrint
boolean canPrint()- Returns:
- Printable
- See Also:
-
SaStatusInfo.canPrint()
-
canSave
boolean canSave()- Returns:
- Saveable
- See Also:
-
SaStatusInfo.canSave()
-
hasObjects
boolean hasObjects()- Returns:
- Has objects
- See Also:
-
SaStatusInfo.hasObjects()
-
hasRealACL
boolean hasRealACL()- Returns:
- Has real ACL
- See Also:
-
SaStatusInfo.hasRealACL()
-
hasWorkflows
boolean hasWorkflows()Returns true if the document has started or finished workflows.- Returns:
- Has workflows
- See Also:
-
SaStatusInfo.hasWorkflows()
-
hasActiveWorkflows
boolean hasActiveWorkflows()Returns true, if the document has an active workflow.- Returns:
- has active workflow
-
isCheckedIn
boolean isCheckedIn()- Returns:
- Is checked in
- See Also:
-
SaStatusInfo.isCheckedIn()
-
isDeleted
boolean isDeleted()- Returns:
- Is deleted
- See Also:
-
SaStatusInfo.isDeleted()
-
isLink
boolean isLink()- Returns:
- Is link
- See Also:
-
SaStatusInfo.isLink()
-
isRevised
boolean isRevised()- Returns:
- Is revised
- See Also:
-
SaStatusInfo.isRevised()
-
hasStatus
boolean hasStatus()- Returns:
- Has status informations
-
isOfflineConflict
boolean isOfflineConflict()- Returns:
- Document is in offline-conflict-state
-
isSigned
boolean isSigned()- Returns:
- Document is signed
-
canStream
boolean canStream()- Returns:
- Document can be streamed
-
getCheckoutInfos
List<com.saperion.rmi.SaCheckoutInfo> getCheckoutInfos()- Returns:
- Checkout informations
-