Package org.nuxeo.ecm.collections.api
Interface CollectionLocationService
-
- All Known Implementing Classes:
AbstractUserWorkspaceImpl
,DefaultUserWorkspaceServiceImpl
,MultiTenantUserWorkspaceService
public interface CollectionLocationService
- Since:
- 10.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentModel
getUserDefaultCollectionsRoot(CoreSession session)
Provide the default document where will be stored collections.DocumentModel
getUserFavorites(CoreSession session)
Provide the default favorites document.
-
-
-
Method Detail
-
getUserDefaultCollectionsRoot
DocumentModel getUserDefaultCollectionsRoot(CoreSession session)
Provide the default document where will be stored collections. The document must be a "Folderish" accepting "Collection" sub-type.- Parameters:
session
- the core session- Returns:
- the default location for collections
-
getUserFavorites
DocumentModel getUserFavorites(CoreSession session)
Provide the default favorites document. The document must be of type Favorites.- Parameters:
session
- the core session- Returns:
- the favorites
-
-