org.exoplatform.services.jcr.ext.organization
Class JCROrganizationServiceImpl

java.lang.Object
  extended by org.exoplatform.services.organization.BaseOrganizationService
      extended by org.exoplatform.services.jcr.ext.organization.JCROrganizationServiceImpl
All Implemented Interfaces:
org.exoplatform.services.organization.OrganizationService, org.picocontainer.Startable

public class JCROrganizationServiceImpl
extends org.exoplatform.services.organization.BaseOrganizationService
implements org.picocontainer.Startable

Created by The eXo Platform SAS.
Initialization will be performed via OrganizationServiceJCRInitializer.
Date: 24.07.2008

Version:
$Id: JCROrganizationServiceImpl.java 35186 2009-08-07 14:23:43Z pnedonosko $
Author:
Peter Nedonosko

Field Summary
protected  org.exoplatform.container.xml.InitParams initParams
          Initialization parameters.
protected  RegistryService registryService
          Registry service.
protected  ManageableRepository repository
          Manageable repository.
static java.lang.String REPOSITORY_NAME
          The name of parameter that contain repository name.
protected  java.lang.String repositoryName
          Contain passed value of repository name in parameters.
protected  RepositoryService repositoryService
          Repository service.
static java.lang.String STORAGE_PATH
          The name of parameter that contain storage path.
static java.lang.String STORAGE_PATH_DEFAULT
          Default storage path.
static java.lang.String STORAGE_WORKSPACE
          The name of parameter that contain workspace name.
protected  java.lang.String storagePath
          Contain passed value of storage path in parameters.
protected  java.lang.String storageWorkspace
          Contain passed value of workspace name in parameters.
 
Fields inherited from class org.exoplatform.services.organization.BaseOrganizationService
groupDAO_, listeners_, membershipDAO_, membershipTypeDAO_, userDAO_, userProfileDAO_
 
Constructor Summary
JCROrganizationServiceImpl(org.exoplatform.container.xml.InitParams params, RepositoryService repositoryService)
          JCROrganizationServiceImpl constructor.
JCROrganizationServiceImpl(org.exoplatform.container.xml.InitParams initParams, RepositoryService repositoryService, RegistryService registryService)
          JCROrganizationServiceImpl constructor.
 
Method Summary
 void start()
          
 void stop()
          
 
Methods inherited from class org.exoplatform.services.organization.BaseOrganizationService
addListenerPlugin, getGroupHandler, getMembershipHandler, getMembershipTypeHandler, getUserHandler, getUserProfileHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPOSITORY_NAME

public static final java.lang.String REPOSITORY_NAME
The name of parameter that contain repository name.

See Also:
Constant Field Values

STORAGE_PATH

public static final java.lang.String STORAGE_PATH
The name of parameter that contain storage path.

See Also:
Constant Field Values

STORAGE_WORKSPACE

public static final java.lang.String STORAGE_WORKSPACE
The name of parameter that contain workspace name.

See Also:
Constant Field Values

STORAGE_PATH_DEFAULT

public static final java.lang.String STORAGE_PATH_DEFAULT
Default storage path.

See Also:
Constant Field Values

repository

protected ManageableRepository repository
Manageable repository.


repositoryService

protected RepositoryService repositoryService
Repository service.


registryService

protected RegistryService registryService
Registry service.


storagePath

protected java.lang.String storagePath
Contain passed value of storage path in parameters.


repositoryName

protected java.lang.String repositoryName
Contain passed value of repository name in parameters.


storageWorkspace

protected java.lang.String storageWorkspace
Contain passed value of workspace name in parameters.


initParams

protected org.exoplatform.container.xml.InitParams initParams
Initialization parameters.

Constructor Detail

JCROrganizationServiceImpl

public JCROrganizationServiceImpl(org.exoplatform.container.xml.InitParams params,
                                  RepositoryService repositoryService)
                           throws org.exoplatform.container.configuration.ConfigurationException
JCROrganizationServiceImpl constructor. Without registry service.

Parameters:
params - The initialization parameters
repositoryService - The repository service
Throws:
org.exoplatform.container.configuration.ConfigurationException - The exception is thrown if can not initialize service

JCROrganizationServiceImpl

public JCROrganizationServiceImpl(org.exoplatform.container.xml.InitParams initParams,
                                  RepositoryService repositoryService,
                                  RegistryService registryService)
                           throws org.exoplatform.container.configuration.ConfigurationException
JCROrganizationServiceImpl constructor.

Parameters:
params - The initialization parameters
repositoryService - The repository service
registryService - The registry service
Throws:
org.exoplatform.container.configuration.ConfigurationException - The exception is thrown if can not initialize service
Method Detail

start

public void start()

Specified by:
start in interface org.picocontainer.Startable
Overrides:
start in class org.exoplatform.services.organization.BaseOrganizationService

stop

public void stop()

Specified by:
stop in interface org.picocontainer.Startable
Overrides:
stop in class org.exoplatform.services.organization.BaseOrganizationService


Copyright © 2011 eXo Platform SAS. All Rights Reserved.