|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.silverpeas.pdc.control.PdcClassifyBmImpl
public class PdcClassifyBmImpl
| Constructor Summary | |
|---|---|
PdcClassifyBmImpl()
|
|
| Method Summary | |
|---|---|
int |
addPosition(int silverObjectId,
ClassifyPosition position,
String sComponentId)
Add new position for an object |
void |
createValuesAndReplace(Connection con,
String axisId,
List<String> oldPath,
List<String> newPath)
Create two lists of Value. |
void |
deletePosition(int nPositionId,
String sComponentId)
Delete the position of an object |
List<Integer> |
findSilverContentIdByPosition(ContainerPositionInterface containerPosition,
List<String> alComponentId)
|
List<Integer> |
findSilverContentIdByPosition(ContainerPositionInterface containerPosition,
List<String> alComponentId,
String authorId,
String afterDate,
String beforeDate)
Find all the SilverContentId with the given position. |
List<Integer> |
findSilverContentIdByPosition(ContainerPositionInterface containerPosition,
List<String> alComponentId,
String authorId,
String afterDate,
String beforeDate,
boolean recursiveSearch,
boolean visibilitySensitive)
Find all the SilverContentId with the given position. |
List<Integer> |
getObjectsByInstance(String instanceId)
Returns a list of object for one instance |
List<ObjectValuePair> |
getObjectValuePairs(SearchContext searchContext,
int axisId,
JoinStatement joinStatementAllPositions)
|
List<PertinentAxis> |
getPertinentAxis(SearchContext searchContext,
List<Integer> axisIds)
|
List<PertinentAxis> |
getPertinentAxis(SearchContext searchContext,
List<Integer> axisIds,
JoinStatement joinStatementAllPositions)
|
PertinentAxis |
getPertinentAxis(SearchContext searchContext,
String axisId,
String sRootValue,
JoinStatement joinStatementAllPositions)
|
List<PertinentValue> |
getPertinentValues(SearchContext searchContext,
int axisId)
|
List<PertinentValue> |
getPertinentValues(SearchContext searchContext,
int axisId,
JoinStatement joinStatementAllPositions)
|
List<Position> |
getPositions(int silverObjectId,
String sComponentId)
Returns all positions of an object |
JoinStatement |
getPositionsJoinStatement(List<String> alComponentId)
|
JoinStatement |
getPositionsJoinStatement(String sComponentId)
|
boolean |
hasAlreadyPositions(List<Integer> objectIdList,
UsedAxis usedAxis)
search a defined position for one usedAxis |
int |
isPositionAlreadyExists(int silverObjectId,
ClassifyPosition position)
Check if the object is already classified on the position |
void |
registerAxis(Connection con,
int axisId)
|
List<Integer> |
removePosition(Connection connection,
int nSilverContentId)
Remove all the positions of the given content. |
void |
unregisterAxis(Connection con,
int axisId)
|
int |
updatePosition(ClassifyPosition position)
Update the position of an object |
int |
updatePositions(List<Value> classifyValues,
int silverObjectId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PdcClassifyBmImpl()
| Method Detail |
|---|
public int isPositionAlreadyExists(int silverObjectId,
ClassifyPosition position)
throws PdcException
PdcClassifyBm
isPositionAlreadyExists in interface PdcClassifyBmPdcException
public int addPosition(int silverObjectId,
ClassifyPosition position,
String sComponentId)
throws PdcException
PdcClassifyBm
addPosition in interface PdcClassifyBmsilverObjectId - - id of the object to classifyposition - - the position of the object
PdcException
public int updatePosition(ClassifyPosition position)
throws PdcException
PdcClassifyBm
updatePosition in interface PdcClassifyBmposition - - the position of the object
PdcException
public int updatePositions(List<Value> classifyValues,
int silverObjectId)
throws PdcException
updatePositions in interface PdcClassifyBmPdcException
public void deletePosition(int nPositionId,
String sComponentId)
throws PdcException
PdcClassifyBm
deletePosition in interface PdcClassifyBmPdcException
public List<Position> getPositions(int silverObjectId,
String sComponentId)
throws PdcException
PdcClassifyBm
getPositions in interface PdcClassifyBmsilverObjectId - - id of the object
PdcException
public JoinStatement getPositionsJoinStatement(String sComponentId)
throws PdcException
getPositionsJoinStatement in interface PdcClassifyBmPdcException
public JoinStatement getPositionsJoinStatement(List<String> alComponentId)
throws PdcException
getPositionsJoinStatement in interface PdcClassifyBmPdcException
public void registerAxis(Connection con,
int axisId)
throws PdcException
registerAxis in interface PdcClassifyBmPdcException
public void unregisterAxis(Connection con,
int axisId)
throws PdcException
unregisterAxis in interface PdcClassifyBmPdcException
public void createValuesAndReplace(Connection con,
String axisId,
List<String> oldPath,
List<String> newPath)
throws PdcException
createValuesAndReplace in interface PdcClassifyBmcon - - a connection to the databaseaxisId - - the id of the axisoldPath - - a list of pathnewPath - - a list of path
PdcException
public List<Integer> getObjectsByInstance(String instanceId)
throws PdcException
PdcClassifyBm
getObjectsByInstance in interface PdcClassifyBmPdcException
public boolean hasAlreadyPositions(List<Integer> objectIdList,
UsedAxis usedAxis)
throws PdcException
hasAlreadyPositions in interface PdcClassifyBmobjectIdList - usedAxis - - the UsedAxis object
PdcException
public List<PertinentAxis> getPertinentAxis(SearchContext searchContext,
List<Integer> axisIds)
throws PdcException
getPertinentAxis in interface PdcClassifyBmPdcException
public List<PertinentValue> getPertinentValues(SearchContext searchContext,
int axisId)
throws PdcException
getPertinentValues in interface PdcClassifyBmPdcException
public List<PertinentAxis> getPertinentAxis(SearchContext searchContext,
List<Integer> axisIds,
JoinStatement joinStatementAllPositions)
throws PdcException
getPertinentAxis in interface PdcClassifyBmPdcException
public PertinentAxis getPertinentAxis(SearchContext searchContext,
String axisId,
String sRootValue,
JoinStatement joinStatementAllPositions)
throws PdcException
getPertinentAxis in interface PdcClassifyBmPdcException
public List<PertinentValue> getPertinentValues(SearchContext searchContext,
int axisId,
JoinStatement joinStatementAllPositions)
throws PdcException
getPertinentValues in interface PdcClassifyBmPdcException
public List<ObjectValuePair> getObjectValuePairs(SearchContext searchContext,
int axisId,
JoinStatement joinStatementAllPositions)
throws PdcException
getObjectValuePairs in interface PdcClassifyBmPdcException
public List<Integer> removePosition(Connection connection,
int nSilverContentId)
throws PdcException
removePosition in interface PdcClassifyBmconnection - nSilverContentId -
PdcException
public List<Integer> findSilverContentIdByPosition(ContainerPositionInterface containerPosition,
List<String> alComponentId,
String authorId,
String afterDate,
String beforeDate)
throws PdcException
findSilverContentIdByPosition in interface PdcClassifyBmcontainerPosition - alComponentId - authorId - afterDate - beforeDate -
PdcException
public List<Integer> findSilverContentIdByPosition(ContainerPositionInterface containerPosition,
List<String> alComponentId,
String authorId,
String afterDate,
String beforeDate,
boolean recursiveSearch,
boolean visibilitySensitive)
throws PdcException
findSilverContentIdByPosition in interface PdcClassifyBmcontainerPosition - alComponentId - authorId - afterDate - beforeDate - recursiveSearch - visibilitySensitive -
PdcException
public List<Integer> findSilverContentIdByPosition(ContainerPositionInterface containerPosition,
List<String> alComponentId)
throws PdcException
findSilverContentIdByPosition in interface PdcClassifyBmPdcException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||