org.apache.jetspeed.portlets.admin
Class JetspeedDataImporter
java.lang.Object
javax.portlet.GenericPortlet
org.apache.portals.bridges.common.GenericServletPortlet
org.apache.portals.bridges.velocity.GenericVelocityPortlet
org.apache.portals.gems.dojo.AbstractDojoVelocityPortlet
org.apache.jetspeed.portlets.admin.JetspeedDataImporter
- All Implemented Interfaces:
- javax.portlet.Portlet, javax.portlet.PortletConfig, org.apache.jetspeed.portlet.SupportsHeaderPhase
public class JetspeedDataImporter
- extends org.apache.portals.gems.dojo.AbstractDojoVelocityPortlet
Manage the Portal Site
- Version:
- $Id$
- Author:
- Vivek Kumar
Fields inherited from class org.apache.portals.gems.dojo.AbstractDojoVelocityPortlet |
headerPage |
Fields inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet |
PORTLET_BRIDGE_CONTEXT |
Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE |
Methods inherited from class org.apache.portals.gems.dojo.AbstractDojoVelocityPortlet |
doHeader, include, include |
Methods inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet |
doCustom, doEdit, doHelp, doPreferencesEdit, getContext, getContext, render, setupPreferencesEdit |
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage |
Methods inherited from class javax.portlet.GenericPortlet |
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
userManager
protected org.apache.jetspeed.security.UserManager userManager
groupManager
protected org.apache.jetspeed.security.GroupManager groupManager
roleManager
protected org.apache.jetspeed.security.RoleManager roleManager
roleMap
private HashMap roleMap
groupMap
private HashMap groupMap
userMap
private HashMap userMap
mimeMap
private HashMap mimeMap
mimeMapInt
private HashMap mimeMapInt
mediaMap
private HashMap mediaMap
capabilityMap
private HashMap capabilityMap
capabilityMapInt
private HashMap capabilityMapInt
clientMap
private HashMap clientMap
permissionMap
private HashMap permissionMap
rulesMap
private HashMap rulesMap
refCouter
int refCouter
ENCODING_STRING
private static String ENCODING_STRING
JETSPEED
private static String JETSPEED
serializerFactory
protected org.apache.jetspeed.serializer.JetspeedSerializerFactory serializerFactory
JetspeedDataImporter
public JetspeedDataImporter()
includeHeaderContent
protected void includeHeaderContent(org.apache.jetspeed.headerresource.HeaderResource headerResource)
- Overrides:
includeHeaderContent
in class org.apache.portals.gems.dojo.AbstractDojoVelocityPortlet
init
public void init(javax.portlet.PortletConfig config)
throws javax.portlet.PortletException
- Specified by:
init
in interface javax.portlet.Portlet
- Overrides:
init
in class org.apache.portals.gems.dojo.AbstractDojoVelocityPortlet
- Throws:
javax.portlet.PortletException
doView
public void doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
IOException
- Overrides:
doView
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
- Throws:
javax.portlet.PortletException
IOException
processAction
public void processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse actionResponse)
throws javax.portlet.PortletException,
IOException
- Specified by:
processAction
in interface javax.portlet.Portlet
- Overrides:
processAction
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
- Throws:
javax.portlet.PortletException
IOException
importJetspeedData
private boolean importJetspeedData(String filePath)
cleanUserFolder
private boolean cleanUserFolder(String userName)
deleteDir
private boolean deleteDir(File dir)
getTempFolder
private String getTempFolder(javax.portlet.ActionRequest request)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.