org.objectweb.jonas.webapp.jonasadmin.deploy
Class BaseDeployAction

java.lang.Object
  extended byAction
      extended byorg.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
          extended byorg.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction
Direct Known Subclasses:
ApplyDeployAction, ApplyDeployConfirmAction, EditDeployAction

public abstract class BaseDeployAction
extends JonasBaseAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
m_Errors, m_Resources, m_Session
 
Constructor Summary
BaseDeployAction()
           
 
Method Summary
protected  void Deploy(java.lang.String p_Filename)
          Deploy a file in using the type of current deployment storing in WhereAreYou instance in session.
protected  void DeployDataSource(java.lang.String p_Filename)
          Deploy a datasource file.
protected  int getCurrentJonasDeployment()
           
protected  java.lang.String getForwardEdit()
          Return the edit forward string.
protected  java.util.ArrayList getListDeployableFiles()
          Return the list of deployable files in using the type of current deployment storing in WhereAreYou instance in session.
protected  java.util.ArrayList getListDeployedFiles()
          Return the list of deployed files in using the type of current deployment storing in WhereAreYou instance in session.
protected  void setCurrentJonasDeployment(javax.servlet.http.HttpServletRequest p_Request)
           
protected  void Undeploy(java.lang.String p_Filename)
          Undeploy a file in using the type of current deployment storing in WhereAreYou instance in session.
protected  void UndeployDataSource(java.lang.String p_Filename)
          Undeploy a datasource file.
 
Methods inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
addGlobalError, executeAction, getBooleanAttribute, getBooleanAttribute, getBooleanAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getLongAttribute, getLongAttribute, getLongAttribute, getStringAttribute, getStringAttribute, getStringAttribute, perform, setBooleanAttribute, setBooleanAttribute, setIntegerAttribute, setIntegerAttribute, setIntegerAttribute, setLongAttribute, setLongAttribute, setStringAttribute, setStringAttribute, setStringAttribute, toStringBooleanAttribute, toStringIntegerAttribute, toStringLongAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDeployAction

public BaseDeployAction()
Method Detail

getCurrentJonasDeployment

protected int getCurrentJonasDeployment()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

setCurrentJonasDeployment

protected void setCurrentJonasDeployment(javax.servlet.http.HttpServletRequest p_Request)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getForwardEdit

protected java.lang.String getForwardEdit()
Return the edit forward string.

Returns:
The edit forward string

getListDeployableFiles

protected java.util.ArrayList getListDeployableFiles()
                                              throws java.lang.Exception
Return the list of deployable files in using the type of current deployment storing in WhereAreYou instance in session.

Returns:
The list of deployable files
Throws:
java.lang.Exception

getListDeployedFiles

protected java.util.ArrayList getListDeployedFiles()
                                            throws java.lang.Exception
Return the list of deployed files in using the type of current deployment storing in WhereAreYou instance in session.

Returns:
The list of deployed files
Throws:
java.lang.Exception

Undeploy

protected void Undeploy(java.lang.String p_Filename)
                 throws java.lang.Exception
Undeploy a file in using the type of current deployment storing in WhereAreYou instance in session.

Parameters:
p_Filename - Name of file to undeploy
Throws:
java.lang.Exception

UndeployDataSource

protected void UndeployDataSource(java.lang.String p_Filename)
                           throws java.lang.Exception
Undeploy a datasource file.

Parameters:
p_Filename - Name of file to undeploy
Throws:
java.lang.Exception

Deploy

protected void Deploy(java.lang.String p_Filename)
               throws java.lang.Exception
Deploy a file in using the type of current deployment storing in WhereAreYou instance in session.

Parameters:
p_Filename - Name of file to deploy
Throws:
java.lang.Exception

DeployDataSource

protected void DeployDataSource(java.lang.String p_Filename)
                         throws java.lang.Exception
Deploy a datasource file.

Parameters:
p_Filename - Name of file to deploy
Throws:
java.lang.Exception