Package com.saperion.ngc.model.resultset
Class ResultAccessDataImpl
java.lang.Object
com.saperion.ngc.model.resultset.ResultAccessDataImpl
- All Implemented Interfaces:
ResultAccessData,Serializable
Class containing access information for a single document.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResultAccessDataImpl(int access) Constructor.ResultAccessDataImpl(com.saperion.intf.SaDocAccessData accessData) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfinal booleanfinal booleanbooleanfinal booleanfinal booleanfinal booleanbooleanfinal booleancanRead()booleanbooleanfinal booleanbooleanbooleanfinal booleanfinal booleancanWrite()intbooleanbooleanbooleanfinal booleanfinal voidMerge element count.final voidmergeFlags(ResultAccessData other) Merge flags.voidsetCorrectStructure(boolean value) voidsetElementCount(int value) voidsetHasStructure(boolean value) voidsetScanned(boolean value) toString()
-
Constructor Details
-
ResultAccessDataImpl
public ResultAccessDataImpl(com.saperion.intf.SaDocAccessData accessData) Constructor.- Parameters:
accessData- access data from backend
-
ResultAccessDataImpl
public ResultAccessDataImpl(int access) Constructor.- Parameters:
access- access data as integer
-
-
Method Details
-
isVisible
public final boolean isVisible()- Specified by:
isVisiblein interfaceResultAccessData- Returns:
- true if the document is visible
- See Also:
-
canRead
public final boolean canRead()- Specified by:
canReadin interfaceResultAccessData- Returns:
- true if read operations are allowed
- See Also:
-
canWrite
public final boolean canWrite()- Specified by:
canWritein interfaceResultAccessData- Returns:
- true if write operations are allowed
- See Also:
-
canDelete
public final boolean canDelete()- Specified by:
canDeletein interfaceResultAccessData- Returns:
- true if the document can be deleted
- See Also:
-
canModifyAccess
public final boolean canModifyAccess()- Specified by:
canModifyAccessin interfaceResultAccessData- Returns:
- true if access rights can be modified
- See Also:
-
canAnnotate
public final boolean canAnnotate()- Specified by:
canAnnotatein interfaceResultAccessData- Returns:
- true if annotations can be added
- See Also:
-
canModifyIndex
public final boolean canModifyIndex()- Specified by:
canModifyIndexin interfaceResultAccessData- Returns:
- true if the document's index data can be modified
- See Also:
-
canExpandIndex
public final boolean canExpandIndex()- Specified by:
canExpandIndexin interfaceResultAccessData- Returns:
- true if the document's index data can be expanded
- See Also:
-
canModifyDocument
public final boolean canModifyDocument()- Specified by:
canModifyDocumentin interfaceResultAccessData- Returns:
- true if the document's content can be modified
- See Also:
-
canUseBlackmarker
public final boolean canUseBlackmarker()- Specified by:
canUseBlackmarkerin interfaceResultAccessData- Returns:
- true if blackmarkers can be added
- See Also:
-
canRestoreBlackmarkers
public final boolean canRestoreBlackmarkers()- Specified by:
canRestoreBlackmarkersin interfaceResultAccessData- Returns:
- true if blackmarkers can be removed
- See Also:
-
canSeeRevisionHistory
public boolean canSeeRevisionHistory()- Specified by:
canSeeRevisionHistoryin interfaceResultAccessData- Returns:
- true if the version history is allowed to be seen
- See Also:
-
canRelease
public boolean canRelease()- Specified by:
canReleasein interfaceResultAccessData- Returns:
- true if the user has the right to release a document
- See Also:
-
canExport
public boolean canExport()- Specified by:
canExportin interfaceResultAccessData- Returns:
- true if the user has the right to export a document
- See Also:
-
mergeFlags
Merge flags.- Specified by:
mergeFlagsin interfaceResultAccessData- Parameters:
other- Other access data- See Also:
-
mergeElementCount
Merge element count.- Specified by:
mergeElementCountin interfaceResultAccessData- Parameters:
other- Other access data- See Also:
-
hasCorrectStructure
public boolean hasCorrectStructure()- Specified by:
hasCorrectStructurein interfaceResultAccessData- Returns:
- Has correct structure.
- See Also:
-
setCorrectStructure
public void setCorrectStructure(boolean value) - Specified by:
setCorrectStructurein interfaceResultAccessData- Parameters:
value- True for correct structure.- See Also:
-
hasStructure
public boolean hasStructure()- Specified by:
hasStructurein interfaceResultAccessData- Returns:
- true if document is structured.
- See Also:
-
setHasStructure
public void setHasStructure(boolean value) - Specified by:
setHasStructurein interfaceResultAccessData- Parameters:
value- True if document is structured.- See Also:
-
isScanned
public boolean isScanned()- Specified by:
isScannedin interfaceResultAccessData- Returns:
- Is scanned
- See Also:
-
setScanned
public void setScanned(boolean value) - Specified by:
setScannedin interfaceResultAccessData- Parameters:
value- Is scanned type.- See Also:
-
getElementCount
public int getElementCount()- Specified by:
getElementCountin interfaceResultAccessData- Returns:
- Element count
- See Also:
-
setElementCount
public void setElementCount(int value) - Specified by:
setElementCountin interfaceResultAccessData- Parameters:
value- Element count- See Also:
-
canProlongRetention
public boolean canProlongRetention()- Specified by:
canProlongRetentionin interfaceResultAccessData- Returns:
- true when user is allowed to prolong documents retention
- See Also:
-
canReduceDisposition
public boolean canReduceDisposition()- Specified by:
canReduceDispositionin interfaceResultAccessData- Returns:
- true when user is allowed to reduce documents disposition time
- See Also:
-
canSetLitigationHold
public boolean canSetLitigationHold()- Specified by:
canSetLitigationHoldin interfaceResultAccessData- Returns:
- true when user is allowed to set litigation hold for this document
- See Also:
-
toString
-