protected class InitialRightsEditor.RightsHolder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected InitialRight[] |
availableRight |
protected InitialRight[] |
initRights |
Constructor and Description |
---|
InitialRightsEditor.RightsHolder(InitialRight[] initRights)
Main Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addRightsForRoles(T_LONGLONG[] groups,
T_LONGLONG refAid)
Adds the rights for a list of user groups with a refAID
|
void |
deleteRights(int[] idx)
Deletes the rights from the array of existing rights.
|
int |
getSize()
Returns the amount of existing rights
|
protected InitialRight[] initRights
protected InitialRight[] availableRight
public InitialRightsEditor.RightsHolder(InitialRight[] initRights)
initRights
- the initial rightspublic void addRightsForRoles(T_LONGLONG[] groups, T_LONGLONG refAid)
groups
- the groups for which to add the rightsrefAid
- the refAIDpublic void deleteRights(int[] idx)
idx
- public int getSize()