Package com.saperion.rmi
Class SaACLRightsImpl
java.lang.Object
com.saperion.rmi.SaACLRightsImpl
- All Implemented Interfaces:
SaACLRights
,Serializable
Implementation of the
SaACLRights
interface.- Author:
- rbo
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionboolean
This right defines whether the user may edit annotations on the object.boolean
boolean
boolean
This right defines whether the user may delete the object.boolean
This right defines whether the user may add new index data to the object.boolean
This right defines whether the user may export the object.boolean
canIndex()
This right defines whether the user may change index data of the object.boolean
This right defines whether the user may change content of the object.boolean
This right defines whether the user may change which ACLs secure the object.boolean
canRead()
This right defines whether the user may read or view data of the object.boolean
boolean
boolean
This right defines whether the user may undo changes on the object.boolean
This right defines whether the user may read the revision history of the object.boolean
internal - do not use.boolean
boolean
This right defines whether the user may see the object.boolean
canWrite()
This right defines whether the user may change data of the object.
-
Constructor Details
-
SaACLRightsImpl
public SaACLRightsImpl(int aclRights) Constructor.- Parameters:
aclRights
- ACL rights
-
-
Method Details
-
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:
canAnnotate
in interfaceSaACLRights
- Returns:
- whether the user may edit annotations on the object
- See Also:
-
canBlackMarker
public boolean canBlackMarker()- Specified by:
canBlackMarker
in interfaceSaACLRights
- Returns:
- Can black marker.
- See Also:
-
canComplete
public boolean canComplete()- Specified by:
canComplete
in interfaceSaACLRights
- Returns:
- whether every existing right is set
- See Also:
-
canDelete
public boolean canDelete()This right defines whether the user may delete the object.- Specified by:
canDelete
in interfaceSaACLRights
- Returns:
- whether the user may delete the object
- See Also:
-
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:
canExpandIndex
in interfaceSaACLRights
- Returns:
- whether the user may new index data to the object
- See Also:
-
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:
canExport
in interfaceSaACLRights
- Returns:
- whether the user may export the object
- See Also:
-
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:
canIndex
in interfaceSaACLRights
- Returns:
- whether the user may change index data of the object
- See Also:
-
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:
canModifyDoc
in interfaceSaACLRights
- Returns:
- whether the user may change content of the object
- See Also:
-
canPermissions
public boolean canPermissions()This right defines whether the user may change which ACLs secure the object.- Specified by:
canPermissions
in interfaceSaACLRights
- Returns:
- whether the user may change which ACLs secure the object
- See Also:
-
canRead
public boolean canRead()This right defines whether the user may read or view data of the object.- Specified by:
canRead
in interfaceSaACLRights
- Returns:
- whether the user may read the object
- See Also:
-
canRecordsManagement
public boolean canRecordsManagement()- Specified by:
canRecordsManagement
in interfaceSaACLRights
- Returns:
- Can records management.
- See Also:
-
canRelease
public boolean canRelease()- Specified by:
canRelease
in interfaceSaACLRights
- Returns:
- Can release.
- See Also:
-
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:
canRestoreRevision
in interfaceSaACLRights
- Returns:
- whether the user may undo changes on the object
- See Also:
-
canRevisionHistorie
public boolean canRevisionHistorie()This right defines whether the user may read the revision history of the object.- Specified by:
canRevisionHistorie
in interfaceSaACLRights
- Returns:
- whether the user may read the revision history of the object
- See Also:
-
canRightExtension
public boolean canRightExtension()internal - do not use.- Specified by:
canRightExtension
in interfaceSaACLRights
- See Also:
-
canSaveBlackMarkers
public boolean canSaveBlackMarkers()- Specified by:
canSaveBlackMarkers
in interfaceSaACLRights
- Returns:
- Can save black marker.
- See Also:
-
canVisible
public boolean canVisible()This right defines whether the user may see the object. It is implied by any other right.- Specified by:
canVisible
in interfaceSaACLRights
- Returns:
- whether the user may see the object
- See Also:
-
canWrite
public boolean canWrite()This right defines whether the user may change data of the object.- Specified by:
canWrite
in interfaceSaACLRights
- Returns:
- whether the user may change data of the object
- See Also:
-