|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpaceManager
Framework service for CRUD operations concerning Univers, Space in a specific univers, and Gadget in a specific space
Method Summary | |
---|---|
java.lang.String |
getProviderName(SpaceProvider provider)
|
Space |
getSpace(java.lang.String name,
CoreSession session)
|
Space |
getSpace(java.lang.String name,
SpaceProvider provider,
CoreSession session)
Deprecated. |
Space |
getSpace(java.lang.String name,
Univers univers,
CoreSession session)
Retrieve a specific space from its name and its parent universe |
Space |
getSpaceFromId(java.lang.String spaceId,
CoreSession session)
|
java.util.List<Space> |
getSpacesForUnivers(Univers universe,
CoreSession session)
List of all accessible spaces for a given univers |
java.util.List<SpaceProvider> |
getSpacesProvider(Univers univers)
|
java.util.List<SpaceProvider> |
getSpacesProviders()
|
Univers |
getUnivers(java.lang.String name,
CoreSession session)
Retrieve a specific universe from its name |
Univers |
getUniversFromId(java.lang.String universId,
CoreSession session)
|
java.util.List<Univers> |
getUniversList(CoreSession session)
List of all accessible universes |
Method Detail |
---|
java.util.List<Univers> getUniversList(CoreSession session) throws SpaceException
SpaceException
- a bug has happenedUnivers getUnivers(java.lang.String name, CoreSession session) throws UniversNotFoundException, SpaceException
name
- identifier of a universsession
- a core session
UniversNotFoundException
- when no universe with such a name can be
found
SpaceException
- when a bug has happenedUnivers getUniversFromId(java.lang.String universId, CoreSession session) throws SpaceException
universId
-
UniversNotFoundException
SpaceException
java.util.List<SpaceProvider> getSpacesProvider(Univers univers)
java.util.List<Space> getSpacesForUnivers(Univers universe, CoreSession session) throws UniversNotFoundException, SpaceException
universe
- the universe in which you are looking for spaces
UniversNotFoundException
- when no univers was found with the given
universe id
SpaceException
- when a bug has happenedSpace getSpace(java.lang.String name, Univers univers, CoreSession session) throws SpaceException
name
- name of the searched spaceunivers
- parent container
SpaceNotFoundException
- when the space was not found
SpaceException
Space getSpace(java.lang.String name, CoreSession session) throws SpaceException
SpaceException
@Deprecated Space getSpace(java.lang.String name, SpaceProvider provider, CoreSession session) throws SpaceException
SpaceException
Space getSpaceFromId(java.lang.String spaceId, CoreSession session) throws SpaceException
SpaceException
java.util.List<SpaceProvider> getSpacesProviders()
java.lang.String getProviderName(SpaceProvider provider)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |