Package com.saperion.ngc.model.resultset
Class ResultAccessDataImpl
- java.lang.Object
-
- com.saperion.ngc.model.resultset.ResultAccessDataImpl
-
- All Implemented Interfaces:
ResultAccessData,java.io.Serializable
public class ResultAccessDataImpl extends java.lang.Object implements ResultAccessData, java.io.Serializable
Class containing access information for a single document.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResultAccessDataImpl(int access)Constructor.ResultAccessDataImpl(com.saperion.intf.SaDocAccessData accessData)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanAnnotate()booleancanDelete()booleancanExpandIndex()booleancanExport()booleancanModifyAccess()booleancanModifyDocument()booleancanModifyIndex()booleancanProlongRetention()booleancanRead()booleancanReduceDisposition()booleancanRelease()booleancanRestoreBlackmarkers()booleancanSeeRevisionHistory()booleancanSetLitigationHold()booleancanUseBlackmarker()booleancanWrite()intgetElementCount()booleanhasCorrectStructure()booleanhasStructure()booleanisScanned()booleanisVisible()voidmergeElementCount(ResultAccessData other)Merge element count.voidmergeFlags(ResultAccessData other)Merge flags.voidsetCorrectStructure(boolean value)voidsetElementCount(int value)voidsetHasStructure(boolean value)voidsetScanned(boolean value)java.lang.StringtoString()
-
-
-
Method Detail
-
isVisible
public final boolean isVisible()
- Specified by:
isVisiblein interfaceResultAccessData- Returns:
- true if the document is visible
- See Also:
ResultAccessData.isVisible()
-
canRead
public final boolean canRead()
- Specified by:
canReadin interfaceResultAccessData- Returns:
- true if read operations are allowed
- See Also:
ResultAccessData.canRead()
-
canWrite
public final boolean canWrite()
- Specified by:
canWritein interfaceResultAccessData- Returns:
- true if write operations are allowed
- See Also:
ResultAccessData.canWrite()
-
canDelete
public final boolean canDelete()
- Specified by:
canDeletein interfaceResultAccessData- Returns:
- true if the document can be deleted
- See Also:
ResultAccessData.canDelete()
-
canModifyAccess
public final boolean canModifyAccess()
- Specified by:
canModifyAccessin interfaceResultAccessData- Returns:
- true if access rights can be modified
- See Also:
ResultAccessData.canModifyAccess()
-
canAnnotate
public final boolean canAnnotate()
- Specified by:
canAnnotatein interfaceResultAccessData- Returns:
- true if annotations can be added
- See Also:
ResultAccessData.canAnnotate()
-
canModifyIndex
public final boolean canModifyIndex()
- Specified by:
canModifyIndexin interfaceResultAccessData- Returns:
- true if the document's index data can be modified
- See Also:
ResultAccessData.canModifyIndex()
-
canExpandIndex
public final boolean canExpandIndex()
- Specified by:
canExpandIndexin interfaceResultAccessData- Returns:
- true if the document's index data can be expanded
- See Also:
ResultAccessData.canExpandIndex()
-
canModifyDocument
public final boolean canModifyDocument()
- Specified by:
canModifyDocumentin interfaceResultAccessData- Returns:
- true if the document's content can be modified
- See Also:
ResultAccessData.canModifyDocument()
-
canUseBlackmarker
public final boolean canUseBlackmarker()
- Specified by:
canUseBlackmarkerin interfaceResultAccessData- Returns:
- true if blackmarkers can be added
- See Also:
ResultAccessData.canUseBlackmarker()
-
canRestoreBlackmarkers
public final boolean canRestoreBlackmarkers()
- Specified by:
canRestoreBlackmarkersin interfaceResultAccessData- Returns:
- true if blackmarkers can be removed
- See Also:
ResultAccessData.canRestoreBlackmarkers()
-
canSeeRevisionHistory
public boolean canSeeRevisionHistory()
- Specified by:
canSeeRevisionHistoryin interfaceResultAccessData- Returns:
- true if the version history is allowed to be seen
- See Also:
ResultAccessData.canSeeRevisionHistory()
-
canRelease
public boolean canRelease()
- Specified by:
canReleasein interfaceResultAccessData- Returns:
- true if the user has the right to release a document
- See Also:
ResultAccessData.canRelease()
-
canExport
public boolean canExport()
- Specified by:
canExportin interfaceResultAccessData- Returns:
- true if the user has the right to export a document
- See Also:
ResultAccessData.canExport()
-
mergeFlags
public final void mergeFlags(ResultAccessData other)
Merge flags.- Specified by:
mergeFlagsin interfaceResultAccessData- Parameters:
other- Other access data- See Also:
ResultAccessData.mergeFlags(com.saperion.ngc.model.resultset.ResultAccessData)
-
mergeElementCount
public final void mergeElementCount(ResultAccessData other)
Merge element count.- Specified by:
mergeElementCountin interfaceResultAccessData- Parameters:
other- Other access data- See Also:
ResultAccessData.mergeElementCount(ResultAccessData)
-
hasCorrectStructure
public boolean hasCorrectStructure()
- Specified by:
hasCorrectStructurein interfaceResultAccessData- Returns:
- Has correct structure.
- See Also:
ResultAccessData.hasCorrectStructure()
-
setCorrectStructure
public void setCorrectStructure(boolean value)
- Specified by:
setCorrectStructurein interfaceResultAccessData- Parameters:
value- True for correct structure.- See Also:
ResultAccessData.setCorrectStructure(boolean)
-
hasStructure
public boolean hasStructure()
- Specified by:
hasStructurein interfaceResultAccessData- Returns:
- true if document is structured.
- See Also:
ResultAccessData.hasStructure()
-
setHasStructure
public void setHasStructure(boolean value)
- Specified by:
setHasStructurein interfaceResultAccessData- Parameters:
value- True if document is structured.- See Also:
ResultAccessData.setHasStructure(boolean)
-
isScanned
public boolean isScanned()
- Specified by:
isScannedin interfaceResultAccessData- Returns:
- Is scanned
- See Also:
ResultAccessData.isScanned()
-
setScanned
public void setScanned(boolean value)
- Specified by:
setScannedin interfaceResultAccessData- Parameters:
value- Is scanned type.- See Also:
ResultAccessData.setScanned(boolean)
-
getElementCount
public int getElementCount()
- Specified by:
getElementCountin interfaceResultAccessData- Returns:
- Element count
- See Also:
ResultAccessData.getElementCount()
-
setElementCount
public void setElementCount(int value)
- Specified by:
setElementCountin interfaceResultAccessData- Parameters:
value- Element count- See Also:
ResultAccessData.setElementCount(int)
-
canProlongRetention
public boolean canProlongRetention()
- Specified by:
canProlongRetentionin interfaceResultAccessData- Returns:
- true when user is allowed to prolong documents retention
- See Also:
ResultAccessData.canProlongRetention()
-
canReduceDisposition
public boolean canReduceDisposition()
- Specified by:
canReduceDispositionin interfaceResultAccessData- Returns:
- true when user is allowed to reduce documents disposition time
- See Also:
ResultAccessData.canReduceDisposition()
-
canSetLitigationHold
public boolean canSetLitigationHold()
- Specified by:
canSetLitigationHoldin interfaceResultAccessData- Returns:
- true when user is allowed to set litigation hold for this document
- See Also:
ResultAccessData.canSetLitigationHold()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-