Package org.nuxeo.ecm.collections.api
Interface CollectionLocationService
- All Known Implementing Classes:
AbstractUserWorkspaceImpl
,DefaultUserWorkspaceServiceImpl
,MultiTenantUserWorkspaceService
public interface CollectionLocationService
- Since:
- 10.3
-
Method Summary
Modifier and TypeMethodDescriptiongetUserDefaultCollectionsRoot
(CoreSession session) Provide the default document where will be stored collections.getUserFavorites
(CoreSession session) Provide the default favorites document.
-
Method Details
-
getUserDefaultCollectionsRoot
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
Provide the default favorites document. The document must be of type Favorites.- Parameters:
session
- the core session- Returns:
- the favorites
-