Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.spaces.impl
Class SpaceManagerImpl

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by 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

Constructor Summary
SpaceManagerImpl()
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceManagerImpl

public SpaceManagerImpl()
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.