Package com.saperion.rmi
Interface SaACLRights
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
SaACLRightsImpl
public interface SaACLRights extends java.io.Serializable
This interface collects the permissions a user can have on a Saperion object e.g. a document. An instance of SaACLRight defines the rights a user or group has on a given object.- Author:
- rbo
-
-
Field Summary
Fields Modifier and Type Field Description static int
FLGANNOTATE
internal - do not usestatic int
FLGBLACKMARKER
internal - do not usestatic int
FLGCOMPLETE
internal - do not usestatic int
FLGDELETE
internal - do not usestatic int
FLGEXPANDINDEX
internal - do not usestatic int
FLGEXPORT
internal - do not usestatic int
FLGINDEX
internal - do not usestatic int
FLGMODIFYDOC
internal - do not usestatic int
FLGPERMISSIONS
internal - do not usestatic int
FLGREAD
internal - do not usestatic int
FLGRECORDSMANAGEMENT
internal - do not usestatic int
FLGRELEASE
internal - do not usestatic int
FLGRESTOREREVISION
internal - do not usestatic int
FLGREVISIONHISTORIE
internal - do not usestatic int
FLGRIGHTEXTENSION
internal - do not usestatic int
FLGSAVEBLACKMARKERS
internal - do not usestatic int
FLGVISIBLE
internal - do not usestatic int
FLGWRITE
internal - do not use
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canAnnotate()
This right defines whether the user may edit annotations on the object.boolean
canBlackMarker()
boolean
canComplete()
boolean
canDelete()
This right defines whether the user may delete the object.boolean
canExpandIndex()
This right defines whether the user may add new index data to the object.boolean
canExport()
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
canModifyDoc()
This right defines whether the user may change content of the object.boolean
canPermissions()
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
canRecordsManagement()
boolean
canRelease()
boolean
canRestoreRevision()
This right defines whether the user may undo changes on the object.boolean
canRevisionHistorie()
This right defines whether the user may read the revision history of the object.boolean
canRightExtension()
internal - do not use.boolean
canSaveBlackMarkers()
boolean
canVisible()
This right defines whether the user may see the object.boolean
canWrite()
This right defines whether the user may change data of the object.
-
-
-
Field Detail
-
FLGREAD
static final int FLGREAD
internal - do not use- See Also:
- Constant Field Values
-
FLGWRITE
static final int FLGWRITE
internal - do not use- See Also:
- Constant Field Values
-
FLGDELETE
static final int FLGDELETE
internal - do not use- See Also:
- Constant Field Values
-
FLGPERMISSIONS
static final int FLGPERMISSIONS
internal - do not use- See Also:
- Constant Field Values
-
FLGVISIBLE
static final int FLGVISIBLE
internal - do not use- See Also:
- Constant Field Values
-
FLGANNOTATE
static final int FLGANNOTATE
internal - do not use- See Also:
- Constant Field Values
-
FLGINDEX
static final int FLGINDEX
internal - do not use- See Also:
- Constant Field Values
-
FLGEXPANDINDEX
static final int FLGEXPANDINDEX
internal - do not use- See Also:
- Constant Field Values
-
FLGMODIFYDOC
static final int FLGMODIFYDOC
internal - do not use- See Also:
- Constant Field Values
-
FLGBLACKMARKER
static final int FLGBLACKMARKER
internal - do not use- See Also:
- Constant Field Values
-
FLGSAVEBLACKMARKERS
static final int FLGSAVEBLACKMARKERS
internal - do not use- See Also:
- Constant Field Values
-
FLGRELEASE
static final int FLGRELEASE
internal - do not use- See Also:
- Constant Field Values
-
FLGREVISIONHISTORIE
static final int FLGREVISIONHISTORIE
internal - do not use- See Also:
- Constant Field Values
-
FLGRESTOREREVISION
static final int FLGRESTOREREVISION
internal - do not use- See Also:
- Constant Field Values
-
FLGEXPORT
static final int FLGEXPORT
internal - do not use- See Also:
- Constant Field Values
-
FLGRIGHTEXTENSION
static final int FLGRIGHTEXTENSION
internal - do not use- See Also:
- Constant Field Values
-
FLGRECORDSMANAGEMENT
static final int FLGRECORDSMANAGEMENT
internal - do not use- See Also:
- Constant Field Values
-
FLGCOMPLETE
static final int FLGCOMPLETE
internal - do not use- See Also:
- Constant Field Values
-
-
Method Detail
-
canRead
boolean canRead()
This right defines whether the user may read or view data of the object.- Returns:
- whether the user may read the object
-
canWrite
boolean canWrite()
This right defines whether the user may change data of the object.- Returns:
- whether the user may change data of the object
-
canDelete
boolean canDelete()
This right defines whether the user may delete the object.- Returns:
- whether the user may delete the object
-
canPermissions
boolean canPermissions()
This right defines whether the user may change which ACLs secure the object.- Returns:
- whether the user may change which ACLs secure the object
-
canVisible
boolean canVisible()
This right defines whether the user may see the object. It is implied by any other right.- Returns:
- whether the user may see the object
-
canAnnotate
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 bycanWrite()
.- Returns:
- whether the user may edit annotations on the object
-
canIndex
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 bycanWrite()
.- Returns:
- whether the user may change index data of the object
-
canExpandIndex
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 bycanWrite()
.
Note that this right is only listed here for legacy reasons. The Saperion Java Core Server does not distinct betweencanIndex()
and canExpandIndex().- Returns:
- whether the user may new index data to the object
-
canModifyDoc
boolean canModifyDoc()
This right defines whether the user may change content of the object. This right is only valid on documents. It is implied bycanWrite()
.- Returns:
- whether the user may change content of the object
-
canBlackMarker
boolean canBlackMarker()
- Returns:
- Can black marker.
-
canSaveBlackMarkers
boolean canSaveBlackMarkers()
- Returns:
- Can save black marker.
-
canRelease
boolean canRelease()
- Returns:
- Can release.
-
canRevisionHistorie
boolean canRevisionHistorie()
This right defines whether the user may read the revision history of the object.- Returns:
- whether the user may read the revision history of the object
-
canRestoreRevision
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.- Returns:
- whether the user may undo changes on the object
-
canExport
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 betweencanRead()
and canExport().- Returns:
- whether the user may export the object
-
canRightExtension
boolean canRightExtension()
internal - do not use.
-
canRecordsManagement
boolean canRecordsManagement()
- Returns:
- Can records management.
-
canComplete
boolean canComplete()
- Returns:
- whether every existing right is set
-
-