|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.io.client.ImportExportActionBean
@Name(value="importExportAction") @Scope(value=EVENT) public class ImportExportActionBean
Constructor Summary | |
---|---|
ImportExportActionBean()
|
Method Summary | |
---|---|
String |
doExportDocument()
|
String |
doExportFolder()
|
static void |
export(List<DocumentModel> docList)
|
String |
exportCurrentList()
|
String |
getDocumentExportURL()
Generates URL to call export restlet on a leaf. |
String |
getDocumentXMLExportURL()
Returns the Rest URL for a document export in XML format |
String |
getDocumentZIPExportURL()
Returns the Rest URL for a document export in ZIP format |
String |
getDocumentZIPTreeExportURL()
Returns the Rest URL for a document tree export in ZIP format |
String |
getExportURL(DocumentModel doc,
boolean exportAsZip,
boolean exportAsTree)
Returns the REST URL for export of given document. |
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 |
---|
public ImportExportActionBean()
Method Detail |
---|
public String doExportDocument() throws IOException
IOException
public String doExportFolder() throws IOException
IOException
public String getExportURL(DocumentModel doc, boolean exportAsZip, boolean exportAsTree)
doc
- the document to exportexportAsZip
- a boolean stating if export should be given in ZIP
format. When exporting the tree, ZIP format is forced.exportAsTree
- a boolean stating if export should include the
document children.public String getDocumentExportURL()
public String getFolderExportURL()
public String getDocumentXMLExportURL()
public String getDocumentZIPExportURL()
public String getDocumentZIPTreeExportURL()
public String exportCurrentList()
public static void export(List<DocumentModel> docList)
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |