com.stratelia.silverpeas.peasCore.servlets.control
Class TestWebComponentController
java.lang.Object
com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.stratelia.silverpeas.peasCore.servlets.WebComponentController<WEB_COMPONENT_REQUEST_CONTEXT>
com.stratelia.silverpeas.peasCore.servlets.control.AbstractTestWebComponentGenericController<TestWebComponentRequestContext>
com.stratelia.silverpeas.peasCore.servlets.control.ParentTestWebComponentController
com.stratelia.silverpeas.peasCore.servlets.control.TestWebComponentController
- All Implemented Interfaces:
- ComponentSessionController
@WebComponentController(value="TestWebComponentControllerIdentifier")
public class TestWebComponentController
- extends ParentTestWebComponentController
| 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, 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 |
TestWebComponentController
public TestWebComponentController(MainSessionController mainSessionCtrl,
ComponentContext componentContext)
- Standard Session Controller Constructor
- Parameters:
mainSessionCtrl - The user's profilecomponentContext - The component's profile- See Also:
homeMethodNotWired
@Homepage
@RedirectToInternalJsp(value="/homepage.jsp")
public void homeMethodNotWired(String aParam)
homeMethod
@Homepage
@RedirectToInternalJsp(value="homepage.jsp")
public void homeMethod(TestWebComponentRequestContext context)
createMethod
@RedirectToInternal(value="/created")
public void createMethod(TestWebComponentRequestContext context)
updateMethod
@RedirectToInternal(value="updated")
public void updateMethod(TestWebComponentRequestContext context)
deleteMethod
@RedirectTo(value="/common/deleted.jsp")
public void deleteMethod(TestWebComponentRequestContext context)
lowerRoleAccessMethod
@RedirectToInternal(value="/lowerRoleAccessOk")
@LowestRoleAccess(value=publisher)
public void lowerRoleAccessMethod(TestWebComponentRequestContext context)
lowerRoleAccessRedirectToInternalJspOnErrorMethod
@RedirectToInternal(value="/lowerRoleAccessOk")
@LowestRoleAccess(value=publisher,
onError=@RedirectTo(value="error.jsp",type=INTERNAL_JSP))
public void lowerRoleAccessRedirectToInternalJspOnErrorMethod(TestWebComponentRequestContext context)
lowerRoleAccessRedirectToInternalOnErrorMethod
@RedirectToInternal(value="/lowerRoleAccessOk")
@LowestRoleAccess(value=publisher,
onError=@RedirectTo(value="error",type=INTERNAL))
public void lowerRoleAccessRedirectToInternalOnErrorMethod(TestWebComponentRequestContext context)
lowerRoleAccessRedirectToOnErrorMethod
@RedirectToInternal(value="/lowerRoleAccessOk")
@LowestRoleAccess(value=publisher,
onError=@RedirectTo(value="error"))
public void lowerRoleAccessRedirectToOnErrorMethod(TestWebComponentRequestContext context)
oneInvokationBefore
@RedirectTo(value="invokation/oneBefore/ok")
@InvokeBefore(value="invoke_before_1")
public void oneInvokationBefore(TestWebComponentRequestContext context)
twoInvokationsBefore
@RedirectToInternal(value="invokation/2Before/ok")
@InvokeBefore(value={"invoke_before_1","invoke_before_3"})
public void twoInvokationsBefore(TestWebComponentRequestContext context)
oneInvokationAfter
@RedirectToInternal(value="invokation/oneAfter/ok")
@InvokeAfter(value="invoke_after_4")
public void oneInvokationAfter(TestWebComponentRequestContext context)
threeInvokationsAfter
@RedirectToInternal(value="invokation/3After/ok")
@InvokeAfter(value={"invoke_after_3","invoke_after_2","invoke_after_1"})
public void threeInvokationsAfter(TestWebComponentRequestContext context)
threeInvokationsBeforeAndFourAfter
@RedirectToInternal(value="invokation/3Before4After/ok")
@InvokeBefore(value={"invoke_before_3","invoke_before_1","invoke_before_2"})
@InvokeAfter(value={"invoke_after_3","invoke_after_2","invoke_after_4","invoke_after_1"})
public void threeInvokationsBeforeAndFourAfter(TestWebComponentRequestContext context)
invokable_before_1
@Invokable(value="invoke_before_1")
public void invokable_before_1(TestWebComponentRequestContext context)
invokable_before_2
@Invokable(value="invoke_before_2")
public void invokable_before_2(TestWebComponentRequestContext context)
invokable_before_3
@Invokable(value="invoke_before_3")
public void invokable_before_3(TestWebComponentRequestContext context)
invokable_before_4
@Invokable(value="invoke_before_4")
public void invokable_before_4(TestWebComponentRequestContext context)
invokable_after_1
@Invokable(value="invoke_after_1")
public void invokable_after_1(TestWebComponentRequestContext context)
invokable_after_2
@Invokable(value="invoke_after_2")
public void invokable_after_2(TestWebComponentRequestContext context)
invokable_after_3
@Invokable(value="invoke_after_3")
public void invokable_after_3(TestWebComponentRequestContext context)
invokable_after_4
@Invokable(value="invoke_after_4")
public void invokable_after_4(TestWebComponentRequestContext context)
modifyWysiwyg
public Navigation modifyWysiwyg(TestWebComponentRequestContext context)
viewResource
@RedirectToInternal(value="view/resource/1")
public void viewResource(TestWebComponentRequestContext context)
viewResource2
@RedirectToInternal(value="view/resource/2")
public void viewResource2(TestWebComponentRequestContext context)
viewOtherResource
@RedirectToInternal(value="view/resource/3")
public void viewOtherResource(TestWebComponentRequestContext context)
viewOtherResource2
@RedirectToInternal(value="view/resource/4")
public void viewOtherResource2(TestWebComponentRequestContext context)
sameVariableName
@RedirectToInternal(value="view/resource/5")
public void sameVariableName(TestWebComponentRequestContext context)
redirectToInternalJspWithVariable
@RedirectToInternalJsp(value="pushed.jsp?action={action}&otherId={otherId}")
public void redirectToInternalJspWithVariable(TestWebComponentRequestContext context)
redirectToInternalWithVariable
@RedirectToInternal(value="{anResourceId}/pushed/?action={action}&otherId={otherId}")
public void redirectToInternalWithVariable(TestWebComponentRequestContext context)
redirectToWithVariable
@RedirectTo(value="{anResourceId}/pushed?action={action}&otherId={otherId}")
public void redirectToWithVariable(TestWebComponentRequestContext context)
redirectToWithVariableButSeveralValuesForSameVariable
@RedirectTo(value="{anResourceId}/pushed?action={action}&otherId={otherId}")
public void redirectToWithVariableButSeveralValuesForSameVariable(TestWebComponentRequestContext context)
webApplicationException412
@RedirectTo(value="webApplicationException412")
public void webApplicationException412(TestWebComponentRequestContext context)
variableConcurrencyVariable
@RedirectTo(value="variableWay")
public void variableConcurrencyVariable(TestWebComponentRequestContext context)
variableConcurrencyStatic
@RedirectTo(value="staticWay")
public void variableConcurrencyStatic(TestWebComponentRequestContext context)
navigationStepOne
@NavigationStep(identifier="list",
contextIdentifier="navigationStepA")
@RedirectTo(value="navigationStepOne")
public void navigationStepOne(TestWebComponentRequestContext context)
navigationStepTwo
@RedirectToNavigationStep(value="list")
public void navigationStepTwo(TestWebComponentRequestContext context)
navigationStepThree
@RedirectToPreviousNavigationStep
public void navigationStepThree(TestWebComponentRequestContext context)
navigationStepClear
@RedirectTo(value="navigationStepClear")
public void navigationStepClear(TestWebComponentRequestContext context)
onInstantiation
protected void onInstantiation(TestWebComponentRequestContext context)
- Overrides:
onInstantiation in class AbstractTestWebComponentGenericController<TestWebComponentRequestContext>
Copyright © 2016 Silverpeas. All Rights Reserved.