Package lumis.content.source.field
Class MetaDataSourceField
- java.lang.Object
-
- All Implemented Interfaces:
ISourceField
,ITabularSourceField
,ITableSourceField
- Direct Known Subclasses:
CategorizationSourceField
,ContentPerformanceField
,LocaleMetaDataSourceField
,TagSourceField
,VersionActiveField
,WorkflowAssignedToSourceField
public class MetaDataSourceField extends SingleColumnTableSourceField
A generic meta data source field.- Since:
- 4.0.4
- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetaDataSourceField.Type
-
Field Summary
-
Fields inherited from class lumis.doui.table.field.GenericTableSourceField
localizeResourceQueryField, lookupQueryField
-
Fields inherited from class lumis.doui.source.field.BaseTabularSourceField
columnName, position, primaryKey, primaryName
-
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, searchable, source
-
-
Constructor Summary
Constructors Constructor Description MetaDataSourceField(java.lang.String tableRelationId, java.lang.String columnName, java.lang.String dataTypeId, boolean sortable)
MetaDataSourceField(java.lang.String tableRelationId, java.lang.String columnName, ISourceFieldDataType dataType, boolean sortable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Node
getDefaultInputControlDefinition()
Returns the default input control definition to be used for editing this field's value.MetaDataSourceField.Type
getType()
void
init(Source source, org.w3c.dom.Node fieldNode)
Initializes this source field.protected boolean
isBigDataEnabled()
Returns if big data feature is enabled for this field.-
Methods inherited from class lumis.doui.table.field.SingleColumnTableSourceField
createDataType, getQueryField, getTableMapping, isInsertable, isUpdatable
-
Methods inherited from class lumis.doui.table.field.GenericTableSourceField
convertRowToFieldData, convertToQueryFieldValue, getAssignedValue, getDefaultInsertValue, getDisplayQueryField, getQueryAssignments, getQueryAssignments, getQueryField, getQueryFilter, getQuerySortOrders
-
Methods inherited from class lumis.doui.table.field.BaseTableSourceField
isLookupEnabled
-
Methods inherited from class lumis.doui.source.field.BaseTabularSourceField
getColumnName, isPosition, isPrimaryKey, isPrimaryName, isSortable
-
Methods inherited from class lumis.doui.source.field.BaseSourceField
addDocumentFields, addDocumentTypeFields, convertToFieldValueClass, createConverter, getConverter, getDataType, getDefaultControlDefinition, getDefaultValue, getDefaultViewControlDefinition, getDefinitionNode, getDocumentFieldBaseId, getId, getMaximumValue, getMinimumValue, getName, getValueClass, isDisplay, isExternalData, isGetData, isIntroduction, isIntroductionImage, isKeywords, isLocalize, isParentId, isPublishStartDate, isReadOnly, isRequired, isRequiredWhenVisible, isSearchable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.doui.source.field.ISourceField
addDocumentFields, addDocumentTypeFields, getConverter, getDataType, getDefaultControlDefinition, 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, prepareValueForDataCloning, preUpdate
-
Methods inherited from interface lumis.doui.source.field.ITabularSourceField
isPosition, isPrimaryKey, isSortable
-
-
-
-
Constructor Detail
-
MetaDataSourceField
public MetaDataSourceField(java.lang.String tableRelationId, java.lang.String columnName, java.lang.String dataTypeId, boolean sortable) throws PortalException
- Throws:
PortalException
-
MetaDataSourceField
public MetaDataSourceField(java.lang.String tableRelationId, java.lang.String columnName, ISourceFieldDataType dataType, boolean sortable)
-
-
Method Detail
-
init
public void init(Source source, org.w3c.dom.Node fieldNode) throws PortalException
Description copied from interface:ISourceField
Initializes this source field. This method is called by the source after the field is created and before it is used. The implementation of this method must initialize all of this instance's attributes.- Specified by:
init
in interfaceISourceField
- Overrides:
init
in classSingleColumnTableSourceField
- Parameters:
source
- the source this field will belong to.fieldNode
- the xml node that contains this field's definition.- Throws:
PortalException
- if this field could not be initialized.
-
getDefaultInputControlDefinition
public org.w3c.dom.Node getDefaultInputControlDefinition() throws PortalException
Description copied from interface:ISourceField
Returns the default input control definition to be used for editing this field's value.- Specified by:
getDefaultInputControlDefinition
in interfaceISourceField
- Overrides:
getDefaultInputControlDefinition
in classBaseSourceField
- Returns:
- the control definition node.
- Throws:
PortalException
- See Also:
ISourceField.getDefaultControlDefinition()
,ISourceField.getDefaultViewControlDefinition()
-
isBigDataEnabled
protected boolean isBigDataEnabled()
Description copied from class:BaseSourceField
Returns if big data feature is enabled for this field.- Overrides:
isBigDataEnabled
in classBaseSourceField
- Returns:
-
getType
public MetaDataSourceField.Type getType()
-
-