|
||||||||||
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 FieldTemplate
public String getTypeName()
getTypeName
in interface FieldTemplate
public String getDisplayerName()
getDisplayerName
in interface FieldTemplate
public String getLabel()
getLabel
in interface FieldTemplate
public String getLabel(String lang)
getLabel
in interface FieldTemplate
public String[] getLanguages()
getLanguages
in interface FieldTemplate
public boolean isMandatory()
isMandatory
in interface FieldTemplate
public boolean isReadOnly()
isReadOnly
in interface FieldTemplate
public boolean isDisabled()
isDisabled
in interface FieldTemplate
public boolean isHidden()
isHidden
in interface FieldTemplate
public Map<String,String> getParameters(String language)
getParameters
in interface FieldTemplate
public List<Parameter> getParametersObj()
getParametersObj
in interface FieldTemplate
public Field getEmptyField()
getEmptyField
in interface FieldTemplate
public boolean isSearchable()
isSearchable
in interface FieldTemplate
public String getTemplateName()
getTemplateName
in interface FieldTemplate
public boolean isUsedAsFacet()
isUsedAsFacet
in interface FieldTemplate
public int getMaximumNumberOfOccurrences()
getMaximumNumberOfOccurrences
in interface FieldTemplate
public boolean isRepeatable()
isRepeatable
in interface FieldTemplate
public Field getEmptyField(int occurrence) throws FormException
getEmptyField
in interface FieldTemplate
FormException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |