|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.form.displayers.AbstractFieldDisplayer<PdcField>
com.silverpeas.form.displayers.PdcFieldDisplayer
public class PdcFieldDisplayer
Displayer class of a PDC field.
PdcField
Constructor Summary | |
---|---|
PdcFieldDisplayer()
|
Method Summary | |
---|---|
void |
display(PrintWriter out,
PdcField field,
FieldTemplate template,
PagesContext pagesContext)
Prints the HTML value of the field. |
void |
displayScripts(PrintWriter out,
FieldTemplate template,
PagesContext pagesContext)
Prints the javascripts which will be used to control the new value given to the named field. |
String |
getAxisHtml(String value,
String language)
|
int |
getNbHtmlObjectsDisplayed(FieldTemplate template,
PagesContext pagesContext)
Return the number of HTML Objects displayed by the displayer. |
ArrayList<ClassifyPosition> |
getPositions(String pattern)
|
String |
getPositionsDivContent(String fieldName,
String pattern,
String language)
|
ArrayList<UsedAxis> |
getUsedAxisList(String value)
|
boolean |
isDisplayedMandatory()
|
List<String> |
update(String value,
PdcField field,
FieldTemplate template,
PagesContext pagesContext)
Updates the value of the field. |
Methods inherited from class com.silverpeas.form.displayers.AbstractFieldDisplayer |
---|
index, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PdcFieldDisplayer()
Method Detail |
---|
public void display(PrintWriter out, PdcField field, FieldTemplate template, PagesContext pagesContext) throws FormException
FieldDisplayer
FormException
public void displayScripts(PrintWriter out, FieldTemplate template, PagesContext pagesContext) throws IOException
FieldDisplayer
IOException
public int getNbHtmlObjectsDisplayed(FieldTemplate template, PagesContext pagesContext)
FieldDisplayer
public boolean isDisplayedMandatory()
public List<String> update(String value, PdcField field, FieldTemplate template, PagesContext pagesContext) throws FormException
FieldDisplayer
FormException
public ArrayList<UsedAxis> getUsedAxisList(String value)
value
- The description of used axis which are needed, following the pattern :
axisId1,baseValueId1,mandatory1,variant1.axisId2,baseValueId2,mandatory2,variant2...
public String getAxisHtml(String value, String language)
value
- The description of used axis which are needed, following the pattern :
axisId1,baseValueId1,mandatory1,variant1.axisId2,baseValueId2,mandatory2,variant2...language
- The language to use to display axis content.
public String getPositionsDivContent(String fieldName, String pattern, String language)
fieldName
- The name of the PDC field.pattern
- The description of required positions, following the pattern :
axisId1_1,valueId1_1;axisId1_2,valueId1_2.axisId2_1,valueId2_1... where axisIdi_j and
valueIdi_j correspond to the value #j of the position #i.language
- The language to use to display the positions content.
public ArrayList<ClassifyPosition> getPositions(String pattern)
pattern
- The description of required positions, following the pattern :
axisId1_1,valueId1_1;axisId1_2,valueId1_2.axisId2_1,valueId2_1... where axisIdi_j and
valueIdi_j correspond to the value #j of the position #i.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |