org.apache.maven.continuum.web.action.notifier
Class AddGroupNotifierAction

Package class diagram package AddGroupNotifierAction
java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.apache.maven.continuum.web.action.PlexusActionSupport
          extended by org.apache.maven.continuum.web.action.ContinuumActionSupport
              extended by org.apache.maven.continuum.web.action.notifier.AddGroupNotifierAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, java.io.Serializable, org.apache.struts2.interceptor.SessionAware

public class AddGroupNotifierAction
extends ContinuumActionSupport

WW action that sets up a new ProjectNotifier instance for the specified ProjectGroup.

Since:
1.1
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.maven.continuum.web.action.ContinuumActionSupport
dateFormatter, ERROR_MSG_AUTHORIZATION_REQUIRED, ERROR_MSG_PROCESSING_AUTHORIZATION, 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
AddGroupNotifierAction()
           
 
Method Summary
 java.lang.String doDefault()
           
 java.lang.String execute()
          Default action method executed in case no method is specified for invocation.
 java.lang.String getNotifierType()
          Returns the type identifier for the ProjectNotifier being edited as String.
 int getProjectGroupId()
          Returns the current ProjectGroup Identifier.
 java.lang.String getProjectGroupName()
           
 java.lang.String input()
           
 void setNotifierType(java.lang.String notifierType)
          Sets the notifier type for the ProjectNotifier instance being edited.
 void setProjectGroupId(int projectGroupId)
          Sets the Id for the target ProjectGroup.
 
Methods inherited from class org.apache.maven.continuum.web.action.ContinuumActionSupport
checkAddGroupBuildDefinitionAuthorization, checkAddProjectBuildDefinitionAuthorization, checkAddProjectGroupAuthorization, checkAddProjectGroupNotifierAuthorization, checkAddProjectNotifierAuthorization, checkAddProjectToGroupAuthorization, checkAuthorization, checkAuthorization, checkAuthorization, checkBuildProjectGroupAuthorization, checkBuildProjectInGroupAuthorization, checkManageConfigurationAuthorization, checkManageLocalRepositoriesAuthorization, checkManageQueuesAuthorization, checkManageSchedulesAuthorization, checkModifyGroupBuildDefinitionAuthorization, checkModifyProjectBuildDefinitionAuthorization, checkModifyProjectGroupAuthorization, checkModifyProjectGroupNotifierAuthorization, checkModifyProjectInGroupAuthorization, checkModifyProjectNotifierAuthorization, checkRemoveGroupBuildDefinitionAuthorization, checkRemoveProjectBuildDefinitionAuthorization, checkRemoveProjectFromGroupAuthorization, checkRemoveProjectGroupAuthorization, checkRemoveProjectGroupNotifierAuthorization, checkRemoveProjectNotifierAuthorization, checkViewProjectGroupAuthorization, getContinuum, getPrincipal, getResourceBundle, getSecuritySystem, isAuthenticated, prepare, requiresAuthentication, setContinuum
 
Methods inherited from class org.apache.maven.continuum.web.action.PlexusActionSupport
setSession
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddGroupNotifierAction

public AddGroupNotifierAction()
Method Detail

execute

public java.lang.String execute()
                         throws org.apache.maven.continuum.ContinuumException
Default action method executed in case no method is specified for invocation.

Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class ContinuumActionSupport
Returns:
a String result that determines the control flow.
Throws:
org.apache.maven.continuum.ContinuumException

doDefault

public java.lang.String doDefault()
                           throws org.apache.maven.continuum.ContinuumException
Overrides:
doDefault in class ContinuumActionSupport
Throws:
org.apache.maven.continuum.ContinuumException

input

public java.lang.String input()
                       throws org.apache.maven.continuum.ContinuumException
Overrides:
input in class ContinuumActionSupport
Throws:
org.apache.maven.continuum.ContinuumException

getNotifierType

public java.lang.String getNotifierType()
Returns the type identifier for the ProjectNotifier being edited as String.

Returns:
notifier type as String.

setNotifierType

public void setNotifierType(java.lang.String notifierType)
Sets the notifier type for the ProjectNotifier instance being edited.

Parameters:
notifierType - notifier type to set.

getProjectGroupId

public int getProjectGroupId()
Returns the current ProjectGroup Identifier.

Returns:
the projectGroupId

setProjectGroupId

public void setProjectGroupId(int projectGroupId)
Sets the Id for the target ProjectGroup.

Parameters:
projectGroupId - the projectGroupId to set

getProjectGroupName

public java.lang.String getProjectGroupName()
                                     throws org.apache.maven.continuum.ContinuumException
Throws:
org.apache.maven.continuum.ContinuumException