| Modifier | Constructor and Description |
|---|---|
protected |
Table.ComponentsPermissionsStore() |
| Modifier and Type | Method and Description |
|---|---|
int |
addKey(String key)
Adds a new component key to the components key collection, and
returns the index set.
|
void |
addTableFormPermission(String key,
String type,
TableFormPermission tableFormPermission)
Adds a new Permission to the corresponding pair component-permission
type.
|
int |
addType(String type)
Adds a new type to the types collection, and returns the index set to
the new type.
|
TableFormPermission |
get(String key,
String type)
Returns the permission form the component key corresponding to the
permission determined by type.
|
int |
getIdKey(String key)
Returns the index corresponding to the key passed as parameter.
|
int |
getTypeId(String type)
Returns the index corresponding to the different permissions set for
this table, for example "visible" or "enabled"
|
public TableFormPermission get(String key, String type)
key - the componenttype - the permissionpublic int getIdKey(String key)
key - a component keypublic int getTypeId(String type)
type - the permission typepublic int addType(String type)
type - the type to addpublic int addKey(String key)
key - new component key to addpublic void addTableFormPermission(String key, String type, TableFormPermission tableFormPermission)
key - type - tableFormPermission - Copyright © 2016 Imatia Innovation S.L.. All rights reserved.