public class SecurityTableEntry extends DefaultPdoTableEntry<Security>
Security rule.| Modifier and Type | Field and Description |
|---|---|
protected static int |
ALLOW |
protected static String[] |
columnNames |
protected static int |
CONTEXT |
static Class[] |
contextClasses
For multi-tenancy the base context class and all its child context classes may be defined here.
|
protected static int |
GRANTEE |
static Class<? extends PersistentDomainObject> |
granteeClazz
By default there is only one grantee-class for the grantee cell editor.
|
protected static int |
PERMISSIONS |
protected static int |
TEXT |
| Constructor and Description |
|---|
SecurityTableEntry(Security security)
Creates a table entry.
|
| Modifier and Type | Method and Description |
|---|---|
TableCellEditor |
getCellEditor(int col) |
TableCellRenderer |
getCellRenderer(int col) |
int |
getColumnCount() |
String |
getColumnName(int col) |
String |
getDisplayedColumnName(int col) |
Object |
getValueAt(int col) |
boolean |
isCellEditable(int mColumn) |
SecurityTableEntry |
newInstance(Security object) |
PersistentDomainObject |
selectGrantee()
Selects the grantee.
|
void |
setValueAt(int col,
Object obj) |
getGuiProvider, getObjectcompareTo, fireCellsUpdated, fireRowUpdated, getAdjust, getBinding, getBindingPath, getBindType, getCellRect, getColumnClass, getConvert, getFormat, getHorizontalAlignment, getMaxColumns, getModel, getReferencedColumn, getReferencedRow, getRow, getScale, getShowHorizontalLine, getShowVerticalLine, getTable, getVerticalAlignment, isAutoSelect, isBindingChangeable, isBlankZero, isCellEditorFixed, isCellRectFixed, isCellRendererFixed, isCellVisible, isColumnNotSummable, isVisiblyEqual, setModel, setRow, updateArray, updateCursor, updateListpublic static Class<? extends PersistentDomainObject> granteeClazz
public static Class[] contextClasses
protected static final int GRANTEE
protected static final int CONTEXT
protected static final int PERMISSIONS
protected static final int TEXT
protected static final int ALLOW
protected static final String[] columnNames
public SecurityTableEntry(Security security)
security - the security objectpublic SecurityTableEntry newInstance(Security object)
newInstance in class DefaultPdoTableEntry<Security>public String getColumnName(int col)
getColumnName in class DefaultPdoTableEntry<Security>public String getDisplayedColumnName(int col)
getDisplayedColumnName in class FormTableEntry<Security>public boolean isCellEditable(int mColumn)
All cells are editable, except CONTEXT which is only
editable if contextClasses is not null.
isCellEditable in class FormTableEntry<Security>public int getColumnCount()
getColumnCount in class DefaultPdoTableEntry<Security>public Object getValueAt(int col)
getValueAt in interface FormTableRowObjectgetValueAt in class DefaultPdoTableEntry<Security>public void setValueAt(int col,
Object obj)
setValueAt in interface FormTableRowObjectsetValueAt in class FormTableEntry<Security>public TableCellRenderer getCellRenderer(int col)
getCellRenderer in class FormTableEntry<Security>public TableCellEditor getCellEditor(int col)
getCellEditor in class FormTableEntry<Security>public PersistentDomainObject selectGrantee()
PdoSearchDialog.
for the grantee class.Tentackle - a domain driven enterprise framework