public class SaDocumentInfoImpl extends Object implements SaDocumentInfo
| Constructor and Description |
|---|
SaDocumentInfoImpl(SaDocumentInfo info,
SaPropertyValue[] propertyValues)
Alternative constructor.
|
SaDocumentInfoImpl(SaPropertyValue[] propertyValues,
com.saperion.jni.SaJNILockInfo lock)
Deprecated.
|
SaDocumentInfoImpl(SaPropertyValue[] propertyValues,
SaLockInfo lock)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEdit() |
boolean |
canIndex() |
boolean |
canPrint() |
boolean |
canSave() |
boolean |
canStream() |
static List<SaDocumentInfo> |
convertSimpleProperies(List<SaPropertyValue[]> values) |
List<SaCheckoutInfo> |
getCheckoutInfos() |
String |
getLockToken()
Returns the lock-token if the document is locked.
|
int |
getLockType()
Returns the lock-type if the document is locked.
|
String |
getLockUser()
Returns the user that has locked this document if the document is locked.
|
SaPropertyValue |
getValue(String name)
Reads the value with the given name.
|
SaPropertyValue[] |
getValues() |
boolean |
hasActiveWorkflows()
Returns true, if the document has an active workflow.
|
boolean |
hasObjects() |
boolean |
hasRealACL() |
boolean |
hasStatus() |
boolean |
hasValue(String name)
Check, if a value exists for the 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 |
isReadonly() |
boolean |
isRevised() |
boolean |
isSigned() |
void |
setCheckoutInfo(List<?> rows) |
public SaDocumentInfoImpl(SaPropertyValue[] propertyValues, SaLockInfo lock)
propertyValues - Property valueslock - Lock informations@Deprecated public SaDocumentInfoImpl(SaPropertyValue[] propertyValues, com.saperion.jni.SaJNILockInfo lock)
SaDocumentInfoImpl(SaPropertyValue[], SaLockInfo)propertyValues - Property valueslock - Lock informationspublic SaDocumentInfoImpl(SaDocumentInfo info, SaPropertyValue[] propertyValues)
info - Second infopropertyValues - Valuespublic static final List<SaDocumentInfo> convertSimpleProperies(List<SaPropertyValue[]> values)
values - Property valuespublic SaPropertyValue[] getValues()
getValues in interface SaDocumentInfoSaDocumentInfo.getValues()public boolean hasValue(String name)
hasValue in interface SaDocumentInfoname - Property nameSaDocumentInfo.hasValue(java.lang.String)public SaPropertyValue getValue(String name)
getValue in interface SaDocumentInfoname - Property nameSaDocumentInfo.getValue(java.lang.String)public boolean isCheckedout()
isCheckedout in interface SaDocumentInfoSaDocumentInfo.isCheckedout()public List<SaCheckoutInfo> getCheckoutInfos()
getCheckoutInfos in interface SaDocumentInfoSaDocumentInfo.getCheckoutInfos()public void setCheckoutInfo(List<?> rows)
setCheckoutInfo in interface SaDocumentInforows - Checkout rowsSaDocumentInfo.setCheckoutInfo(java.util.List)public boolean isLocked()
isLocked in interface SaDocumentInfoSaDocumentInfo.isLocked()public final String getLockToken()
getLockToken in interface SaDocumentInfoSaDocumentInfo.getLockToken()public final int getLockType()
getLockType in interface SaDocumentInfoSaDocumentInfo.getLockType()public final String getLockUser()
getLockUser in interface SaDocumentInfoSaDocumentInfo.getLockUser()public final boolean isReadonly()
isReadonly in interface SaDocumentInfoSaDocumentInfo.isReadonly()public boolean canEdit()
canEdit in interface SaDocumentInfoSaDocumentInfo.canEdit()public boolean canIndex()
canIndex in interface SaDocumentInfoSaDocumentInfo.canIndex()public boolean canPrint()
canPrint in interface SaDocumentInfoSaDocumentInfo.canPrint()public boolean canSave()
canSave in interface SaDocumentInfoSaDocumentInfo.canSave()public boolean hasObjects()
hasObjects in interface SaDocumentInfoSaDocumentInfo.hasObjects()public boolean hasRealACL()
hasRealACL in interface SaDocumentInfoSaDocumentInfo.hasRealACL()public boolean hasWorkflows()
hasWorkflows in interface SaDocumentInfoSaDocumentInfo.hasWorkflows()public boolean hasActiveWorkflows()
hasActiveWorkflows in interface SaDocumentInfoSaDocumentInfo.hasActiveWorkflows()public boolean isCheckedIn()
isCheckedIn in interface SaDocumentInfoSaDocumentInfo.isCheckedIn()public boolean isDeleted()
isDeleted in interface SaDocumentInfoSaDocumentInfo.isDeleted()public boolean isLink()
isLink in interface SaDocumentInfoSaDocumentInfo.isLink()public boolean isRevised()
isRevised in interface SaDocumentInfoSaDocumentInfo.isRevised()public boolean hasStatus()
hasStatus in interface SaDocumentInfoSaDocumentInfo.hasStatus()public boolean canStream()
canStream in interface SaDocumentInfoSaDocumentInfo.canStream()public boolean isOfflineConflict()
isOfflineConflict in interface SaDocumentInfoSaDocumentInfo.isOfflineConflict()public boolean isSigned()
isSigned in interface SaDocumentInfoSaDocumentInfo.isSigned()public boolean isLockedByCurrentUser()
isLockedByCurrentUser in interface SaDocumentInfoSaDocumentInfo.isLockedByCurrentUser()Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.