com.stratelia.silverpeas.selectionPeas.control
Class SelectionPeasSessionController

java.lang.Object
  extended by com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
      extended by com.stratelia.silverpeas.selectionPeas.control.SelectionPeasSessionController
All Implemented Interfaces:
ComponentSessionController

public class SelectionPeasSessionController
extends AbstractComponentSessionController

Class declaration

Author:

Field Summary
protected  CacheManager cacheManager
           
protected  Map<CacheType,BrowsePanelProvider> m_NavBrowse
           
protected  Map<CacheType,PanelProvider> m_NavCart
           
protected  List<PanelLine> panelLineList
           
protected  GenericPanel searchElementPanel
           
protected  GenericPanel searchSetPanel
           
protected  Selection selection
           
protected  String selectionType
           
 
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
CHARACTER_ENCODING, context
 
Constructor Summary
SelectionPeasSessionController(MainSessionController mainSessionCtrl, ComponentContext componentContext)
          Standard Session Controller Constructor
 
Method Summary
 String getCancelURL()
           
 String[] getCartColumnsHeader(CacheType what)
           
 String getCartMiniFilterString(CacheType what)
           
 boolean[] getCartNavigation(CacheType what)
           
 PanelLine[] getCartPage(CacheType what)
           
 String getCartSelectedNumber()
           
 String getCartText(CacheType what)
           
 String[] getColumnsHeader(CacheType what)
           
 String[][] getContent(CacheType what, String theId)
           
 String[] getContentColumns(CacheType what)
           
 String getContentText(CacheType what)
           
 String getGoBackURL()
           
 PairObject getHostComponentName()
           
 PairObject[] getHostPath()
           
 String getHostSpaceName()
           
 String[][] getInfos(CacheType what, String theId)
           
 String getMiniFilterString(CacheType what)
           
 boolean[] getNavigation(CacheType what)
           
 PanelOperation[] getOperations(String currentFunction)
           
 PanelLine[] getPage(CacheType what)
           
 String getSearchElement()
           
 String getSearchSet()
           
 String getSelectedNumber()
           
 String getSelectionType()
           
 PanelLine[] getSetPath()
           
 String getStartingFunction()
           
protected  String getSureString(String s)
           
 String getText(CacheType what)
           
 String getZoomToElementURL()
           
 String getZoomToSetURL()
           
 void initBrowse()
           
 void initCart()
           
 void initSC(String selectionType)
           
 boolean isElementSelectable()
           
 boolean isMultiSelect()
           
 boolean isPopup()
           
 boolean isSetSelectable()
           
 void removeAllFromCart()
           
 void removeSelectedFromCart()
           
 String returnSearchElement()
           
 String returnSearchSet()
           
 void setCartMiniFilter(String theValue, String theFilter)
           
 void setCartSelected(CacheType what, Set<String> selectedSets, Set<String> unselectedSets)
           
 void setMiniFilter(String theValue, String theFilter)
           
 void setOneSelected(CacheType what, String selected)
           
 void setParentSet(String parentSetId)
           
 void setSelected(CacheType what, Set<String> selectedSets, Set<String> unselectedSets)
           
 void updateJdbcParameters(JdbcConnectorSetting jdbcSetting, String tableName, String columnsNames, String formIndex, String fieldsNames)
           
 void validate()
           
 
Methods inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
addClipboardSelection, clipboardPasteDone, close, getAlertUser, getClipboardCount, getClipboardErrorMessage, getClipboardExceptionError, getClipboardName, getClipboardObjects, getClipboardSelectedObjects, getClipboardSize, getComponentAccessController, getComponentId, getComponentLabel, getComponentName, getComponentParameters, getComponentParameterValue, getComponentParameterValue, getComponentRootName, getComponentUrl, getFavoriteSpace, getGenericPanel, getHighestSilverpeasUserRole, getIcon, getLanguage, getLastResults, getLook, getMultilang, getOrganisationController, getPersonalization, getRSSUrl, getSelection, getServerNameAndPort, getSettings, getSilverpeasUserRoles, getSpaceId, getSpaceLabel, getString, getSubscriptionContext, getUrlEncodedParameter, getUserAccessLevel, getUserAvailComponentIds, getUserAvailSpaceIds, getUserDetail, getUserDetail, getUserId, getUserManageableGroupIds, getUserManageableSpaceIds, getUserRoleLevel, getUserRoles, isAppInMaintenance, isGroupManager, isPasswordChangeAllowed, isSpaceInMaintenance, removeClipboardElement, setAppModeMaintenance, setClipboardError, setClipboardSelectedElement, setComponentRootName, setFavoriteSpaceToMainSessionController, setGenericPanel, setIconFileName, setLastResults, setMultilangFileName, setResourceFileName, setSpaceModeMaintenance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selection

