org.nuxeo.ecm.platform.filemanager.service.extension
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
CONTAINER_LIST_PROVIDER_QM
public static final String CONTAINER_LIST_PROVIDER_QM
- See Also:
- Constant Field Values
DefaultCreationContainerListProvider
public DefaultCreationContainerListProvider()
getCreationContainerList
public DocumentModelList getCreationContainerList(CoreSession documentManager,
String docType)
throws Exception
- 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
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.