Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.filemanager.service.extension
Class DefaultCreationContainerListProvider

java.lang.Object
  extended by org.nuxeo.ecm.platform.filemanager.service.extension.AbstractCreationContainerListProvider
      extended by 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
static String CONTAINER_LIST_PROVIDER_QM
           
 
Constructor Summary
DefaultCreationContainerListProvider()
           
 
Method Summary
 DocumentModelList getCreationContainerList(CoreSession documentManager, String docType)
          Build the list of candidate containers for the given document type and session.
 
Methods inherited from class org.nuxeo.ecm.platform.filemanager.service.extension.AbstractCreationContainerListProvider
accept, equals, getDocTypes, getName, hashCode, setDocTypes, setName
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTAINER_LIST_PROVIDER_QM

public static final String CONTAINER_LIST_PROVIDER_QM
See Also:
Constant Field Values
Constructor Detail

DefaultCreationContainerListProvider

public DefaultCreationContainerListProvider()
Method Detail

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 context
docType - the type of document to create
Returns:
the list of candidate containers
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.