protected Selection selection

searchSetPanel

protected GenericPanel searchSetPanel

searchElementPanel

protected GenericPanel searchElementPanel

cacheManager

protected CacheManager cacheManager

panelLineList

protected List<PanelLine> panelLineList

m_NavBrowse

protected Map<CacheType,BrowsePanelProvider> m_NavBrowse

m_NavCart

protected Map<CacheType,PanelProvider> m_NavCart

selectionType

protected String selectionType
Constructor Detail

SelectionPeasSessionController

public SelectionPeasSessionController(MainSessionController mainSessionCtrl,
                                      ComponentContext componentContext)
Standard Session Controller Constructor

Parameters:
mainSessionCtrl - The user's profile
componentContext - The component's profile
See Also:
Method Detail

getSelectionType

public String getSelectionType()

initSC

public void initSC(String selectionType)

updateJdbcParameters

public void updateJdbcParameters(JdbcConnectorSetting jdbcSetting,
                                 String tableName,
                                 String columnsNames,
                                 String formIndex,
                                 String fieldsNames)

isMultiSelect

public boolean isMultiSelect()

getZoomToSetURL

public String getZoomToSetURL()

getZoomToElementURL

public String getZoomToElementURL()

getStartingFunction

public String getStartingFunction()

getSearchSet

public String getSearchSet()

returnSearchSet

public String returnSearchSet()

getSearchElement

public String getSearchElement()

returnSearchElement

public String returnSearchElement()

getGoBackURL

public String getGoBackURL()

getCancelURL

public String getCancelURL()

isPopup

public boolean isPopup()

isSetSelectable

public boolean isSetSelectable()

isElementSelectable

public boolean isElementSelectable()

getHostComponentName

public PairObject getHostComponentName()

getHostSpaceName

public String getHostSpaceName()

getHostPath

public PairObject[] getHostPath()

getSetPath

public PanelLine[] getSetPath()

getInfos

public String[][] getInfos(CacheType what,
                           String theId)

getContentText

public String getContentText(CacheType what)

getContentColumns

public String[] getContentColumns(CacheType what)

getContent

public String[][] getContent(CacheType what,
                             String theId)

getOperations

public PanelOperation[] getOperations(String currentFunction)

validate

public void validate()

getSureString

protected String getSureString(String s)

initBrowse

public void initBrowse()

getSelectedNumber

public String getSelectedNumber()

getText

public String getText(CacheType what)

getNavigation

public boolean[] getNavigation(CacheType what)

setSelected

public void setSelected(CacheType what,
                        Set<String> selectedSets,
                        Set<String> unselectedSets)

setOneSelected

public void setOneSelected(CacheType what,
                           String selected)

getColumnsHeader

public String[] getColumnsHeader(CacheType what)

getPage

public PanelLine[] getPage(CacheType what)

getMiniFilterString

public String getMiniFilterString(CacheType what)

setMiniFilter

public void setMiniFilter(String theValue,
                          String theFilter)

setParentSet

public void setParentSet(String parentSetId)

initCart

public void initCart()

getCartSelectedNumber

public String getCartSelectedNumber()

getCartText

public String getCartText(CacheType what)

getCartColumnsHeader

public String[] getCartColumnsHeader(CacheType what)

getCartNavigation

public boolean[] getCartNavigation(CacheType what)

setCartSelected

public void setCartSelected(CacheType what,
                            Set<String> selectedSets,
                            Set<String> unselectedSets)

getCartPage

public PanelLine[] getCartPage(CacheType what)

getCartMiniFilterString

public String getCartMiniFilterString(CacheType what)

setCartMiniFilter

public void setCartMiniFilter(String theValue,
                              String theFilter)

removeAllFromCart

public void removeAllFromCart()

removeSelectedFromCart

public void removeSelectedFromCart()


Copyright © 2016 Silverpeas. All Rights Reserved.