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

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.EditPomAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.ModelDriven, 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 EditPomAction
extends ContinuumActionSupport
implements com.opensymphony.xwork2.ModelDriven, org.codehaus.redback.integration.interceptor.SecureAction

Version:
$Id: EditPomAction.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Brett Porter
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
EditPomAction()
           
 
Method Summary
 String execute()
           
 org.apache.maven.model.Model getCompanyModel()
           
 Object getModel()
           
 org.codehaus.redback.integration.interceptor.SecureActionBundle getSecureActionBundle()
           
 String input()
           
 void prepare()
           
 
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, 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

EditPomAction

public EditPomAction()
Method Detail

execute

public String execute()
               throws IOException,
                      org.apache.maven.artifact.installer.ArtifactInstallationException,
                      SettingsConfigurationException
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class ContinuumActionSupport
Throws:
IOException
org.apache.maven.artifact.installer.ArtifactInstallationException
SettingsConfigurationException

input

public String input()
Overrides:
input in class ContinuumActionSupport

getModel

public Object getModel()
Specified by:
getModel in interface com.opensymphony.xwork2.ModelDriven

prepare

public void prepare()
             throws org.apache.maven.project.ProjectBuildingException,
                    org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException,
                    SettingsConfigurationException
Specified by:
prepare in interface com.opensymphony.xwork2.Preparable
Overrides:
prepare in class ContinuumActionSupport
Throws:
org.apache.maven.project.ProjectBuildingException
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
SettingsConfigurationException

getCompanyModel

public org.apache.maven.model.Model getCompanyModel()

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


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