com.liferay.portlet.plugininstaller.action
Class InstallPluginAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.liferay.portal.struts.PortletAction
          extended by com.liferay.portlet.plugininstaller.action.InstallPluginAction

public class InstallPluginAction
extends PortletAction

View Source

Author:
Jorge Ferrer, Brian Wing Shun Chan, Minhchau Dang

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
InstallPluginAction()
           
 
Method Summary
protected  void deployConfiguration(javax.portlet.ActionRequest req)
           
protected  java.lang.String[] getSourceForgeMirrors()
           
protected  void ignorePackages(javax.portlet.ActionRequest req)
           
protected  void localDeploy(javax.portlet.ActionRequest req)
           
 void processAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.portlet.PortletConfig config, javax.portlet.ActionRequest req, javax.portlet.ActionResponse res)
           
protected  void reloadRepositories(javax.portlet.ActionRequest req)
           
protected  void remoteDeploy(javax.portlet.ActionRequest req)
           
protected  int remoteDeploy(java.lang.String url, java.net.URL urlObj, javax.portlet.ActionRequest req, boolean failOnError)
           
protected  void remoteDeploySourceForge(java.lang.String path, javax.portlet.ActionRequest req)
           
protected  void unignorePackages(javax.portlet.ActionRequest req)
           
protected  void uninstall(javax.portlet.ActionRequest req)
           
 
Methods inherited from class com.liferay.portal.struts.PortletAction
execute, getForward, getForward, getForwardKey, getForwardKey, getModuleConfig, getResources, getResources, getResources, isCheckMethodOnProcessAction, redirectToLogin, render, sendRedirect, sendRedirect, serveResource, setForward, strutsExecute
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallPluginAction

public InstallPluginAction()
Method Detail

processAction

public void processAction(org.apache.struts.action.ActionMapping mapping,
                          org.apache.struts.action.ActionForm form,
                          javax.portlet.PortletConfig config,
                          javax.portlet.ActionRequest req,
                          javax.portlet.ActionResponse res)
                   throws java.lang.Exception
Overrides:
processAction in class PortletAction
Throws:
java.lang.Exception

deployConfiguration

protected void deployConfiguration(javax.portlet.ActionRequest req)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getSourceForgeMirrors

protected java.lang.String[] getSourceForgeMirrors()

ignorePackages

protected void ignorePackages(javax.portlet.ActionRequest req)
                       throws java.lang.Exception
Throws:
java.lang.Exception

localDeploy

protected void localDeploy(javax.portlet.ActionRequest req)
                    throws java.lang.Exception
Throws:
java.lang.Exception

reloadRepositories

protected void reloadRepositories(javax.portlet.ActionRequest req)
                           throws java.lang.Exception
Throws:
java.lang.Exception

remoteDeploy

protected void remoteDeploy(javax.portlet.ActionRequest req)
                     throws java.lang.Exception
Throws:
java.lang.Exception

remoteDeploy

protected int remoteDeploy(java.lang.String url,
                           java.net.URL urlObj,
                           javax.portlet.ActionRequest req,
                           boolean failOnError)
                    throws java.lang.Exception
Throws:
java.lang.Exception

remoteDeploySourceForge

protected void remoteDeploySourceForge(java.lang.String path,
                                       javax.portlet.ActionRequest req)
                                throws java.lang.Exception
Throws:
java.lang.Exception

unignorePackages

protected void unignorePackages(javax.portlet.ActionRequest req)
                         throws java.lang.Exception
Throws:
java.lang.Exception

uninstall

protected void uninstall(javax.portlet.ActionRequest req)
                  throws java.lang.Exception
Throws:
java.lang.Exception