com.stratelia.silverpeas.peasCore.servlets.control
Class TwoHomepagesController

java.lang.Object
  extended by com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
      extended by com.stratelia.silverpeas.peasCore.servlets.WebComponentController<TestWebComponentRequestContext>
          extended by com.stratelia.silverpeas.peasCore.servlets.control.TwoHomepagesController
All Implemented Interfaces:
ComponentSessionController

@WebComponentController(value="TestWebComponentControllerIdentifier")
public class TwoHomepagesController
extends WebComponentController<TestWebComponentRequestContext>


Field Summary
 
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
CHARACTER_ENCODING, context
 
Constructor Summary
TwoHomepagesController(MainSessionController mainSessionCtrl, ComponentContext componentContext)
          Standard Session Controller Constructor
 
Method Summary
 void home(TestWebComponentRequestContext context)
           
protected  void onInstantiation(TestWebComponentRequestContext context)
           
 void otherHome(TestWebComponentRequestContext context)
           
 
Methods inherited from class com.stratelia.silverpeas.peasCore.servlets.WebComponentController
beforeRequestProcessing
 
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

TwoHomepagesController

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

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

home

@Homepage
@RedirectToInternalJsp(value="/homepage.jsp")
public void home(TestWebComponentRequestContext context)

otherHome

@Homepage
@RedirectToInternalJsp(value="/homepage.jsp")
public void otherHome(TestWebComponentRequestContext context)

onInstantiation

protected void onInstantiation(TestWebComponentRequestContext context)
Specified by:
onInstantiation in class WebComponentController<TestWebComponentRequestContext>


Copyright © 2016 Silverpeas. All Rights Reserved.