|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CreationContainerListProvider
Interface to implement for contributions to the FileManagerService creationContainerListProvider extension point.
The provider should tell for a given (handled) document type the list of candidate container the user can create new document in.
Method Summary | |
---|---|
boolean |
accept(java.lang.String docType)
Tell whether docType is handled by the provider. |
DocumentModelList |
getCreationContainerList(CoreSession documentManager,
java.lang.String docType)
Build the list of candidate containers for the given document type and session. |
java.lang.String[] |
getDocTypes()
Arrays of the document types accepted by the CreationContainerListProvider instance. null or empty array mean any document type is accepted. |
java.lang.String |
getName()
Unique name of the CreationContainerListProvider. |
void |
setDocTypes(java.lang.String[] docTypes)
|
void |
setName(java.lang.String name)
|
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String name)
java.lang.String[] getDocTypes()
void setDocTypes(java.lang.String[] docTypes)
boolean accept(java.lang.String docType)
docType
- name of the document core type
DocumentModelList getCreationContainerList(CoreSession documentManager, java.lang.String docType) throws java.lang.Exception
documentManager
- the current session contextdocType
- the type of document to create
java.lang.Exception
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |