lumis.content.source.field
Class WorkflowAssignedToSourceField

Package class diagram package WorkflowAssignedToSourceField
java.lang.Object
  extended by lumis.doui.source.field.BaseSourceField
      extended by lumis.doui.source.field.BaseTabularSourceField
          extended by lumis.doui.table.field.BaseTableSourceField
              extended by lumis.doui.table.field.GenericTableSourceField
                  extended by lumis.doui.table.field.SingleColumnTableSourceField
                      extended by lumis.content.source.field.MetaDataSourceField
                          extended by lumis.content.source.field.WorkflowAssignedToSourceField
All Implemented Interfaces:
ISourceField, ITabularSourceField, ITableSourceField

public class WorkflowAssignedToSourceField
extends MetaDataSourceField

A workflow's assigned to source field.

Since:
4.0.4

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
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, maximumValue, minimumValue, name, parentId, pattern, readOnly, required, requiredWhenVisible, source
 
Constructor Summary
WorkflowAssignedToSourceField()
           
 
Method Summary
 void convertRowToFieldData(ISourceData databaseRow, ISourceData sourceRow)
          Converts a row read from the data provider to this source field type. 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).
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.
 
Methods inherited from class lumis.content.source.field.MetaDataSourceField
getDefaultInputControlDefinition, getType
 
Methods inherited from class lumis.doui.table.field.SingleColumnTableSourceField
createDataType, init, 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, 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, isParentId, isPrimaryName, isReadOnly, isRequired, isRequiredWhenVisible
 

Constructor Detail

WorkflowAssignedToSourceField

public WorkflowAssignedToSourceField()
                              throws PortalException
Throws:
PortalException
Method Detail

getQueryField

protected QueryField getQueryField(QueryBase queryBase)
                            throws PortalException
Description copied from class: GenericTableSourceField
Returns the main query field for this source field.

Overrides:
getQueryField in class SingleColumnTableSourceField
Parameters:
queryBase - the query base where the query field will be used.
Returns:
the query field.
Throws:
PortalException

getTableMapping

public TableSourceFieldMapping getTableMapping(QueryBase queryBase)
                                        throws PortalException
Description copied from interface: ITableSourceField
Returns the table mapping for this field. This specifies how the field data is accessed.

Specified by:
getTableMapping in interface ITableSourceField
Overrides:
getTableMapping in class SingleColumnTableSourceField
Parameters:
queryBase - the query the mapping will be used.
Returns:
the field table mapping.
Throws:
PortalException

convertRowToFieldData

public void convertRowToFieldData(ISourceData databaseRow,
                                  ISourceData sourceRow)
Description copied from class: BaseTabularSourceField
Converts a row read from the data provider to this source field type.

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).

Specified by:
convertRowToFieldData in interface ITabularSourceField
Overrides:
convertRowToFieldData in class GenericTableSourceField
Parameters:
databaseRow - a row containing the original data.
sourceRow - the row to be populated with this field's data.


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.