|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.doui.source.field.BaseSourceField lumis.doui.source.field.BaseTabularSourceField lumis.doui.table.field.BaseTableSourceField
@StableMinor(version="6.2", sinceVersion="4.0") public abstract class BaseTableSourceField
Base implementation for the ITableSourceField
interface.
Field Summary |
---|
Fields inherited from class lumis.doui.source.field.BaseTabularSourceField |
---|
columnName, primaryKey, primaryName, searchable |
Fields inherited from class lumis.doui.source.field.BaseSourceField |
---|
converter, dataType, defaultValue, definitionNode, display, doOptionLookup, externalData, getData, id, introduction, keywords, localize, maximumValue, minimumValue, name, parentId, pattern, readOnly, required, requiredWhenVisible, source |
Constructor Summary | |
---|---|
BaseTableSourceField()
|
Method Summary | |
---|---|
abstract Object |
getAssignedValue(QueryBase queryBase)
Returns the value assigned as this field's value in the given query. |
abstract List<QueryAssignment> |
getQueryAssignments(QueryInsert queryInsert,
IParameters parameters)
Returns a list of query assignments to be used in the given query insert. |
abstract List<QueryAssignment> |
getQueryAssignments(QueryUpdate queryUpdate,
IParameters parameters)
Returns a list of query assignments to be used in the given query update. |
abstract IQueryFilter |
getQueryFilter(QueryBase queryBase,
TableSourceFilter filter)
Returns a query filter for this field. |
abstract List<QuerySortOrder> |
getQuerySortOrders(QueryBase queryBase,
String direction)
Returns a list of sort orders to be applied when it is to be ordered by this field. |
abstract TableSourceFieldMapping |
getTableMapping(QueryBase queryBase)
Returns the table mapping for this field. |
protected boolean |
isLookupEnabled()
Returns if the lookup is enabled for this field. |
Methods inherited from class lumis.doui.source.field.BaseTabularSourceField |
---|
convertRowToFieldData, getColumnName, init, isInsertable, isPrimaryKey, isPrimaryName, isSearchable, isUpdatable |
Methods inherited from class lumis.doui.source.field.BaseSourceField |
---|
convertToFieldValueClass, createConverter, createDataType, getConverter, getDataType, getDefaultControlDefinition, getDefaultInputControlDefinition, getDefaultValue, getDefaultViewControlDefinition, getDefinitionNode, getId, getMaximumValue, getMinimumValue, getName, getValueClass, isDisplay, isExternalData, isGetData, isIntroduction, isKeywords, isLocalize, isParentId, isReadOnly, isRequired, isRequiredWhenVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface lumis.doui.table.field.ITableSourceField |
---|
getDisplayQueryField |
Methods inherited from interface lumis.doui.source.field.ITabularSourceField |
---|
convertRowToFieldData, isPrimaryKey, isSearchable |
Methods inherited from interface lumis.doui.source.field.ISourceField |
---|
getConverter, getDataType, getDefaultControlDefinition, getDefaultInputControlDefinition, getDefaultValue, getDefaultViewControlDefinition, getDefinitionNode, getId, getMaximumValue, getMinimumValue, getName, getValueClass, init, isDisplay, isExternalData, isGetData, isIntroduction, isKeywords, isParentId, isPrimaryName, isReadOnly, isRequired, isRequiredWhenVisible |
Constructor Detail |
---|
public BaseTableSourceField()
Method Detail |
---|
public abstract TableSourceFieldMapping getTableMapping(QueryBase queryBase) throws PortalException
ITableSourceField
getTableMapping
in interface ITableSourceField
queryBase
- the query the mapping will be used.
PortalException
public abstract IQueryFilter getQueryFilter(QueryBase queryBase, TableSourceFilter filter) throws PortalException
ITableSourceField
getQueryFilter
in interface ITableSourceField
queryBase
- the query where the filter will be applied to.filter
- the filter definition.
PortalException
public abstract List<QuerySortOrder> getQuerySortOrders(QueryBase queryBase, String direction) throws PortalException
ITableSourceField
getQuerySortOrders
in interface ITableSourceField
queryBase
- the query where the sort orders will be applied to.direction
- the direction this field is to be sorted.
PortalException
public abstract List<QueryAssignment> getQueryAssignments(QueryInsert queryInsert, IParameters parameters) throws PortalException
ITableSourceField
getQueryAssignments
in interface ITableSourceField
queryInsert
- the query insert.parameters
- the parameters with the values to be used.
PortalException
public abstract List<QueryAssignment> getQueryAssignments(QueryUpdate queryUpdate, IParameters parameters) throws PortalException
ITableSourceField
getQueryAssignments
in interface ITableSourceField
parameters
- the parameters with the values to be used.
PortalException
public abstract Object getAssignedValue(QueryBase queryBase) throws PortalException
ITableSourceField
getAssignedValue
in interface ITableSourceField
queryBase
- the query.
PortalException
protected boolean isLookupEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |