public class JCROrganizationServiceImpl
extends org.exoplatform.services.organization.BaseOrganizationService
implements org.picocontainer.Startable
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHE_ENABLED
The name of parameter that contains enable cache.
|
static boolean |
CACHE_ENABLED_DEFAULT
Default cache enabled.
|
protected boolean |
cacheEnabled
Contain passed value of cache enabled in parameters.
|
protected JCRCacheHandler |
cacheHandler
Cache for organization service entities.
|
static String |
JOS_DISABLED
The mixin type and property used as a marker to indicate that a node is disabled.
|
static String |
JOS_HIERARCHY_GROUP_NODETYPE
The group nodetype.
|
static String |
JOS_MEMBERSHIP
The child node of group node where memberships are stored.
|
static String |
JOS_MEMBERSHIP_TYPE_ANY
The node that identifies the membership type * or any.
|
static String |
JOS_PROFILE
The child node to store user additional information.
|
static String |
JOS_USERS_NODETYPE
The users nodetype.
|
protected org.exoplatform.services.jcr.ext.registry.RegistryService |
registryService
Registry service.
|
static String |
REPOSITORY_NAME
The name of parameter that contains repository name.
|
protected String |
repositoryName
Contain passed value of repository name in parameters.
|
protected org.exoplatform.services.jcr.RepositoryService |
repositoryService
Repository service.
|
static String |
STORAGE_JOS_GROUPS
The node to store groups.
|
static String |
STORAGE_JOS_GROUPS_NODETYPE
The groups storage nodetype.
|
static String |
STORAGE_JOS_MEMBERSHIP_TYPES
The node to store membership types.
|
static String |
STORAGE_JOS_MEMBERSHIP_TYPES_NODETYPE
The membership types storage nodetype.
|
static String |
STORAGE_JOS_USERS
The node to storage users.
|
static String |
STORAGE_JOS_USERS_NODETYPE
The users storage nodetype.
|
static String |
STORAGE_NODETYPE
The storage nodetype.
|
static String |
STORAGE_PATH
The name of parameter that contains storage path.
|
static String |
STORAGE_PATH_DEFAULT
Default storage path.
|
static String |
STORAGE_WORKSPACE
The name of parameter that contains workspace name.
|
protected String |
storagePath
Contain passed value of storage path in parameters.
|
protected String |
storageWorkspace
Contain passed value of workspace name in parameters.
|
| Constructor and Description |
|---|
JCROrganizationServiceImpl(org.exoplatform.container.xml.InitParams params,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.cache.CacheService cservice)
JCROrganizationServiceImpl constructor.
|
JCROrganizationServiceImpl(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.jcr.ext.registry.RegistryService registryService,
org.exoplatform.services.cache.CacheService cservice)
JCROrganizationServiceImpl constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.exoplatform.services.jcr.core.ManageableRepository |
getWorkingRepository()
Returns working repository.
|
void |
start() |
void |
stop() |
addListenerPlugin, endRequest, getGroupHandler, getMembershipHandler, getMembershipTypeHandler, getUserHandler, getUserProfileHandler, startRequestpublic static final String REPOSITORY_NAME
public static final String STORAGE_PATH
public static final String STORAGE_WORKSPACE
public static final String CACHE_ENABLED
public static final String STORAGE_PATH_DEFAULT
protected org.exoplatform.services.jcr.RepositoryService repositoryService
protected org.exoplatform.services.jcr.ext.registry.RegistryService registryService
protected String storagePath
protected String repositoryName
protected String storageWorkspace
protected boolean cacheEnabled
protected JCRCacheHandler cacheHandler
public static final String STORAGE_JOS_GROUPS
public static final String STORAGE_JOS_MEMBERSHIP_TYPES
public static final String STORAGE_JOS_USERS
public static final String JOS_PROFILE
public static final String JOS_MEMBERSHIP
public static final String JOS_MEMBERSHIP_TYPE_ANY
public static final String JOS_HIERARCHY_GROUP_NODETYPE
public static final String JOS_USERS_NODETYPE
public static final String JOS_DISABLED
public static final String STORAGE_NODETYPE
public static final String STORAGE_JOS_USERS_NODETYPE
public static final String STORAGE_JOS_GROUPS_NODETYPE
public static final String STORAGE_JOS_MEMBERSHIP_TYPES_NODETYPE
public static final boolean CACHE_ENABLED_DEFAULT
public JCROrganizationServiceImpl(org.exoplatform.container.xml.InitParams params,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.cache.CacheService cservice)
throws org.exoplatform.container.configuration.ConfigurationException
org.exoplatform.container.configuration.ConfigurationExceptionpublic JCROrganizationServiceImpl(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.jcr.ext.registry.RegistryService registryService,
org.exoplatform.services.cache.CacheService cservice)
throws org.exoplatform.container.configuration.ConfigurationException
org.exoplatform.container.configuration.ConfigurationExceptionpublic void start()
start in interface org.picocontainer.Startablestart in class org.exoplatform.services.organization.BaseOrganizationServicepublic void stop()
stop in interface org.picocontainer.Startablestop in class org.exoplatform.services.organization.BaseOrganizationServiceprotected org.exoplatform.services.jcr.core.ManageableRepository getWorkingRepository()
throws javax.jcr.RepositoryException,
org.exoplatform.services.jcr.config.RepositoryConfigurationException
javax.jcr.RepositoryExceptionorg.exoplatform.services.jcr.config.RepositoryConfigurationExceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.