Add a new group.
Group principal names are expressed as {principal}.{subprincipal} where "." is the separator expressing the hierarchical nature of a group.
Group principal path names are stored leveraging the {@link Preferences}api. Groups will be stored under /group/theGroupName/theGroupNameChild when given the full path name theGroupName.theGroupNameChild. @param groupFullPathName The group name full path (e.g.theGroupName.theGroupNameChild). @throws Throws a security exception.
LinkedModeModel
. This method may not be called if the model has been installed. Also, if a UI has been set up for this model, it may not pick up groups added afterwards. If the positions in group
conflict with any other group in this model, a BadLocationException
is thrown. Also, if this model is nested inside another one, all positions in all groups of the child model have to reside within a single position in the parent model, otherwise a BadLocationException
is thrown.
If group
already exists, nothing happens.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|