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

Package class diagram package 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, java.io.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
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
ProfileAction()
           
 
Method Summary
 java.lang.String addInstallation()
           
 java.lang.String confirmDelete()
           
 java.lang.String delete()
           
 java.lang.String edit()
           
 java.util.List<org.apache.maven.continuum.model.system.Installation> getAllInstallations()
           
 java.util.List<org.apache.continuum.configuration.BuildAgentGroupConfiguration> getBuildAgentGroups()
           
 int getInstallationId()
           
 org.apache.maven.continuum.model.system.Profile getProfile()
           
 java.util.List<org.apache.maven.continuum.model.system.Installation> getProfileInstallations()
           
 java.util.List<org.apache.maven.continuum.model.system.Profile> getProfiles()
           
 org.codehaus.redback.integration.interceptor.SecureActionBundle getSecureActionBundle()
           
 java.lang.String input()
           
 java.lang.String list()
           
 void prepare()
           
 java.lang.String removeInstallation()
           
 java.lang.String save()
           
 void setAllInstallations(java.util.List<org.apache.maven.continuum.model.system.Installation> allInstallations)
           
 void setBuildAgentGroups(java.util.List<org.apache.continuum.configuration.BuildAgentGroupConfiguration> buildAgentGroups)
           
 void setInstallationId(int installationId)
           
 void setProfile(org.apache.maven.continuum.model.system.Profile profile)
           
 void setProfileInstallations(java.util.List<org.apache.maven.continuum.model.system.Installation> profileInstallations)
           
 void setProfiles(java.util.List<org.apache.maven.continuum.model.system.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, doDefault, execute, getContinuum, getPrincipal, getResourceBundle, getSecuritySystem, 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, 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

ProfileAction

public ProfileAction()
Method Detail

prepare

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

input

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

list

public java.lang.String list()
                      throws java.lang.Exception
Throws:
java.lang.Exception

edit

public java.lang.String edit()
                      throws java.lang.Exception
Throws:
java.lang.Exception

save

public java.lang.String save()
                      throws java.lang.Exception
Throws:
java.lang.Exception

delete

public java.lang.String delete()
                        throws java.lang.Exception
Throws:
java.lang.Exception

confirmDelete

public java.lang.String confirmDelete()
                               throws org.apache.maven.continuum.profile.ProfileException
Throws:
org.apache.maven.continuum.profile.ProfileException

addInstallation

public java.lang.String addInstallation()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

removeInstallation

public java.lang.String removeInstallation()
                                    throws java.lang.Exception
Throws:
java.lang.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 java.util.List<org.apache.maven.continuum.model.system.Profile> getProfiles()

setProfiles

public void setProfiles(java.util.List<org.apache.maven.continuum.model.system.Profile> profiles)

getProfile

public org.apache.maven.continuum.model.system.Profile getProfile()

setProfile

public void setProfile(org.apache.maven.continuum.model.system.Profile profile)

getAllInstallations

public java.util.List<org.apache.maven.continuum.model.system.Installation> getAllInstallations()
                                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

setAllInstallations

public void setAllInstallations(java.util.List<org.apache.maven.continuum.model.system.Installation> allInstallations)

getProfileInstallations

public java.util.List<org.apache.maven.continuum.model.system.Installation> getProfileInstallations()

setProfileInstallations

public void setProfileInstallations(java.util.List<org.apache.maven.continuum.model.system.Installation> profileInstallations)

getInstallationId

public int getInstallationId()

setInstallationId

public void setInstallationId(int installationId)

getBuildAgentGroups

public java.util.List<org.apache.continuum.configuration.BuildAgentGroupConfiguration> getBuildAgentGroups()

setBuildAgentGroups

public void setBuildAgentGroups(java.util.List<org.apache.continuum.configuration.BuildAgentGroupConfiguration> buildAgentGroups)