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
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
CONTAINER_LIST_PROVIDER_QM
public static final java.lang.String CONTAINER_LIST_PROVIDER_QM
- See Also:
- Constant Field Values
DefaultCreationContainerListProvider
public DefaultCreationContainerListProvider()
getCreationContainerList
public DocumentModelList getCreationContainerList(CoreSession documentManager,
java.lang.String docType)
throws java.lang.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:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.