Class DefaultCreationContainerListProvider
- java.lang.Object
-
- org.nuxeo.ecm.platform.filemanager.service.extension.AbstractCreationContainerListProvider
-
- org.nuxeo.ecm.platform.filemanager.service.extension.DefaultCreationContainerListProvider
-
- All Implemented Interfaces:
CreationContainerListProvider
public class DefaultCreationContainerListProvider extends AbstractCreationContainerListProvider
Default contribution to the CreationContainerListProvider extension point that find the list of Workspaces the user has the right to create new document into.The filtered list is sorted
- Author:
- Olivier Grisel
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTAINER_LIST_PROVIDER_QM
protected PageProviderService
ppService
Deprecated.since 11.1.
-
Constructor Summary
Constructors Constructor Description DefaultCreationContainerListProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DocumentModelList
getCreationContainerList(CoreSession documentManager, String docType)
Build the list of candidate containers for the given document type and session.protected PageProviderService
getPageProviderService()
Deprecated.since 11.1.-
Methods inherited from class org.nuxeo.ecm.platform.filemanager.service.extension.AbstractCreationContainerListProvider
accept, equals, getDocTypes, getName, hashCode, setDocTypes, setName
-
-
-
-
Field Detail
-
CONTAINER_LIST_PROVIDER_QM
public static final String CONTAINER_LIST_PROVIDER_QM
- See Also:
- Constant Field Values
-
ppService
@Deprecated protected PageProviderService ppService
Deprecated.since 11.1. UseFramework.getService(Class)
withPageProviderService
instead.
-
-
Method Detail
-
getPageProviderService
@Deprecated protected PageProviderService getPageProviderService()
Deprecated.since 11.1. UseFramework.getService(Class)
withPageProviderService
instead.
-
getCreationContainerList
public DocumentModelList getCreationContainerList(CoreSession documentManager, String docType)
Description copied from interface:CreationContainerListProvider
Build the list of candidate containers for the given document type and session.- Parameters:
documentManager
- the current session contextdocType
- the type of document to create- Returns:
- the list of candidate containers
-
-