|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.pdc.web.beans.ClassificationPlan
public class ClassificationPlan
It represents the PdC to use in the tests. As such it defines the differents axis and their values. Axis values can be either some single terms or some hierarchical semantic trees.
| Method Summary | |
|---|---|
static ClassificationPlan |
aClassificationPlan()
Gets an instance of the classification plan to use in the tests. |
protected static Value |
aValue(String id,
String treeId,
String name,
String path,
int level,
int order,
String fatherId)
|
List<Axis> |
getAxis()
Gets the axis of this classification plan. |
UsedAxis |
getAxis(String axisId)
|
AxisHeader |
getAxisHeader(String axisId)
Gets some meta information about the specified axis. |
List<AxisHeader> |
getAxisHeaders(String type)
Gets the headers of the axis of this classification plan. |
List<UsedAxis> |
getAxisUsedInClassification()
Gets the axis of this classification plan that are used in the classification of a content. |
List<Value> |
getPathInTreeOfValue(Value aValue)
Gets the path in the hierarchic tree of the specified value. |
List<UsedAxis> |
getUsedAxis()
Gets the axis of this classification plan ready to be used in a classification. |
List<Value> |
getValuesOfAxisById(String anAxisId)
Gets the values of the axis identified by the specified identifier. |
List<Value> |
getValuesOfAxisByName(String axisName)
Gets the values of the axis identified by the specified name. |
List<Value> |
getValuesUsedInClassification(String axisId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ClassificationPlan aClassificationPlan()
public List<UsedAxis> getUsedAxis()
public List<Axis> getAxis()
public List<UsedAxis> getAxisUsedInClassification()
public UsedAxis getAxis(String axisId)
public List<AxisHeader> getAxisHeaders(String type)
type - the type of axis: primary or secondary. If null, both are taken into account.
public AxisHeader getAxisHeader(String axisId)
axisId - the unique identifier of the axis in the classification plan.
public List<Value> getValuesUsedInClassification(String axisId)
public List<Value> getValuesOfAxisByName(String axisName)
axisName - the name of the axis.
public List<Value> getValuesOfAxisById(String anAxisId)
anAxisId - the unique identifier of the axis.
public List<Value> getPathInTreeOfValue(Value aValue)
aValue - the value.
protected static Value aValue(String id,
String treeId,
String name,
String path,
int level,
int order,
String fatherId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||