|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PdcClassificationService
The service aiming at classifying the contents in Silverpeas on the classification plan (named PdC). The classification of a content in Silverpeas consists to position it on the PdC; it is the process to attribute some semantic metadata to the content. The metadata then can be used to find any contents that satisfies a search of information by keywords. As some contents can not to be positioned on the PdC (it is not mandatory), they can be not detected in the search. The classification of a content on the PdC can be done in one of the two ways:
Method Summary | |
---|---|
void |
axisDeleted(String axisId)
An axis comes to be removed from the PdC. |
void |
axisValuesDeleted(List<PdcAxisValue> deletedValues)
Some values come to be removed from the PdC. |
void |
classifyContent(SilverpeasContent content,
PdcClassification withClassification)
Classifies the specified content on the PdC with the specified classification. |
void |
classifyContent(SilverpeasContent content,
PdcClassification withClassification,
boolean alertSubscribers)
Classifies the specified content on the PdC with the specified classification. |
void |
deletePreDefinedClassification(String nodeId,
String instanceId)
Deletes the predefined classification set for the specified node in the specified component instance. |
PdcClassification |
findAPreDefinedClassification(String nodeId,
String instanceId)
Finds a predefined classification on the PdC that was set for any new contents in the specified node of the specified component instance. |
PdcClassification |
getPreDefinedClassification(String instanceId)
Gets the predefined classification on the PdC that was set for any new contents managed in the specified component instance. |
PdcClassification |
getPreDefinedClassification(String nodeId,
String instanceId)
Gets the predefined classification on the PdC that was set for any new contents in the specified node of the specified component instance. |
PdcClassification |
savePreDefinedClassification(PdcClassification classification)
Saves the specified predefined classification on the PdC. |
Method Detail |
---|
PdcClassification findAPreDefinedClassification(String nodeId, String instanceId)
getPreDefinedClassification(java.lang.String, java.lang.String
method.
nodeId
- the unique identifier of the node.instanceId
- the unique identifier of the Silverpeas component instance.
PdcClassification getPreDefinedClassification(String nodeId, String instanceId)
nodeId
- the unique node identifier.instanceId
- the unique component instance identifier.
PdcClassification getPreDefinedClassification(String instanceId)
instanceId
- the unique identifier of the Silverpeas component instance.
PdcClassification savePreDefinedClassification(PdcClassification classification)
classification
- either the saved predefined classification or NONE_CLASSIFICATION.void deletePreDefinedClassification(String nodeId, String instanceId)
nodeId
- the unique identifier of the node for which the predefined classification has to
be deleted.instanceId
- the unique identifier of the component instance to which the node belongs.void classifyContent(SilverpeasContent content, PdcClassification withClassification) throws PdcRuntimeException
content
- the Silverpeas content to classify.withClassification
- the classification with which the content is positioned on the PdC.
PdcRuntimeException
void classifyContent(SilverpeasContent content, PdcClassification withClassification, boolean alertSubscribers) throws PdcRuntimeException
content
- the Silverpeas content to classify.withClassification
- the classification with which the content is positioned on the PdC.alertSubscribers
- indicates if subscribers must be notified or not
PdcRuntimeException
void axisValuesDeleted(List<PdcAxisValue> deletedValues)
deletedValues
- the values that are removed from a PdC's axis.void axisDeleted(String axisId)
axisId
- the unique identifier of the axis.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |