org.nuxeo.ecm.spaces.impl
Class SpaceManagerImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.spaces.impl.SpaceManagerImpl
- All Implemented Interfaces:
- SpaceManager, org.nuxeo.runtime.model.Adaptable, org.nuxeo.runtime.model.Component, org.nuxeo.runtime.model.Extensible
public class SpaceManagerImpl
- extends org.nuxeo.runtime.model.DefaultComponent
- implements SpaceManager
- Author:
- 10044893
Method Summary |
void |
activate(org.nuxeo.runtime.model.ComponentContext context)
|
void |
deactivate(org.nuxeo.runtime.model.ComponentContext context)
|
Space |
getSpace(String spaceProviderName,
org.nuxeo.ecm.core.api.CoreSession session)
|
Space |
getSpace(String spaceProviderName,
org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel contextDocument)
|
Space |
getSpace(String spaceProviderName,
org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel contextDocument,
String spaceName)
|
Space |
getSpace(String spaceProviderName,
org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel contextDocument,
String spaceName,
Map<String,String> parameters)
|
Space |
getSpace(String spaceProviderName,
org.nuxeo.ecm.core.api.DocumentModel contextDocument)
|
Space |
getSpace(String spaceProviderName,
org.nuxeo.ecm.core.api.DocumentModel contextDocument,
String spaceName)
|
Space |
getSpaceFromId(String spaceId,
org.nuxeo.ecm.core.api.CoreSession session)
|
SpaceProvider |
getSpaceProvider(String providerName)
|
Collection<SpaceProvider> |
getSpaceProviders()
|
void |
registerContribution(Object contribution,
String extensionPoint,
org.nuxeo.runtime.model.ComponentInstance contributor)
|
void |
unregisterContribution(Object contribution,
String extensionPoint,
org.nuxeo.runtime.model.ComponentInstance contributor)
|
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent |
applicationStarted, getAdapter, registerExtension, unregisterExtension |
SpaceManagerImpl
public SpaceManagerImpl()
activate
public void activate(org.nuxeo.runtime.model.ComponentContext context)
throws Exception
- Specified by:
activate
in interface org.nuxeo.runtime.model.Component
- Overrides:
activate
in class org.nuxeo.runtime.model.DefaultComponent
- Throws:
Exception
deactivate
public void deactivate(org.nuxeo.runtime.model.ComponentContext context)
throws Exception
- Specified by:
deactivate
in interface org.nuxeo.runtime.model.Component
- Overrides:
deactivate
in class org.nuxeo.runtime.model.DefaultComponent
- Throws:
Exception
getSpaceFromId
public Space getSpaceFromId(String spaceId,
org.nuxeo.ecm.core.api.CoreSession session)
throws SpaceException
- Specified by:
getSpaceFromId
in interface SpaceManager
- Throws:
SpaceException
getSpace
public Space getSpace(String spaceProviderName,
org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel contextDocument,
String spaceName,
Map<String,String> parameters)
throws SpaceException
- Specified by:
getSpace
in interface SpaceManager
- Throws:
SpaceException
getSpace
public Space getSpace(String spaceProviderName,
org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel contextDocument,
String spaceName)
throws SpaceException
- Specified by:
getSpace
in interface SpaceManager
- Throws:
SpaceException
getSpace
public Space getSpace(String spaceProviderName,
org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel contextDocument)
throws SpaceException
- Specified by:
getSpace
in interface SpaceManager
- Throws:
SpaceException
getSpace
public Space getSpace(String spaceProviderName,
org.nuxeo.ecm.core.api.CoreSession session)
throws SpaceException
- Specified by:
getSpace
in interface SpaceManager
- Throws:
SpaceException
getSpace
public Space getSpace(String spaceProviderName,
org.nuxeo.ecm.core.api.DocumentModel contextDocument,
String spaceName)
throws SpaceException
- Specified by:
getSpace
in interface SpaceManager
- Throws:
SpaceException
getSpace
public Space getSpace(String spaceProviderName,
org.nuxeo.ecm.core.api.DocumentModel contextDocument)
throws SpaceException
- Specified by:
getSpace
in interface SpaceManager
- Throws:
SpaceException
registerContribution
public void registerContribution(Object contribution,
String extensionPoint,
org.nuxeo.runtime.model.ComponentInstance contributor)
throws Exception
- Overrides:
registerContribution
in class org.nuxeo.runtime.model.DefaultComponent
- Throws:
Exception
unregisterContribution
public void unregisterContribution(Object contribution,
String extensionPoint,
org.nuxeo.runtime.model.ComponentInstance contributor)
throws Exception
- Overrides:
unregisterContribution
in class org.nuxeo.runtime.model.DefaultComponent
- Throws:
Exception
getSpaceProviders
public Collection<SpaceProvider> getSpaceProviders()
- Specified by:
getSpaceProviders
in interface SpaceManager
getSpaceProvider
public SpaceProvider getSpaceProvider(String providerName)
throws SpaceException
- Specified by:
getSpaceProvider
in interface SpaceManager
- Throws:
SpaceException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.