Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.io.client
Class ImportExportActionBean

java.lang.Object
  extended by org.nuxeo.ecm.platform.io.client.ImportExportActionBean
All Implemented Interfaces:
java.io.Serializable

@Name(value="importExportAction")
@Scope(value=EVENT)
public class ImportExportActionBean
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ImportExportActionBean()
           
 
Method Summary
 java.lang.String doExportDocument()
           
 java.lang.String doExportFolder()
           
static void export(java.util.List<DocumentModel> docList)
           
 java.lang.String exportCurrentList()
           
 java.lang.String getDocumentExportURL()
          Generates URL to call export restlet on a leaf.
 java.lang.String getFolderExportURL()
          Generates URL to call export restlet on a folder.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportExportActionBean

public ImportExportActionBean()
Method Detail

doExportDocument

public java.lang.String doExportDocument()
                                  throws java.io.IOException
Throws:
java.io.IOException

doExportFolder

public java.lang.String doExportFolder()
                                throws java.io.IOException
Throws:
java.io.IOException

getDocumentExportURL

public java.lang.String getDocumentExportURL()
Generates URL to call export restlet on a leaf.

Returns:
export restlet URL

getFolderExportURL

public java.lang.String getFolderExportURL()
Generates URL to call export restlet on a folder.

Returns:
export restlet URL

exportCurrentList

public java.lang.String exportCurrentList()

export

public static void export(java.util.List<DocumentModel> docList)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.