public class EntityRestrictor extends BaseManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
void |
addEntity(java.lang.String entity)
Adds access to the specified entity for the entire server.
|
void |
addEntity(java.lang.String catalogName,
java.lang.String entity)
Adds access to the specified entity for the specified catalog.
|
java.util.List<java.lang.String> |
getEntities()
Returns a list of all entities currently accessible at the entire server.
|
java.util.List<java.lang.String> |
getEntities(java.lang.String catalogName)
Returns a list of all entities currently accessible for the specified catalog.
|
void |
removeEntity(java.lang.String entity)
Removes access to the specified entity for the entire server.
|
void |
removeEntity(java.lang.String catalogName,
java.lang.String entity)
Removes access to the specified entity for the specified catalog.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public void addEntity(java.lang.String entity)
entity
- the entity to allow access forpublic void removeEntity(java.lang.String entity)
entity
- the entity to remove access topublic java.util.List<java.lang.String> getEntities()
public void addEntity(java.lang.String catalogName, java.lang.String entity)
catalogName
- the name of the catalog to allow the entity forentity
- the entity to allow access forpublic void removeEntity(java.lang.String catalogName, java.lang.String entity)
catalogName
- the name of the catalog to remove the entity forentity
- the entity to remove access forpublic java.util.List<java.lang.String> getEntities(java.lang.String catalogName)
catalogName
- name to get the entities forwww.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.