public class HtmlDataType extends TextDataType
Modifier and Type | Class and Description |
---|---|
static class |
HtmlDataType.Data
Data object for a html.
|
Constructor and Description |
---|
HtmlDataType() |
Modifier and Type | Method and Description |
---|---|
protected IConverter |
createConverter()
Creates the converter instance that will be used by this data type.
|
String |
getDefaultInputControlType()
Returns the default input control type for this data type.
|
String |
getDefaultViewControlType()
Returns the default control type for viewing this data type's values.
|
Map<String,? extends IDocumentTypeFieldBuilder<?>> |
getDocumentTypeFieldTemplates()
Returns the document type field templates to be used as a base by
source fields to create
their document type fields. |
String |
getId()
Returns the id for this data type.
|
Class<? extends HtmlDataType.Data> |
getValueClass()
Returns the value class for data of this type.
|
boolean |
isComplexDataType()
Returns true if when value is a complex data type.
|
void |
postAdd(ISourceField field,
SourcePostAddDataEvent event)
Method called by default for each source field after data is added.
|
void |
preAdd(ISourceField field,
SourcePreAddDataEvent event)
Method called by default for each source field before data is added.
|
void |
preDelete(ISourceField field,
SourcePreDeleteDataEvent event)
Method called by default for each source field before data is deleted.
|
void |
preUpdate(ISourceField field,
SourcePreUpdateDataEvent event)
Method called by default for each source field before data is updated.
|
getQueryDataType
getDocumentFieldValues, init
equals, getConverter, getDefaultFilterControlType, getDefinitionLocale, getDefinitionPattern, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
postDelete, postUpdate
getConverter, getDefaultFilterControlType, getDefinitionLocale, getDefinitionPattern
public String getId()
IDouiDataType
getId
in interface IDouiDataType
getId
in class TextDataType
public String getDefaultInputControlType()
IDouiDataType
getDefaultInputControlType
in interface IDouiDataType
getDefaultInputControlType
in class TextDataType
public String getDefaultViewControlType()
IDouiDataType
getDefaultViewControlType
in interface IDouiDataType
getDefaultViewControlType
in class AbstractDouiDataType
protected IConverter createConverter()
AbstractDouiDataType
createConverter
in class AbstractDouiDataType
public Class<? extends HtmlDataType.Data> getValueClass()
IDouiDataType
getValueClass
in interface IDouiDataType
getValueClass
in class StringDataType
public boolean isComplexDataType()
IDouiDataType
isComplexDataType
in interface IDouiDataType
isComplexDataType
in class AbstractDouiDataType
public Map<String,? extends IDocumentTypeFieldBuilder<?>> getDocumentTypeFieldTemplates()
ISourceFieldDataType
source fields
to create
their document type fields.
The returned value is a map where the key is an identifier suffix to use on the document field identifier. This
suffix will be appended to the source field's base identifier in the document. The key may be null
to
indicate that the source field's base identifier is to be used for the document field. The key must not be an
empty string.
The value of the map is a IDocumentTypeFieldBuilder
to be used as a base to the respective document type
field. The builder's id will be set by the source field and does not need to be specified. The
IDocumentTypeFieldBuilder.setIncludeInGlobalSearch(boolean)
is to be set to true
if the document
field may be included in global search. If it is set to true
and the source field is
searchable
, then the final document type field generated will have this
property set to true
. Otherwise it will be false
.
getDocumentTypeFieldTemplates
in interface ISourceFieldDataType
getDocumentTypeFieldTemplates
in class AbstractSourceFieldDataType
ISourceFieldDataType.getDocumentFieldValues(Object)
public void preDelete(ISourceField field, SourcePreDeleteDataEvent event) throws PortalException
ISourceFieldDataType
field
- the field that is triggering this call.event
- the event that contains information about the delete operation.PortalException
ISourceField#preDelete(ISourcePreDeleteDataEvent)
public void postAdd(ISourceField field, SourcePostAddDataEvent event) throws PortalException
ISourceFieldDataType
field
- the field that is triggering this call.event
- the event that contains information about the add operation.PortalException
ISourceField#postAdd(ISourcePostAddDataEvent)
public void preUpdate(ISourceField field, SourcePreUpdateDataEvent event) throws PortalException
ISourceFieldDataType
field
- the field that is triggering this call.event
- the event that contains information about the update operation.PortalException
ISourceField#preUpdate(ISourcePreUpdateDataEvent)
public void preAdd(ISourceField field, SourcePreAddDataEvent event) throws PortalException
ISourceFieldDataType
field
- the field that is triggering this call.event
- the event that contains information about the add operation.PortalException
ISourceField#preAdd(ISourcePreAddDataEvent)
LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.