com.stratelia.silverpeas.pdcPeas.control
Class PdcSearchUserWrapperSessionController

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

public class PdcSearchUserWrapperSessionController
extends com.stratelia.silverpeas.peasCore.AbstractComponentSessionController

A simple wrapper to the userpanel.

Author:
Didier Wenzek

Field Summary
 
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
CHARACTER_ENCODING, context
 
Constructor Summary
PdcSearchUserWrapperSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl, com.stratelia.silverpeas.peasCore.ComponentContext componentContext)
          Standard Session Controller Constructeur
 
Method Summary
 String getElementId()
          Returns the HTML input where the selected user id must be set.
 String getElementName()
          Returns the HTML input where the selected user name must be set.
 String getFormName()
          Returns the HTML form name whose user element must be set.
 com.stratelia.silverpeas.pdc.control.Pdc getPdc()
           
 List getSelectedUsers()
          Returns the selected user (if any).
 void getUserSelection()
          Reads the selection made with the user panel.
 void initPdcSearchUser()
          Init the user panel.
 void setElementId(String elementId)
          Set the HTML input where the selected user id must be set.
 void setElementName(String elementName)
          Set the HTML input where the selected user name must be set.
 void setFormName(String formName)
          Set the HTML form name whose user element must be set.
 void setSelectedUserIds(String selectedUserIds)
          Set the selected user (if any).
 
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
 

Constructor Detail

PdcSearchUserWrapperSessionController

public PdcSearchUserWrapperSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl,
                                             com.stratelia.silverpeas.peasCore.ComponentContext componentContext)
Standard Session Controller Constructeur

Parameters:
mainSessionCtrl - The full work session.
componentContext - The context of this component session.
Method Detail

getPdc

public com.stratelia.silverpeas.pdc.control.Pdc getPdc()

getFormName

public String getFormName()
Returns the HTML form name whose user element must be set.


getElementId

public String getElementId()
Returns the HTML input where the selected user id must be set.


getElementName

public String getElementName()
Returns the HTML input where the selected user name must be set.


getSelectedUsers

public List getSelectedUsers()
Returns the selected user (if any).


setFormName

public void setFormName(String formName)
Set the HTML form name whose user element must be set.


setElementId

public void setElementId(String elementId)
Set the HTML input where the selected user id must be set.


setElementName

public void setElementName(String elementName)
Set the HTML input where the selected user name must be set.


setSelectedUserIds

public void setSelectedUserIds(String selectedUserIds)
Set the selected user (if any).


initPdcSearchUser

public void initPdcSearchUser()
Init the user panel.


getUserSelection

public void getUserSelection()
Reads the selection made with the user panel.



Copyright © 2016 Silverpeas. All Rights Reserved.