public interface SpaceProvider
Modifier and Type | Method and Description |
---|---|
void |
add(Space o,
CoreSession session,
Map<String,String> params) |
void |
addAll(Collection<? extends Space> c,
CoreSession session) |
void |
clear(CoreSession session) |
List<Space> |
getAll(CoreSession session,
DocumentModel contextDocument) |
String |
getName()
Gets
SpaceProvider 's name. |
Space |
getSpace(CoreSession session,
DocumentModel contextDocument,
String spaceName) |
Space |
getSpace(CoreSession session,
DocumentModel contextDocument,
String spaceName,
Map<String,String> parameters) |
void |
initialize(String name,
Map<String,String> params) |
boolean |
isEmpty(CoreSession session,
DocumentModel contextDocument) |
boolean |
isReadOnly(CoreSession session) |
boolean |
remove(Space space,
CoreSession session) |
long |
size(CoreSession session,
DocumentModel contextDocument) |
void initialize(String name, Map<String,String> params) throws SpaceException
SpaceException
String getName()
SpaceProvider
's name.Space getSpace(CoreSession session, DocumentModel contextDocument, String spaceName, Map<String,String> parameters) throws SpaceException
SpaceException
Space getSpace(CoreSession session, DocumentModel contextDocument, String spaceName) throws SpaceException
SpaceException
List<Space> getAll(CoreSession session, DocumentModel contextDocument) throws SpaceException
SpaceException
long size(CoreSession session, DocumentModel contextDocument) throws SpaceException
SpaceException
boolean isEmpty(CoreSession session, DocumentModel contextDocument) throws SpaceException
SpaceException
boolean isReadOnly(CoreSession session)
void add(Space o, CoreSession session, Map<String,String> params) throws SpaceException
SpaceException
void addAll(Collection<? extends Space> c, CoreSession session) throws SpaceException
SpaceException
boolean remove(Space space, CoreSession session) throws SpaceException
SpaceException
void clear(CoreSession session) throws SpaceException
SpaceException
Copyright © 2015 Nuxeo SA. All rights reserved.