org.apache.jetspeed.profiler.impl
Class CreateUserTemplatePagesValveImpl
java.lang.Object
org.apache.jetspeed.pipeline.valve.AbstractValve
org.apache.jetspeed.profiler.impl.ProfilerValveImpl
org.apache.jetspeed.profiler.impl.CreateUserTemplatePagesValveImpl
- All Implemented Interfaces:
- PageProfilerValve, org.apache.jetspeed.pipeline.valve.Valve
public class CreateUserTemplatePagesValveImpl
- extends ProfilerValveImpl
CreateUserTemplatePagesValveImpl
Create User Pages from template folder on first login feature
The CreateUserTemplatePagesValveImpl creates a new user's home page from the user template folder.
- Version:
- $Id: CreateUserTemplatePagesValveImpl.java 555324 2007-07-11 16:23:56Z ate $
- Author:
- Woonsan Ko
Constructor Summary |
CreateUserTemplatePagesValveImpl(org.apache.jetspeed.profiler.Profiler profiler,
org.apache.jetspeed.portalsite.PortalSite portalSite,
boolean requestFallback,
boolean useHistoryPageManager,
org.apache.jetspeed.page.PageManager pageManager)
CreateUserTemplatePagesValveImpl - constructor |
CreateUserTemplatePagesValveImpl(org.apache.jetspeed.profiler.Profiler profiler,
org.apache.jetspeed.portalsite.PortalSite portalSite,
boolean requestFallback,
org.apache.jetspeed.page.PageManager pageManager)
CreateUserTemplatePagesValveImpl - constructor |
CreateUserTemplatePagesValveImpl(org.apache.jetspeed.profiler.Profiler profiler,
org.apache.jetspeed.portalsite.PortalSite portalSite,
org.apache.jetspeed.page.PageManager pageManager)
CreateUserTemplatePagesValveImpl - constructor |
Method Summary |
private boolean |
createUserFolderPages(org.apache.jetspeed.request.RequestContext request)
|
void |
invoke(org.apache.jetspeed.request.RequestContext request,
org.apache.jetspeed.pipeline.valve.ValveContext context)
|
void |
setDefaultTemplateFolder(String defaultTemplateFolder)
|
Methods inherited from interface org.apache.jetspeed.pipeline.valve.Valve |
initialize |
log
private static final org.apache.commons.logging.Log log
USER_TEMPLATE_FOLDER_REQUEST_ATTR_KEY
public static final String USER_TEMPLATE_FOLDER_REQUEST_ATTR_KEY
- See Also:
- Constant Field Values
pageManager
protected org.apache.jetspeed.page.PageManager pageManager
defaultTemplateFolder
protected String defaultTemplateFolder
CreateUserTemplatePagesValveImpl
public CreateUserTemplatePagesValveImpl(org.apache.jetspeed.profiler.Profiler profiler,
org.apache.jetspeed.portalsite.PortalSite portalSite,
boolean requestFallback,
boolean useHistoryPageManager,
org.apache.jetspeed.page.PageManager pageManager)
- CreateUserTemplatePagesValveImpl - constructor
- Parameters:
profiler
- profiler component referenceportalSite
- portal site component referencerequestFallback
- flag to enable root folder fallbackuseHistory
- flag to enable selection of last visited folder pagepageManager
- pageManagerComponent reference
CreateUserTemplatePagesValveImpl
public CreateUserTemplatePagesValveImpl(org.apache.jetspeed.profiler.Profiler profiler,
org.apache.jetspeed.portalsite.PortalSite portalSite,
boolean requestFallback,
org.apache.jetspeed.page.PageManager pageManager)
- CreateUserTemplatePagesValveImpl - constructor
- Parameters:
profiler
- profiler component referenceportalSite
- portal site component referencerequestFallback
- flag to enable root folder fallbackpageManager
- pageManagerComponent reference
CreateUserTemplatePagesValveImpl
public CreateUserTemplatePagesValveImpl(org.apache.jetspeed.profiler.Profiler profiler,
org.apache.jetspeed.portalsite.PortalSite portalSite,
org.apache.jetspeed.page.PageManager pageManager)
- CreateUserTemplatePagesValveImpl - constructor
- Parameters:
profiler
- profiler component referenceportalSite
- portal site component referencepageManager
- pageManagerComponent reference
setDefaultTemplateFolder
public void setDefaultTemplateFolder(String defaultTemplateFolder)
invoke
public void invoke(org.apache.jetspeed.request.RequestContext request,
org.apache.jetspeed.pipeline.valve.ValveContext context)
throws org.apache.jetspeed.pipeline.PipelineException
- Specified by:
invoke
in interface org.apache.jetspeed.pipeline.valve.Valve
- Overrides:
invoke
in class ProfilerValveImpl
- Throws:
org.apache.jetspeed.pipeline.PipelineException
- See Also:
Valve.invoke(org.apache.jetspeed.request.RequestContext, org.apache.jetspeed.pipeline.valve.ValveContext)
createUserFolderPages
private boolean createUserFolderPages(org.apache.jetspeed.request.RequestContext request)
throws Exception
- Throws:
Exception
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.