public class SingleColumnTableSourceField extends GenericTableSourceField
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 |
---|
SingleColumnTableSourceField(String tableRelationId,
String columnName,
ISourceFieldDataType dataType) |
SingleColumnTableSourceField(String tableRelationId,
String columnName,
String dataTypeId) |
Modifier and Type | Method and Description |
---|---|
protected ISourceFieldDataType |
createDataType()
Factory method that creates a data type instance for this field.
|
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.
|
protected boolean |
isInsertable()
Indicates if the value this field represents may be inserted.
|
protected boolean |
isUpdatable()
Indicates if the value this field represents is updatable.
|
convertRowToFieldData, convertToQueryFieldValue, getAssignedValue, getDefaultInsertValue, getDisplayQueryField, getQueryAssignments, getQueryAssignments, getQueryField, getQueryFilter, getQuerySortOrders
isLookupEnabled
getColumnName, isPosition, isPrimaryKey, isPrimaryName, isSortable
addDocumentFields, addDocumentTypeFields, convertToFieldValueClass, createConverter, 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
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, isReadOnly, isRequired, isRequiredWhenVisible, isSearchable, postAdd, postDelete, postUpdate, preAdd, preDelete, preUpdate
public SingleColumnTableSourceField(String tableRelationId, String columnName, String dataTypeId) throws PortalException
PortalException
public SingleColumnTableSourceField(String tableRelationId, String columnName, ISourceFieldDataType dataType)
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.protected ISourceFieldDataType createDataType() throws PortalException
BaseSourceField
BaseSourceField.init(Source, Node)
.createDataType
in class BaseSourceField
PortalException
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
protected boolean isInsertable()
BaseTabularSourceField
isInsertable
in class BaseTabularSourceField
protected boolean isUpdatable()
BaseTabularSourceField
isUpdatable
in class BaseTabularSourceField
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.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.