com.stratelia.silverpeas.containerManager
Interface ContainerInterface

All Known Implementing Classes:
PdcBmImpl

public interface ContainerInterface

The interface for all the containers (PDC, ..) Every container have to implement this interface and declare it in the containerDescriptor (xml)


Method Summary
 List<Integer> findSilverContentIdByPosition(ContainerPositionInterface containerPosition, List<String> alComponentId)
          Find all the SilverContentId with the given position
 List<Integer> findSilverContentIdByPosition(ContainerPositionInterface containerPosition, List<String> alComponentId, String authorId, String afterDate, String beforeDate)
           
 String getCallParameters(String sComponentId, String sSilverContentId)
          Return the parameters for the HTTP call on the classify
 ContainerPositionInterface getSilverContentIdSearchContext(int nSilverContentId, String sComponentId)
          Find the search Context for the given SilverContentId
 List<Integer> removePosition(Connection connection, int nSilverContentId)
          Remove all the positions of the given content
 

Method Detail

getCallParameters

String getCallParameters(String sComponentId,
                         String sSilverContentId)
Return the parameters for the HTTP call on the classify


removePosition

List<Integer> removePosition(Connection connection,
                             int nSilverContentId)
                             throws ContainerManagerException
Remove all the positions of the given content

Throws:
ContainerManagerException

getSilverContentIdSearchContext

ContainerPositionInterface getSilverContentIdSearchContext(int nSilverContentId,
                                                           String sComponentId)
                                                           throws ContainerManagerException
Find the search Context for the given SilverContentId

Throws:
ContainerManagerException

findSilverContentIdByPosition

List<Integer> findSilverContentIdByPosition(ContainerPositionInterface containerPosition,
                                            List<String> alComponentId)
                                            throws ContainerManagerException
Find all the SilverContentId with the given position

Throws:
ContainerManagerException

findSilverContentIdByPosition

List<Integer> findSilverContentIdByPosition(ContainerPositionInterface containerPosition,
                                            List<String> alComponentId,
                                            String authorId,
                                            String afterDate,
                                            String beforeDate)
                                            throws ContainerManagerException
Throws:
ContainerManagerException


Copyright © 2016 Silverpeas. All Rights Reserved.