lumis.doui.source.field.type
Class AbstractSourceFieldDataType

Package class diagram package AbstractSourceFieldDataType
java.lang.Object
  extended by lumis.doui.datatype.AbstractDouiDataType
      extended by lumis.doui.source.field.type.AbstractSourceFieldDataType
All Implemented Interfaces:
IDouiDataType, ISourceFieldDataType
Direct Known Subclasses:
AnyDataType, BooleanDataType, ChannelDataType, DateDataType, DateTimeDataType, DoubleDataType, FileDataType, FilesDataType, IntegerDataType, LocaleDataType, LongDataType, PageDataType, PageOrPageTemplateDataType, PageTemplateDataType, ParentContentDataType, PasswordDataType, PrincipalDataType, ResourcesDataType, StringDataType, TagDataType, TimeDataType, WorkflowStateDataType

@StableMinor(version="6.2",
             sinceVersion="4.0")
public abstract class AbstractSourceFieldDataType
extends AbstractDouiDataType
implements ISourceFieldDataType

Base implementation for the ISourceFieldDataType interface.

Since:
4.0.4

Constructor Summary
protected AbstractSourceFieldDataType()
          Creates a source field data type.
 
Method Summary
abstract  String getQueryDataType()
          Returns a QueryFieldTypes constant for a query data type the value of this source field data type is best suited to be kept in.
 void init(ISourceContext sourceContext)
          Initializes this source field data type.
 
Methods inherited from class lumis.doui.datatype.AbstractDouiDataType
createConverter, equals, getConverter, getDefaultInputControlType, getDefaultViewControlType, getDefinitionLocale, getDefinitionPattern, getId, getValueClass, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface lumis.doui.datatype.IDouiDataType
getConverter, getDefaultInputControlType, getDefaultViewControlType, getDefinitionLocale, getDefinitionPattern, getId, getValueClass
 

Constructor Detail

AbstractSourceFieldDataType

protected AbstractSourceFieldDataType()
Creates a source field data type.

Since:
4.0.4
Method Detail

init

public void init(ISourceContext sourceContext)
          throws PortalException
Initializes this source field data type.

Calls ISourceConverter.init(ISourceContext) if this data type's converter implements ISourceConverter.

Specified by:
init in interface ISourceFieldDataType
Parameters:
sourceContext - the source context where this data type will be used in.
Throws:
PortalException

getQueryDataType

public abstract String getQueryDataType()
Description copied from interface: ISourceFieldDataType
Returns a QueryFieldTypes constant for a query data type the value of this source field data type is best suited to be kept in.

Specified by:
getQueryDataType in interface ISourceFieldDataType
Returns:
a QueryFieldTypes constant.


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.