|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontimize.gui.table.Table.ComponentsPermissionsStore
Class that stores all the permissions for all the table components
| Constructor Summary | |
protected |
Table.ComponentsPermissionsStore()
|
| Method Summary | |
int |
addKey(java.lang.String key)
Adds a new component key to the components key collection, and returns the index set. |
void |
addTableFormPermission(java.lang.String key,
java.lang.String type,
TableFormPermission tableFormPermission)
Adds a new Permission to the corresponding pair component-permission type. |
int |
addType(java.lang.String type)
Adds a new type to the types collection, and returns the index set to the new type. |
TableFormPermission |
get(java.lang.String key,
java.lang.String type)
Returns the permission form the component key corresponding to the permission determined by type. |
int |
getIdKey(java.lang.String key)
Returns the index corresponding to the key passed as parameter. |
int |
getTypeId(java.lang.String type)
Returns the index corresponding to the different permissions set for this table, for example "visible" or "enabled" |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Table.ComponentsPermissionsStore()
| Method Detail |
public TableFormPermission get(java.lang.String key,
java.lang.String type)
key - the componenttype - the permission
public int getIdKey(java.lang.String key)
key - a component key
public int getTypeId(java.lang.String type)
type - the permission type
public int addType(java.lang.String type)
type - the type to add
public int addKey(java.lang.String key)
key - new component key to add
public void addTableFormPermission(java.lang.String key,
java.lang.String type,
TableFormPermission tableFormPermission)
key - type - tableFormPermission -
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||