public class ProtectedEditableModelImpl extends Object implements ProtectedEditableModel
Modifier and Type | Field and Description |
---|---|
protected javax.el.ValueExpression |
binding |
protected String |
componentId |
protected EditableModel |
delegate |
protected ProtectedEditableModel |
parent |
Constructor and Description |
---|
ProtectedEditableModelImpl(String compId,
EditableModel delegate,
ProtectedEditableModel parent,
javax.el.ValueExpression binding) |
Modifier and Type | Method and Description |
---|---|
javax.el.ValueExpression |
getBinding() |
String |
getComponentId()
Returns the originating JSF component id this model is attached to.
|
ProtectedEditableModel |
getParent() |
int |
getRowCount() |
Object |
getRowData() |
int |
getRowIndex() |
boolean |
isRowNew() |
void |
setRowData(Object rowData)
Sets row data using given value.
|
String |
toString() |
protected final String componentId
protected final EditableModel delegate
protected final ProtectedEditableModel parent
protected final javax.el.ValueExpression binding
public ProtectedEditableModelImpl(String compId, EditableModel delegate, ProtectedEditableModel parent, javax.el.ValueExpression binding)
public String getComponentId()
ProtectedEditableModel
Useful to debug model exposure to the context.
getComponentId
in interface ProtectedEditableModel
public int getRowCount()
getRowCount
in interface ProtectedEditableModel
DataModel.getRowCount()
public Object getRowData()
getRowData
in interface ProtectedEditableModel
DataModel.getRowData()
public int getRowIndex()
getRowIndex
in interface ProtectedEditableModel
DataModel.getRowIndex()
public void setRowData(Object rowData)
ProtectedEditableModel
setRowData
in interface ProtectedEditableModel
public boolean isRowNew()
isRowNew
in interface ProtectedEditableModel
EditableModel.isRowNew()
public javax.el.ValueExpression getBinding()
getBinding
in interface ProtectedEditableModel
public ProtectedEditableModel getParent()
getParent
in interface ProtectedEditableModel
Copyright © 2018 Nuxeo. All rights reserved.