| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.apache.maven.continuum.web.action.PlexusActionSupport
org.apache.maven.continuum.web.action.ContinuumActionSupport
org.apache.maven.continuum.web.action.notifier.AbstractNotifierEditActionSupport
org.apache.maven.continuum.web.action.notifier.AbstractGroupNotifierEditAction
public abstract class AbstractGroupNotifierEditAction
Common base class for all Project Group notifier edit actions.
| Field Summary | 
|---|
| Fields inherited from class org.apache.maven.continuum.web.action.ContinuumActionSupport | 
|---|
dateFormatter, ERROR_MSG_AUTHORIZATION_REQUIRED, ERROR_MSG_PROCESSING_AUTHORIZATION, RELEASE_ERROR, REQUIRES_AUTHENTICATION, REQUIRES_AUTHORIZATION | 
| Fields inherited from class org.apache.maven.continuum.web.action.PlexusActionSupport | 
|---|
session | 
| Fields inherited from class com.opensymphony.xwork2.ActionSupport | 
|---|
LOG | 
| Fields inherited from interface com.opensymphony.xwork2.Action | 
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS | 
| Constructor Summary | |
|---|---|
AbstractGroupNotifierEditAction()
 | 
|
| Method Summary | |
|---|---|
protected  void | 
checkAuthorization()
 | 
protected  ProjectNotifier | 
getNotifier()
Obtain and return the ProjectNotifier instance for editing. | 
 int | 
getProjectGroupId()
 | 
 String | 
getProjectGroupName()
 | 
protected  void | 
saveNotifier(ProjectNotifier notifier)
Creates or updates the ProjectNotifier instance for the
 ProjectGroup here. | 
 void | 
setProjectGroupId(int projectGroupId)
 | 
| Methods inherited from class org.apache.maven.continuum.web.action.notifier.AbstractNotifierEditActionSupport | 
|---|
edit, getNotifierId, getNotifierType, initConfiguration, isFromGroupPage, isSendOnError, isSendOnFailure, isSendOnScmFailure, isSendOnSuccess, isSendOnWarning, save, setFromGroupPage, setNotifierConfiguration, setNotifierId, setNotifierType, setSendOnError, setSendOnFailure, setSendOnScmFailure, setSendOnSuccess, setSendOnWarning | 
| Methods inherited from class org.apache.maven.continuum.web.action.PlexusActionSupport | 
|---|
setSession | 
| Methods inherited from class com.opensymphony.xwork2.ActionSupport | 
|---|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate | 
| Methods inherited from class java.lang.Object | 
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AbstractGroupNotifierEditAction()
| Method Detail | 
|---|
protected void saveNotifier(ProjectNotifier notifier)
                     throws ContinuumException
ProjectNotifier instance for the
 ProjectGroup here.
 This is used by the subclasses that create/obtain an instance of
 ProjectNotifier to be saved.
saveNotifier in class AbstractNotifierEditActionSupportnotifier - ProjectNotifier to save.
ContinuumException - if there was an error saving the
                            ProjectNotifier instance.AbstractNotifierEditActionSupport.saveNotifier(ProjectNotifier)
protected ProjectNotifier getNotifier()
                               throws ContinuumException
AbstractNotifierEditActionSupportProjectNotifier instance for editing.
getNotifier in class AbstractNotifierEditActionSupportContinuumExceptionpublic int getProjectGroupId()
public void setProjectGroupId(int projectGroupId)
projectGroupId - the projectGroupId to set
protected void checkAuthorization()
                           throws AuthorizationRequiredException,
                                  ContinuumException
checkAuthorization in class AbstractNotifierEditActionSupportAuthorizationRequiredException
ContinuumException
public String getProjectGroupName()
                           throws ContinuumException
ContinuumException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||