Interface CollectionLocationService

All Known Implementing Classes:
AbstractUserWorkspaceImpl, DefaultUserWorkspaceServiceImpl, MultiTenantUserWorkspaceService

public interface CollectionLocationService
Since:
10.3
  • Method Details

    • 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