org.apache.maven.continuum.web.action.component
Class NotifierSummaryAction

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.component.NotifierSummaryAction
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, Serializable, org.apache.struts2.interceptor.SessionAware

public class NotifierSummaryAction
extends ContinuumActionSupport

Component Action that prepares and provides Project Group Notifier and Project Notifier summaries.

Version:
$Id: NotifierSummaryAction.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Rahul Thakur
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, 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
NotifierSummaryAction()
           
 
Method Summary
 ProjectGroup getProjectGroup()
           
 int getProjectGroupId()
           
 String getProjectGroupName()
           
 List<NotifierSummary> getProjectGroupNotifierSummaries()
           
 int getProjectId()
           
 List<NotifierSummary> getProjectNotifierSummaries()
           
 void setProjectGroup(ProjectGroup projectGroup)
           
 void setProjectGroupId(int projectGroupId)
           
 void setProjectGroupNotifierSummaries(List<NotifierSummary> projectGroupNotifierSummaries)
           
 void setProjectId(int projectId)
           
 void setProjectNotifierSummaries(List<NotifierSummary> projectNotifierSummaries)
           
 String summarizeForProject()
          Prepare Notifier summary for a Project.
 String summarizeForProjectGroup()
          Prepare Notifier summary for a 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, checkViewReportsAuthorization, doDefault, execute, getContinuum, getPrincipal, getResourceBundle, getSecuritySystem, getUser, input, 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, 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

NotifierSummaryAction

public NotifierSummaryAction()
Method Detail

summarizeForProject

public String summarizeForProject()
Prepare Notifier summary for a Project.

Returns:

summarizeForProjectGroup

public String summarizeForProjectGroup()
Prepare Notifier summary for a ProjectGroup.

Returns:

getProjectGroupId

public int getProjectGroupId()
Returns:
the projectGroupId

setProjectGroupId

public void setProjectGroupId(int projectGroupId)
Parameters:
projectGroupId - the projectGroupId to set

getProjectId

public int getProjectId()
Returns:
the projectId

setProjectId

public void setProjectId(int projectId)
Parameters:
projectId - the projectId to set

getProjectGroup

public ProjectGroup getProjectGroup()
Returns:
the projectGroup

setProjectGroup

public void setProjectGroup(ProjectGroup projectGroup)
Parameters:
projectGroup - the projectGroup to set

getProjectGroupNotifierSummaries

public List<NotifierSummary> getProjectGroupNotifierSummaries()
Returns:
the projectGroupNotifierSummaries

setProjectGroupNotifierSummaries

public void setProjectGroupNotifierSummaries(List<NotifierSummary> projectGroupNotifierSummaries)
Parameters:
projectGroupNotifierSummaries - the projectGroupNotifierSummaries to set

getProjectNotifierSummaries

public List<NotifierSummary> getProjectNotifierSummaries()
Returns:
the projectNotifierSummaries

setProjectNotifierSummaries

public void setProjectNotifierSummaries(List<NotifierSummary> projectNotifierSummaries)
Parameters:
projectNotifierSummaries - the projectNotifierSummaries to set

getProjectGroupName

public String getProjectGroupName()
                           throws ContinuumException
Throws:
ContinuumException


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.