public class ServerPermissions extends BaseManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
void |
addServerPermission(java.lang.String sPermission)
Adds the specified server permission to the role.
|
java.util.List<java.lang.String> |
getServerPermissions()
Returns a list of all server permissions assigned to the role.
|
void |
removeServerPermission(java.lang.String sPermission)
Removes the specified server permission from the role.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public void addServerPermission(java.lang.String sPermission)
sPermission
- the server permission to addpublic void removeServerPermission(java.lang.String sPermission)
sPermission
- the permission to removepublic java.util.List<java.lang.String> getServerPermissions()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.