AccessControlMatrix class
Managing the AcmSubjects and AcmObjects.
Constructors
- AccessControlMatrix()
-
factory
Properties
Methods
-
addObject(
AcmObject object) → void -
addObjects(
List< AcmObject> objects) → void - Adds to the list of AcmObjects in bulk.
-
addSubject(
AcmSubject subject) → void -
addSubjects(
List< AcmSubject> subjects) → void - Adds to the list of AcmSubjects in bulk.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
printAcm(
) → void - Prints the access control matrix in a human-understandable format. [...]
-
printUsers(
) → bool - Prints the users/subjects stored in the acm. Returns true if there are users; otherwise, false.
-
removeObject(
AcmObject object) → bool - Removes the given AcmObject. Returns true if succesful; otherwise, false.
-
removeSubject(
AcmSubject subject) → bool - Removes the given AcmSubject. Returns true if succesful; otherwise, false.
-
removeSubjectById(
int id) → void -
Attempts to remove subject by the given
id
. -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited