|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="5.5", sinceVersion="4.0") public interface ISourceField
The interface that defines the methods a source field provides.
Method Summary | |
---|---|
IConverter |
getConverter()
Returns the default converter for this field's values. |
ISourceFieldDataType |
getDataType()
|
Node |
getDefaultControlDefinition()
Returns the default control definition to be used for this field. |
Node |
getDefaultInputControlDefinition()
Returns the default input control definition to be used for editing this field's value. |
Object |
getDefaultValue()
|
Node |
getDefaultViewControlDefinition()
Returns the default control definition to be used for viewing this field's value. |
Node |
getDefinitionNode()
Deprecated. hopefully this should not be used. |
String |
getId()
|
Object |
getMaximumValue()
|
Object |
getMinimumValue()
|
String |
getName()
|
Class<?> |
getValueClass()
Returns the class this field's possible values are assignable to. |
void |
init(Source source,
Node fieldNode)
Initializes this source field. |
boolean |
isDisplay()
|
boolean |
isExternalData()
|
boolean |
isGetData()
|
boolean |
isIntroduction()
|
boolean |
isKeywords()
|
boolean |
isParentId()
|
boolean |
isPrimaryName()
|
boolean |
isReadOnly()
Returns true if this field is read-only and should not be rendered editable. |
boolean |
isRequired()
|
boolean |
isRequiredWhenVisible()
|
Method Detail |
---|
Node getDefinitionNode()
String getId()
String getName()
boolean isDisplay()
boolean isPrimaryName()
boolean isIntroduction()
boolean isKeywords()
boolean isExternalData()
boolean isGetData()
boolean isRequired()
boolean isRequiredWhenVisible()
boolean isParentId()
ISourceFieldDataType getDataType()
Object getDefaultValue()
Object getMinimumValue()
Object getMaximumValue()
boolean isReadOnly()
Node getDefaultControlDefinition() throws PortalException
PortalException
getDefaultInputControlDefinition()
,
getDefaultViewControlDefinition()
Node getDefaultInputControlDefinition() throws PortalException
PortalException
getDefaultControlDefinition()
,
getDefaultViewControlDefinition()
Node getDefaultViewControlDefinition() throws PortalException
PortalException
getDefaultInputControlDefinition()
,
getDefaultControlDefinition()
void init(Source source, Node fieldNode) throws PortalException
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.Class<?> getValueClass()
IDouiDataType.getValueClass()
IConverter getConverter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |