Package lumis.doui.control.datagrid
Class DataGridControlFieldTabularSourceFieldWrapper
- java.lang.Object
-
- lumis.doui.control.datagrid.DataGridControlFieldTabularSourceFieldWrapper
-
- All Implemented Interfaces:
IDataGridControlField
public class DataGridControlFieldTabularSourceFieldWrapper extends Object implements IDataGridControlField
Wraps aIDataGridControlField
into an object the implements the interface.- Since:
- 4.0.0
- Version:
- $Revision: 14295 $ $Date: 2012-05-15 19:10:01 -0300 (Tue, 15 May 2012) $
-
-
Constructor Summary
Constructors Constructor Description DataGridControlFieldTabularSourceFieldWrapper(ITabularSourceField field)
Class constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
display()
Returns the value of the display attribute.static List<IDataGridControlField>
getFields(List<ITabularSourceField> tabularSourceFields)
Returns the datagrid fields list.String
getId()
Returns the value of the id attribute.String
getName()
Returns the value of the name attribute.boolean
isPrimaryKey()
Returns the value of the isPrimaryKey attribute.boolean
required()
Returns the value of the required attribute.
-
-
-
Constructor Detail
-
DataGridControlFieldTabularSourceFieldWrapper
public DataGridControlFieldTabularSourceFieldWrapper(ITabularSourceField field)
Class constructor- Parameters:
field
-- Since:
- 4.0.0
-
-
Method Detail
-
getFields
public static List<IDataGridControlField> getFields(List<ITabularSourceField> tabularSourceFields) throws PortalException
Returns the datagrid fields list.- Parameters:
tabularSourceFields
-- Returns:
- the datagrid fields list.
- Throws:
PortalException
- Since:
- 4.0.0
-
display
public boolean display() throws PortalException
Description copied from interface:IDataGridControlField
Returns the value of the display attribute.- Specified by:
display
in interfaceIDataGridControlField
- Throws:
PortalException
-
getId
public String getId() throws PortalException
Description copied from interface:IDataGridControlField
Returns the value of the id attribute.- Specified by:
getId
in interfaceIDataGridControlField
- Throws:
PortalException
-
getName
public String getName() throws PortalException
Description copied from interface:IDataGridControlField
Returns the value of the name attribute.- Specified by:
getName
in interfaceIDataGridControlField
- Throws:
PortalException
-
isPrimaryKey
public boolean isPrimaryKey() throws PortalException
Description copied from interface:IDataGridControlField
Returns the value of the isPrimaryKey attribute.- Specified by:
isPrimaryKey
in interfaceIDataGridControlField
- Throws:
PortalException
-
required
public boolean required() throws PortalException
Description copied from interface:IDataGridControlField
Returns the value of the required attribute.- Specified by:
required
in interfaceIDataGridControlField
- Throws:
PortalException
-
-