|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.silverpeas.pdcPeas.control.PdcFieldTemplateManager
public class PdcFieldTemplateManager
Manages the axis and values from PDC to define a PDC field.
| Constructor Summary | |
|---|---|
PdcFieldTemplateManager()
|
|
| Method Summary | |
|---|---|
void |
addUsedAxis(UsedAxis usedAxis)
Adds the axis given as parameter to the used axis list. |
void |
deleteUsedAxis(String usedAxisId)
Delete the axis correponding to the id given as parameter from the used axis list. |
String |
getActionForm()
|
GenericFieldTemplate |
getFieldTemplate()
|
GenericFieldTemplate |
getUpdatedFieldTemplate()
|
UsedAxis |
getUsedAxis(String usedAxisId)
|
ArrayList<UsedAxis> |
getUsedAxisList()
|
void |
init(GenericFieldTemplate fieldTemplate,
String actionForm)
Initializes and enables the manager. |
boolean |
isEnabled()
|
void |
reset()
Resets and disables the manager. |
void |
updateUsedAxis(UsedAxis usedAxis)
Updates the axis given as parameter into the used axis list. |
void |
updateUsedAxisIds()
Updates the id of every axis from the used axis list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PdcFieldTemplateManager()
| Method Detail |
|---|
public boolean isEnabled()
public String getActionForm()
public GenericFieldTemplate getFieldTemplate()
public ArrayList<UsedAxis> getUsedAxisList()
public void init(GenericFieldTemplate fieldTemplate,
String actionForm)
fieldTemplate - The field template.actionForm - The current action on the field (creation or update).public void reset()
public GenericFieldTemplate getUpdatedFieldTemplate()
public UsedAxis getUsedAxis(String usedAxisId)
usedAxisId - The searched axis' id.
public void addUsedAxis(UsedAxis usedAxis)
usedAxis - The axis to add to the list.public void updateUsedAxis(UsedAxis usedAxis)
usedAxis - The axis to update into the list.public void deleteUsedAxis(String usedAxisId)
usedAxisId - The is of the axis to delete.public void updateUsedAxisIds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||