|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.form.dummy.DummyFieldTemplate
public class DummyFieldTemplate
A dummy FieldTemplate.
| Constructor Summary | |
|---|---|
DummyFieldTemplate()
|
|
DummyFieldTemplate(Field field)
|
|
| Method Summary | |
|---|---|
String |
getDisplayerName()
Returns the name of the FieldDisplayer to display the described field. |
Field |
getEmptyField()
Returns an empty Field built on this template. |
Field |
getEmptyField(int occurrence)
|
String |
getFieldName()
Returns the field name of the Field built on this template. |
String |
getLabel()
Returns the label of the described field (in the default locale). |
String |
getLabel(String lang)
Returns the local label of the described field. |
String[] |
getLanguages()
Returns the locals |
int |
getMaximumNumberOfOccurrences()
|
Map<String,String> |
getParameters(String language)
Returns a Map (String -> String) of named parameters which can be used by the displayer (max-size, length ...). |
List<Parameter> |
getParametersObj()
|
String |
getTemplateName()
|
String |
getTypeName()
Returns the type name of the described field. |
boolean |
isDisabled()
Returns true when the described field must be disabled. |
boolean |
isHidden()
Returns true when the described field must be hidden. |
boolean |
isMandatory()
Returns true when the described field must have a value. |
boolean |
isReadOnly()
Returns true when the described field can't be updated. |
boolean |
isRepeatable()
|
boolean |
isSearchable()
|
boolean |
isUsedAsFacet()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DummyFieldTemplate()
public DummyFieldTemplate(Field field)
| Method Detail |
|---|
public String getFieldName()
getFieldName in interface FieldTemplatepublic String getTypeName()
getTypeName in interface FieldTemplatepublic String getDisplayerName()
getDisplayerName in interface FieldTemplatepublic String getLabel()
getLabel in interface FieldTemplatepublic String getLabel(String lang)
getLabel in interface FieldTemplatepublic String[] getLanguages()
getLanguages in interface FieldTemplatepublic boolean isMandatory()
isMandatory in interface FieldTemplatepublic boolean isReadOnly()
isReadOnly in interface FieldTemplatepublic boolean isDisabled()
isDisabled in interface FieldTemplatepublic boolean isHidden()
isHidden in interface FieldTemplatepublic Map<String,String> getParameters(String language)
getParameters in interface FieldTemplatepublic List<Parameter> getParametersObj()
getParametersObj in interface FieldTemplatepublic Field getEmptyField()
getEmptyField in interface FieldTemplatepublic boolean isSearchable()
isSearchable in interface FieldTemplatepublic String getTemplateName()
getTemplateName in interface FieldTemplatepublic boolean isUsedAsFacet()
isUsedAsFacet in interface FieldTemplatepublic int getMaximumNumberOfOccurrences()
getMaximumNumberOfOccurrences in interface FieldTemplatepublic boolean isRepeatable()
isRepeatable in interface FieldTemplate
public Field getEmptyField(int occurrence)
throws FormException
getEmptyField in interface FieldTemplateFormException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||