Nuxeo Enterprise Platform 5.1

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

java.lang.Object
  extended by org.nuxeo.ecm.platform.filemanager.service.extension.AbstractPlugin
      extended by org.nuxeo.ecm.platform.filemanager.service.extension.NotePlugin
All Implemented Interfaces:
Serializable, Plugin

public class NotePlugin
extends AbstractPlugin

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.nuxeo.ecm.platform.filemanager.service.extension.AbstractPlugin
fileManagerService, filters, name, patterns
 
Constructor Summary
NotePlugin()
           
 
Method Summary
 DocumentModel create(CoreSession documentManager, Blob content, String path, boolean overwrite, String fullname, TypeManager typeService)
          Creates the document.
 
Methods inherited from class org.nuxeo.ecm.platform.filemanager.service.extension.AbstractPlugin
create, getFileManagerService, getFilters, getName, matches, setFileManagerService, setFilters, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotePlugin

public NotePlugin()
Method Detail

create

public DocumentModel create(CoreSession documentManager,
                            Blob content,
                            String path,
                            boolean overwrite,
                            String fullname,
                            TypeManager typeService)
                     throws ClientException,
                            IOException
Description copied from interface: Plugin
Creates the document.

Parameters:
documentManager - the manager used to create the Document
content - the content of the File
path - the path were to create the document
overwrite - a boolean deciding whether to create or update if we find a document with the same fileName
fullname - the filename of the File
Throws:
ClientException
IOException

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.