org.exoplatform.services.wcm.portal.artifacts
Class CreatePortalPlugin

java.lang.Object
  extended by org.exoplatform.services.deployment.DeploymentPlugin
      extended by org.exoplatform.services.deployment.plugins.XMLDeploymentPlugin
          extended by org.exoplatform.services.wcm.portal.artifacts.CreatePortalPlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
Direct Known Subclasses:
CreateTaxonomyPlugin, InitialWebContentPlugin

public abstract class CreatePortalPlugin
extends org.exoplatform.services.deployment.plugins.XMLDeploymentPlugin

Created by The eXo Platform SAS Author : Hoa Pham hoa.phamvu@exoplatform.com Oct 22, 2008


Constructor Summary
CreatePortalPlugin(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.container.configuration.ConfigurationManager configurationManager, org.exoplatform.services.jcr.RepositoryService repositoryService)
          Instantiates a new base portal artifacts plugin.
 
Method Summary
abstract  void deployToPortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, java.lang.String portalName)
          Deploy to portal.
 
Methods inherited from class org.exoplatform.services.deployment.plugins.XMLDeploymentPlugin
deploy
 
Methods inherited from class org.exoplatform.services.deployment.DeploymentPlugin
getDescription, getName, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreatePortalPlugin

public CreatePortalPlugin(org.exoplatform.container.xml.InitParams initParams,
                          org.exoplatform.container.configuration.ConfigurationManager configurationManager,
                          org.exoplatform.services.jcr.RepositoryService repositoryService)
Instantiates a new base portal artifacts plugin.

Parameters:
initParams - the init params
configurationManager - the configuration manager
repositoryService - the repository service
Method Detail

deployToPortal

public abstract void deployToPortal(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                                    java.lang.String portalName)
                             throws java.lang.Exception
Deploy to portal.

Parameters:
portalName - the portal name
sessionProvider - the session provider
Throws:
java.lang.Exception - the exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.