@StableMinor(version="12.4", sinceVersion="4.0") public abstract class BaseTableSourceField extends BaseTabularSourceField implements ITableSourceField
ITableSourceField
interface.columnName, position, primaryKey, primaryName, sortable
converter, dataType, defaultValue, definitionNode, display, doOptionLookup, externalData, getData, id, introduction, keywords, localize, maximumValue, minimumValue, name, parentId, pattern, readOnly, required, requiredWhenVisible, searchable, source
Constructor and Description |
---|
BaseTableSourceField() |
Modifier and Type | Method and Description |
---|---|
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.
|
convertRowToFieldData, getColumnName, init, isInsertable, isPosition, isPrimaryKey, isPrimaryName, isSortable, isUpdatable
addDocumentFields, addDocumentTypeFields, convertToFieldValueClass, createConverter, createDataType, getConverter, getDataType, getDefaultControlDefinition, getDefaultInputControlDefinition, getDefaultValue, getDefaultViewControlDefinition, getDefinitionNode, getDocumentFieldBaseId, getId, getMaximumValue, getMinimumValue, getName, getValueClass, isBigDataEnabled, isDisplay, isExternalData, isGetData, isIntroduction, isIntroductionImage, isKeywords, isLocalize, isParentId, isPublishStartDate, isReadOnly, isRequired, isRequiredWhenVisible, isSearchable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayQueryField
convertRowToFieldData, isPosition, isPrimaryKey, isSortable
addDocumentFields, addDocumentTypeFields, getConverter, getDataType, getDefaultControlDefinition, getDefaultInputControlDefinition, getDefaultValue, getDefaultViewControlDefinition, getDefinitionNode, getId, getMaximumValue, getMinimumValue, getName, getValueClass, init, isDisplay, isExternalData, isGetData, isIntroduction, isIntroductionImage, isKeywords, isParentId, isPrimaryName, isPublishStartDate, isReadOnly, isRequired, isRequiredWhenVisible, isSearchable, postAdd, postDelete, postUpdate, preAdd, preDelete, preUpdate
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()
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.