Package com.saperion.rmi
Class SaACLRightsImpl
- java.lang.Object
-
- com.saperion.rmi.SaACLRightsImpl
-
- All Implemented Interfaces:
SaACLRights,java.io.Serializable
public class SaACLRightsImpl extends java.lang.Object implements SaACLRights
Implementation of theSaACLRightsinterface.- Author:
- rbo
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.saperion.rmi.SaACLRights
FLGANNOTATE, FLGBLACKMARKER, FLGCOMPLETE, FLGDELETE, FLGEXPANDINDEX, FLGEXPORT, FLGINDEX, FLGMODIFYDOC, FLGPERMISSIONS, FLGREAD, FLGRECORDSMANAGEMENT, FLGRELEASE, FLGRESTOREREVISION, FLGREVISIONHISTORIE, FLGRIGHTEXTENSION, FLGSAVEBLACKMARKERS, FLGVISIBLE, FLGWRITE
-
-
Constructor Summary
Constructors Constructor Description SaACLRightsImpl(int aclRights)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanAnnotate()This right defines whether the user may edit annotations on the object.booleancanBlackMarker()booleancanComplete()booleancanDelete()This right defines whether the user may delete the object.booleancanExpandIndex()This right defines whether the user may add new index data to the object.booleancanExport()This right defines whether the user may export the object.booleancanIndex()This right defines whether the user may change index data of the object.booleancanModifyDoc()This right defines whether the user may change content of the object.booleancanPermissions()This right defines whether the user may change which ACLs secure the object.booleancanRead()This right defines whether the user may read or view data of the object.booleancanRecordsManagement()booleancanRelease()booleancanRestoreRevision()This right defines whether the user may undo changes on the object.booleancanRevisionHistorie()This right defines whether the user may read the revision history of the object.booleancanRightExtension()internal - do not use.booleancanSaveBlackMarkers()booleancanVisible()This right defines whether the user may see the object.booleancanWrite()This right defines whether the user may change data of the object.
-
-
-
Method Detail
-
canAnnotate
public boolean canAnnotate()
This right defines whether the user may edit annotations on the object. This right is only valid on documents and it is implied bySaACLRights.canWrite().- Specified by:
canAnnotatein interfaceSaACLRights- Returns:
- whether the user may edit annotations on the object
- See Also:
SaACLRights.canAnnotate()
-
canBlackMarker
public boolean canBlackMarker()
- Specified by:
canBlackMarkerin interfaceSaACLRights- Returns:
- Can black marker.
- See Also:
SaACLRights.canBlackMarker()
-
canComplete
public boolean canComplete()
- Specified by:
canCompletein interfaceSaACLRights- Returns:
- whether every existing right is set
- See Also:
SaACLRights.canComplete()
-
canDelete
public boolean canDelete()
This right defines whether the user may delete the object.- Specified by:
canDeletein interfaceSaACLRights- Returns:
- whether the user may delete the object
- See Also:
SaACLRights.canDelete()
-
canExpandIndex
public boolean canExpandIndex()
This right defines whether the user may add new index data to the object. This right is only valid on documents and lookup entries. It is implied bySaACLRights.canWrite().
Note that this right is only listed here for legacy reasons. The Saperion Java Core Server does not distinct betweenSaACLRights.canIndex()and canExpandIndex().- Specified by:
canExpandIndexin interfaceSaACLRights- Returns:
- whether the user may new index data to the object
- See Also:
SaACLRights.canExpandIndex()
-
canExport
public boolean canExport()
This right defines whether the user may export the object.
Note that this right is only listed here for legacy reasons. The Saperion Java Core Server does not distinct betweenSaACLRights.canRead()and canExport().- Specified by:
canExportin interfaceSaACLRights- Returns:
- whether the user may export the object
- See Also:
SaACLRights.canExport()
-
canIndex
public boolean canIndex()
This right defines whether the user may change index data of the object. This right is only valid on documents and lookup entries. It is implied bySaACLRights.canWrite().- Specified by:
canIndexin interfaceSaACLRights- Returns:
- whether the user may change index data of the object
- See Also:
SaACLRights.canIndex()
-
canModifyDoc
public boolean canModifyDoc()
This right defines whether the user may change content of the object. This right is only valid on documents. It is implied bySaACLRights.canWrite().- Specified by:
canModifyDocin interfaceSaACLRights- Returns:
- whether the user may change content of the object
- See Also:
SaACLRights.canModifyDoc()
-
canPermissions
public boolean canPermissions()
This right defines whether the user may change which ACLs secure the object.- Specified by:
canPermissionsin interfaceSaACLRights- Returns:
- whether the user may change which ACLs secure the object
- See Also:
SaACLRights.canPermissions()
-
canRead
public boolean canRead()
This right defines whether the user may read or view data of the object.- Specified by:
canReadin interfaceSaACLRights- Returns:
- whether the user may read the object
- See Also:
SaACLRights.canRead()
-
canRecordsManagement
public boolean canRecordsManagement()
- Specified by:
canRecordsManagementin interfaceSaACLRights- Returns:
- Can records management.
- See Also:
SaACLRights.canRecordsManagement()
-
canRelease
public boolean canRelease()
- Specified by:
canReleasein interfaceSaACLRights- Returns:
- Can release.
- See Also:
SaACLRights.canRelease()
-
canRestoreRevision
public boolean canRestoreRevision()
This right defines whether the user may undo changes on the object. More specifically a user that has this right may create a new revision that is equal to one of the earlier revisions of the object.- Specified by:
canRestoreRevisionin interfaceSaACLRights- Returns:
- whether the user may undo changes on the object
- See Also:
SaACLRights.canRestoreRevision()
-
canRevisionHistorie
public boolean canRevisionHistorie()
This right defines whether the user may read the revision history of the object.- Specified by:
canRevisionHistoriein interfaceSaACLRights- Returns:
- whether the user may read the revision history of the object
- See Also:
SaACLRights.canRevisionHistorie()
-
canRightExtension
public boolean canRightExtension()
internal - do not use.- Specified by:
canRightExtensionin interfaceSaACLRights- See Also:
SaACLRights.canRightExtension()
-
canSaveBlackMarkers
public boolean canSaveBlackMarkers()
- Specified by:
canSaveBlackMarkersin interfaceSaACLRights- Returns:
- Can save black marker.
- See Also:
SaACLRights.canSaveBlackMarkers()
-
canVisible
public boolean canVisible()
This right defines whether the user may see the object. It is implied by any other right.- Specified by:
canVisiblein interfaceSaACLRights- Returns:
- whether the user may see the object
- See Also:
SaACLRights.canVisible()
-
canWrite
public boolean canWrite()
This right defines whether the user may change data of the object.- Specified by:
canWritein interfaceSaACLRights- Returns:
- whether the user may change data of the object
- See Also:
SaACLRights.canWrite()
-
-