org.hudsonci.utils.plugin.ui
Class AdministratorUIComponent<P extends Action>
java.lang.Object
org.hudsonci.utils.plugin.ui.UIComponentSupport<P>
org.hudsonci.utils.plugin.ui.AdministratorUIComponent<P>
- All Implemented Interfaces:
- Action, ModelObject
public abstract class AdministratorUIComponent<P extends Action>
- extends UIComponentSupport<P>
UI components for administrative activities.
The user must be an administrator to view and optionally to submit forms.
Subclasses should call the checkPermission() before performing any
form actions.
- Since:
- 2.1.0
- Author:
- Jason Dillon
| Methods inherited from class org.hudsonci.utils.plugin.ui.UIComponentSupport |
checkPermission, getBaseRestURI, getHelpPath, getIconFileName, getIconFileName, getIconPath, getImagesPath, getPageTitle, getParent, getPluginName, getPluginPath, getPluginWrapper, getRootPath, getSidePanelOwner, getUrlName, redirect, redirectAncestor, redirectAncestor, redirectParent, redirectSelf |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdministratorUIComponent
protected AdministratorUIComponent(P parent)
getViewPermission
public Permission getViewPermission()
- Description copied from class:
UIComponentSupport
- The permission needed to render the components view.
- Overrides:
getViewPermission in class UIComponentSupport<P extends Action>
checkPermission
protected void checkPermission()
Copyright © 2004-2011 Hudson. All Rights Reserved.