public class ExperimentalGenericTableSourceField extends GenericTableSourceField
The attribute tableRelationId
is used to references a mapped
table and the attribute, queryFieldId
can be used to references a
specified mapped field, expression
can be used to replace the attribute queryFieldId
and the attribute groupBy
is used if the queryFieldId have to be grouped.
localizeResourceQueryField, lookupQueryField
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 |
---|
ExperimentalGenericTableSourceField() |
Modifier and Type | Method and Description |
---|---|
protected QueryField |
getQueryField(QueryBase queryBase)
Returns the main query field for this source field.
|
TableSourceFieldMapping |
getTableMapping(QueryBase queryBase)
Returns the table mapping for this field.
|
void |
init(Source source,
Node fieldNode)
Initializes this source field.
|
boolean |
isReadOnly()
Returns true if this field is read-only and should not be rendered
editable.
|
convertRowToFieldData, convertToQueryFieldValue, getAssignedValue, getDefaultInsertValue, getDisplayQueryField, getQueryAssignments, getQueryAssignments, getQueryField, getQueryFilter, getQuerySortOrders
isLookupEnabled
getColumnName, 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, isRequired, isRequiredWhenVisible, isSearchable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isPosition, isPrimaryKey, isSortable
addDocumentFields, addDocumentTypeFields, getConverter, getDataType, getDefaultControlDefinition, getDefaultInputControlDefinition, getDefaultValue, getDefaultViewControlDefinition, getDefinitionNode, getId, getMaximumValue, getMinimumValue, getName, getValueClass, isDisplay, isExternalData, isGetData, isIntroduction, isIntroductionImage, isKeywords, isParentId, isPrimaryName, isPublishStartDate, isRequired, isRequiredWhenVisible, isSearchable, postAdd, postDelete, postUpdate, preAdd, preDelete, preUpdate
public void init(Source source, Node fieldNode) throws PortalException
ISourceField
init
in interface ISourceField
init
in class GenericTableSourceField
source
- the source this field will belong to.fieldNode
- the xml node that contains this field's definition.PortalException
- if this field could not be initialized.public TableSourceFieldMapping getTableMapping(QueryBase queryBase) throws PortalException
ITableSourceField
getTableMapping
in interface ITableSourceField
getTableMapping
in class GenericTableSourceField
queryBase
- the query the mapping will be used.PortalException
public boolean isReadOnly()
ISourceField
isReadOnly
in interface ISourceField
isReadOnly
in class BaseSourceField
protected QueryField getQueryField(QueryBase queryBase) throws PortalException
GenericTableSourceField
getQueryField
in class GenericTableSourceField
queryBase
- the query base where the query field will be used.PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.