|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StringMetaRight
This interface is responsible for managing the canonical rights for all the base objects, called metarights. As any StringRight, it provides rights in a rights network, but metarights have no links to ACS.
For each ACS, the metaright may be associated to one StringRightImpl in the rights network managed by every ACS.
A metaright has a location in the matrix (power,field) of metarights. So, each metaright has:
- a power, which is bigger as the power of the right is higher
- a field, which is the number of a column where the near metarights are grouped
A metaright may be in a floating subnetwork of one or several ACS rights which are not associated to the main stream of metarights, without any capacity to compare the powers.
Note: the implementation class is not a subclass of StringRightImpl, to be faster.
| Method Summary | |
|---|---|
void |
addUpperRight(StringMetaRight _right)
Add an upper metaright which are strictly greater than this metaright without any intermediate right, following the network of metarights. |
StringRight[] |
getACSRightsForOneACS(ImmutableName _aCSname)
Get the StringRights which are equivallent to this MetaStringRight in one ACS. |
int |
getField()
Get the field, which is the colomn value in the matrix (power, field) which helps to locate the metaright. |
boolean |
getInFloatingSubNetwork()
|
java.util.Map |
getM_ACSRights()
Get the ACS StringRights which are strictly equivallent to this MetaStrinRight in each ACS. |
int |
getPower()
Get the power, which is the line value in the matrix (power, field) which helps to locate the metaright. |
boolean |
isUnused()
When some relevant ACS are closed, the link to them remain in this metaright. |
void |
removeUpperRight(StringMetaRight _right,
java.lang.Object _caller)
Remove a upper metaright which are strictly greater than this metaright without any intermediate right, following the network of metarights. |
void |
setInFloatingSubNetwork(boolean _b)
|
| Methods inherited from interface ARoad0.gBaseInterface.StringRight |
|---|
compareTo, equals, finalizeForUser, getAcsName, getComment, getEorMetaRight, getFullName, getInternalKey, getLowerRights, getNickName, getRight, getTargetClass, getTargetClassType, getUpperRights, hashCode, isDesactivated, isEmpty, isGrantingRight, isParent, isSlave, isTargetClassed, isTargetClassTyped, setComment, setDesactivated, setParent, setSlave, toString |
| Methods inherited from interface ARoad0.gBaseInterface.BaseObject |
|---|
getName |
| Methods inherited from interface ARoad0.gBaseInterface.FinalizedObject |
|---|
finalizeForBase |
| Methods inherited from interface ARoad0.gBaseInterface.BoundBean |
|---|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
| Method Detail |
|---|
int getPower()
int getField()
java.util.Map getM_ACSRights()
StringRight[] getACSRightsForOneACS(ImmutableName _aCSname)
_aCSname - an ACS name
boolean getInFloatingSubNetwork()
void setInFloatingSubNetwork(boolean _b)
_b - is true if the metaright is in a floating subnetwork for an ACS,
without any association to the main metarights in the network.boolean isUnused()
void addUpperRight(StringMetaRight _right)
throws BaseError
_right - is directly included in this right. Never null.
BaseError - if the right is a slave, or the upper right
is not superior to this instance, or the parameter is null.
void removeUpperRight(StringMetaRight _right,
java.lang.Object _caller)
_right - is directly included in this right. Never null._caller - is the object which calls this method; used to
identify the finalize operation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||