org.apache.maven.continuum.web.action.admin
Class ProfileAction

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.admin.ProfileAction
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, org.codehaus.redback.integration.interceptor.SecureAction

public class ProfileAction
extends ContinuumActionSupport
implements com.opensymphony.xwork2.Preparable, org.codehaus.redback.integration.interceptor.SecureAction

Since:
7 juin 07
Version:
$Id: ProfileAction.java 1372260 2012-08-13 04:29:09Z brett $
Author:
olamy
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
ProfileAction()
           
 
Method Summary
 String addInstallation()
           
 String confirmDelete()
           
 String delete()
           
 String edit()
           
 List<Installation> getAllInstallations()
           
 List<BuildAgentGroupConfiguration> getBuildAgentGroups()
           
 int getInstallationId()
           
 Profile getProfile()
           
 List<Installation> getProfileInstallations()
           
 List<Profile> getProfiles()
           
 org.codehaus.redback.integration.interceptor.SecureActionBundle getSecureActionBundle()
           
 String input()
           
 String list()
           
 void prepare()
           
 String removeInstallation()
           
 String save()
           
 void setAllInstallations(List<Installation> allInstallations)
           
 void setBuildAgentGroups(List<BuildAgentGroupConfiguration> buildAgentGroups)
           
 void setInstallationId(int installationId)
           
 void setProfile(Profile profile)
           
 void setProfileInstallations(List<Installation> profileInstallations)
           
 void setProfiles(List<Profile> profiles)
           
 
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, isAuthenticated, 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

ProfileAction

public ProfileAction()
Method Detail

prepare

public void prepare()
             throws Exception
Specified by:
prepare in interface com.opensymphony.xwork2.Preparable
Overrides:
prepare in class ContinuumActionSupport
Throws:
Exception

input

public String input()
             throws Exception
Overrides:
input in class ContinuumActionSupport
Throws:
Exception

list

public String list()
            throws Exception
Throws:
Exception

edit

public String edit()
            throws Exception
Throws:
Exception

save

public String save()
            throws Exception
Throws:
Exception

delete

public String delete()
              throws Exception
Throws:
Exception

confirmDelete

public String confirmDelete()
                     throws ProfileException
Throws:
ProfileException

addInstallation

public String addInstallation()
                       throws Exception
Throws:
Exception

removeInstallation

public String removeInstallation()
                          throws Exception
Throws:
Exception

getSecureActionBundle

public org.codehaus.redback.integration.interceptor.SecureActionBundle getSecureActionBundle()
                                                                                      throws org.codehaus.redback.integration.interceptor.SecureActionException
Specified by:
getSecureActionBundle in interface org.codehaus.redback.integration.interceptor.SecureAction
Throws:
org.codehaus.redback.integration.interceptor.SecureActionException

getProfiles

public List<Profile> getProfiles()

setProfiles

public void setProfiles(List<Profile> profiles)

getProfile

public Profile getProfile()

setProfile

public void setProfile(Profile profile)

getAllInstallations

public List<Installation> getAllInstallations()
                                       throws Exception
Throws:
Exception

setAllInstallations

public void setAllInstallations(List<Installation> allInstallations)

getProfileInstallations

public List<Installation> getProfileInstallations()

setProfileInstallations

public void setProfileInstallations(List<Installation> profileInstallations)

getInstallationId

public int getInstallationId()

setInstallationId

public void setInstallationId(int installationId)

getBuildAgentGroups

public List<BuildAgentGroupConfiguration> getBuildAgentGroups()

setBuildAgentGroups

public void setBuildAgentGroups(List<BuildAgentGroupConfiguration> buildAgentGroups)


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