org.apache.maven.continuum.web.action
Class ProjectEditAction

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.ProjectEditAction
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 ProjectEditAction
extends ContinuumActionSupport

Version:
$Id: ProjectEditAction.java 781927 2009-06-05 06:52:07Z ctan $
Author:
Emmanuel Venisse
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
ProjectEditAction()
           
 
Method Summary
 String edit()
           
 String getName()
           
 Project getProject()
           
 String getProjectGroupName()
           
 int getProjectId()
           
 String getScmPassword()
           
 String getScmTag()
           
 String getScmUrl()
           
 String getScmUsername()
           
 String getVersion()
           
 boolean isScmUseCache()
           
 String save()
           
 void setName(String name)
           
 void setProjectId(int projectId)
           
 void setScmPassword(String scmPassword)
           
 void setScmTag(String scmTag)
           
 void setScmUrl(String scmUrl)
           
 void setScmUseCache(boolean scmUseCache)
           
 void setScmUsername(String scmUsername)
           
 void setVersion(String version)
           
 
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

ProjectEditAction

public ProjectEditAction()
Method Detail

save

public String save()
            throws ContinuumException
Throws:
ContinuumException

edit

public String edit()
            throws ContinuumException
Throws:
ContinuumException

getProjectId

public int getProjectId()

setProjectId

public void setProjectId(int projectId)

getName

public String getName()

setName

public void setName(String name)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getScmUrl

public String getScmUrl()

setScmUrl

public void setScmUrl(String scmUrl)

getScmUsername

public String getScmUsername()

setScmUsername

public void setScmUsername(String scmUsername)

getScmPassword

public String getScmPassword()

setScmPassword

public void setScmPassword(String scmPassword)

getScmTag

public String getScmTag()

setScmTag

public void setScmTag(String scmTag)

getProject

public Project getProject()

setScmUseCache

public void setScmUseCache(boolean scmUseCache)

isScmUseCache

public boolean isScmUseCache()

getProjectGroupName

public String getProjectGroupName()
                           throws ContinuumException
Throws:
ContinuumException


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