Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.spaces.core.contribs.impl
Class SingleDocSpaceProvider

java.lang.Object
  extended by org.nuxeo.ecm.spaces.api.AbstractSpaceProvider
      extended by org.nuxeo.ecm.spaces.core.contribs.impl.SingleDocSpaceProvider
All Implemented Interfaces:
SpaceProvider
Direct Known Subclasses:
DashboardSpaceProvider

public class SingleDocSpaceProvider
extends AbstractSpaceProvider


Constructor Summary
SingleDocSpaceProvider()
           
 
Method Summary
 Space doGetSpace(java.lang.String spaceName, CoreSession session)
           
 java.util.List<Space> getAll(CoreSession session)
           
 void initialize(java.util.Map<java.lang.String,java.lang.String> params)
           
 boolean isEmpty(CoreSession session)
           
 boolean isReadOnly(CoreSession session)
           
 long size(CoreSession session)
           
 
Methods inherited from class org.nuxeo.ecm.spaces.api.AbstractSpaceProvider
add, addAll, clear, getAllSpaces, getColumnId, getName, getSpace, remove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleDocSpaceProvider

public SingleDocSpaceProvider()
Method Detail

initialize

public void initialize(java.util.Map<java.lang.String,java.lang.String> params)
                throws java.lang.Exception
Specified by:
initialize in interface SpaceProvider
Overrides:
initialize in class AbstractSpaceProvider
Throws:
java.lang.Exception

size

public long size(CoreSession session)
Specified by:
size in interface SpaceProvider
Overrides:
size in class AbstractSpaceProvider

isReadOnly

public boolean isReadOnly(CoreSession session)

getAll

public java.util.List<Space> getAll(CoreSession session)
                             throws SpaceException
Throws:
SpaceException

doGetSpace

public Space doGetSpace(java.lang.String spaceName,
                        CoreSession session)
                 throws SpaceException
Throws:
SpaceException

isEmpty

public boolean isEmpty(CoreSession session)
Specified by:
isEmpty in interface SpaceProvider
Overrides:
isEmpty in class AbstractSpaceProvider

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.