Interface DocumentDatabaseMetaInfo
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
ClassicConnectorDocumentDatabaseMetaInfo
public interface DocumentDatabaseMetaInfo extends java.io.Serializable
Holds the meta information about a document that is stored in the database as opposed toDocumentArchiveMetaInfo
that holds the information that is stored in the archive.- Author:
- jek
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canEdit()
boolean
canIndex()
boolean
canPrint()
boolean
canSave()
boolean
canStream()
java.util.List<com.saperion.rmi.SaCheckoutInfo>
getCheckoutInfos()
java.lang.String
getLockUser()
com.saperion.intf.SaPropertyValue
getValue(java.lang.String name)
Reads the value with the given name.com.saperion.intf.SaPropertyValue[]
getValues()
boolean
hasActiveWorkflows()
Returns true, if the document has an active workflow.boolean
hasObjects()
boolean
hasRealACL()
boolean
hasStatus()
boolean
hasValue(java.lang.String name)
Check, if a value exists for thew given name.boolean
hasWorkflows()
Returns true if the document has started or finished workflows.boolean
isCheckedIn()
boolean
isCheckedout()
boolean
isDeleted()
boolean
isLink()
boolean
isLocked()
Check, if the document is locked.boolean
isLockedByCurrentUser()
Returns true, if the document represented by this SaDocumentInfo is locked by the current user.boolean
isOfflineConflict()
boolean
isRevised()
boolean
isSigned()
-
-
-
Method Detail
-
getValues
com.saperion.intf.SaPropertyValue[] getValues()
- Returns:
- Array of property values
-
getValue
com.saperion.intf.SaPropertyValue getValue(java.lang.String name)
Reads the value with the given name.- Parameters:
name
- Property name- Returns:
- Property value null, if not found
-
hasValue
boolean hasValue(java.lang.String name)
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
java.lang.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
java.util.List<com.saperion.rmi.SaCheckoutInfo> getCheckoutInfos()
- Returns:
- Checkout informations
-
-