|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.doui.source.field.BaseSourceField
lumis.doui.source.field.BaseTabularSourceField
lumis.doui.table.field.BaseTableSourceField
lumis.doui.table.field.GenericTableSourceField
lumis.doui.table.field.SingleColumnTableSourceField
lumis.content.source.field.MetaDataSourceField
lumis.content.source.field.VersionActiveField
public class VersionActiveField
Boolean field that indicates if the current version is active or not.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class lumis.content.source.field.MetaDataSourceField |
---|
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, 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 | |
---|---|
VersionActiveField()
|
Method Summary | |
---|---|
void |
convertRowToFieldData(ISourceData databaseRow,
ISourceData sourceRow)
Converts a row read from the data provider to this source field type. |
TableSourceFieldMapping |
getTableMapping(QueryBase queryBase)
Returns the table mapping for this field. |
void |
init(Source source,
org.w3c.dom.Node fieldNode)
Initializes this source field. |
Methods inherited from class lumis.content.source.field.MetaDataSourceField |
---|
getDefaultInputControlDefinition, getType |
Methods inherited from class lumis.doui.table.field.SingleColumnTableSourceField |
---|
createDataType, getQueryField, isInsertable, isUpdatable |
Methods inherited from class lumis.doui.table.field.GenericTableSourceField |
---|
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, isPrimaryKey, isPrimaryName, isSearchable |
Methods inherited from class lumis.doui.source.field.BaseSourceField |
---|
convertToFieldValueClass, createConverter, getConverter, getDataType, getDefaultControlDefinition, 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.source.field.ITabularSourceField |
---|
isPrimaryKey, isSearchable |
Methods inherited from interface lumis.doui.source.field.ISourceField |
---|
getConverter, getDataType, getDefaultControlDefinition, getDefaultValue, getDefaultViewControlDefinition, getDefinitionNode, getId, getMaximumValue, getMinimumValue, getName, getValueClass, isDisplay, isExternalData, isGetData, isIntroduction, isKeywords, isParentId, isPrimaryName, isReadOnly, isRequired, isRequiredWhenVisible |
Constructor Detail |
---|
public VersionActiveField() throws PortalException
PortalException
Method Detail |
---|
public void init(Source source, org.w3c.dom.Node fieldNode) throws PortalException
ISourceField
init
in interface ISourceField
init
in class SingleColumnTableSourceField
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 SingleColumnTableSourceField
queryBase
- the query the mapping will be used.
PortalException
public void convertRowToFieldData(ISourceData databaseRow, ISourceData sourceRow) throws PortalException
BaseTabularSourceField
This base implementation just copies the value in the database row relative to this field's id
to the source row using the same id, converting it using
BaseSourceField.convertToFieldValueClass(Object, java.util.Locale, String)
.
convertRowToFieldData
in interface ITabularSourceField
convertRowToFieldData
in class GenericTableSourceField
databaseRow
- a row containing the original data.sourceRow
- the row to be populated with this field's data.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |