com.stratelia.silverpeas.pdc.model
Class ContainerContextImpl

java.lang.Object
  extended by com.stratelia.silverpeas.pdc.model.ContainerContextImpl
All Implemented Interfaces:
ContainerContext, Serializable

public class ContainerContextImpl
extends Object
implements ContainerContext, Serializable

This is the data structure that the content JSP is going to use (built by the container router)

See Also:
Serialized Form

Constructor Summary
ContainerContextImpl()
           
 
Method Summary
 URLIcone getClassifyURLIcone()
           
 String getClassifyURLWithParameters(String sComponentId, String sSilverContentId)
           
 int getContainerInstanceId()
           
 ContainerPositionInterface getContainerPositionInterface()
           
 String getReturnURL()
           
 List<Integer> getSilverContentIdByPosition(ContainerPositionInterface containerPosition, List<String> alComponentIds)
           
 ContainerPositionInterface getSilverContentIdSearchContext(int nSilverContentId, String sComponentId)
          Find the SearchContext for the given SilverContentId
 void setClassifyURLIcone(URLIcone uGivenClassifyURLIcone)
           
 void setContainerInstanceId(int nGivenContainerInstanceId)
           
 void setContainerPeas(ContainerPeas givenContainerPeas)
           
 void setContainerPositionInterface(ContainerPositionInterface GivenPosition)
           
 void setReturnURL(String sGivenReturnURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerContextImpl

public ContainerContextImpl()
Method Detail

setContainerInstanceId

public void setContainerInstanceId(int nGivenContainerInstanceId)

getContainerInstanceId

public int getContainerInstanceId()

setReturnURL

public void setReturnURL(String sGivenReturnURL)

getReturnURL

public String getReturnURL()
Specified by:
getReturnURL in interface ContainerContext

setClassifyURLIcone

public void setClassifyURLIcone(URLIcone uGivenClassifyURLIcone)

getClassifyURLIcone

public URLIcone getClassifyURLIcone()
Specified by:
getClassifyURLIcone in interface ContainerContext

getContainerPositionInterface

public ContainerPositionInterface getContainerPositionInterface()

setContainerPositionInterface

public void setContainerPositionInterface(ContainerPositionInterface GivenPosition)

setContainerPeas

public void setContainerPeas(ContainerPeas givenContainerPeas)

getClassifyURLWithParameters

public String getClassifyURLWithParameters(String sComponentId,
                                           String sSilverContentId)
Specified by:
getClassifyURLWithParameters in interface ContainerContext

getSilverContentIdSearchContext

public ContainerPositionInterface getSilverContentIdSearchContext(int nSilverContentId,
                                                                  String sComponentId)
Description copied from interface: ContainerContext
Find the SearchContext for the given SilverContentId

Specified by:
getSilverContentIdSearchContext in interface ContainerContext

getSilverContentIdByPosition

public List<Integer> getSilverContentIdByPosition(ContainerPositionInterface containerPosition,
                                                  List<String> alComponentIds)
Specified by:
getSilverContentIdByPosition in interface ContainerContext


Copyright © 2016 Silverpeas. All Rights Reserved.