|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.silverpeas.pdcPeas.control.PdcFieldPositionsManager
public class PdcFieldPositionsManager
Manages the positions of a PDC field.
| Constructor Summary | |
|---|---|
PdcFieldPositionsManager()
Constructor |
|
| Method Summary | |
|---|---|
void |
addPosition(ClassifyPosition position)
Add the position to the positions list. |
void |
deletePosition(int positionId)
Deletes the position which id corresponds to the one given as parameter. |
String |
getFieldName()
|
ArrayList<ClassifyPosition> |
getPositions()
|
String |
getPositionsToString()
|
ArrayList<UsedAxis> |
getUsedAxisList()
|
void |
init(String fieldName,
String pattern,
String axis)
Initializes and enables the manager. |
boolean |
isEnabled()
|
void |
reset()
Resets and disables the manager. |
int |
updatePosition(ClassifyPosition position)
Update the position. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PdcFieldPositionsManager()
| Method Detail |
|---|
public boolean isEnabled()
public String getFieldName()
public ArrayList<ClassifyPosition> getPositions()
public ArrayList<UsedAxis> getUsedAxisList()
public void init(String fieldName,
String pattern,
String axis)
fieldName - The field name.pattern - The description of 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.axis - public void reset()
public void addPosition(ClassifyPosition position)
position - The new position to add.public int updatePosition(ClassifyPosition position)
position - The position to update.
public void deletePosition(int positionId)
positionId - The id of the position to delete.public String getPositionsToString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||