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 StringCONTAINER_LIST_PROVIDER_QMprotected PageProviderServiceppServiceDeprecated.since 11.1.
-
Constructor Summary
Constructors Constructor Description DefaultCreationContainerListProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DocumentModelListgetCreationContainerList(CoreSession documentManager, String docType)Build the list of candidate containers for the given document type and session.protected PageProviderServicegetPageProviderService()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)withPageProviderServiceinstead.
-
-
Method Detail
-
getPageProviderService
@Deprecated protected PageProviderService getPageProviderService()
Deprecated.since 11.1. UseFramework.getService(Class)withPageProviderServiceinstead.
-
getCreationContainerList
public DocumentModelList getCreationContainerList(CoreSession documentManager, String docType)
Description copied from interface:CreationContainerListProviderBuild 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
-
-