public class RepositoryExporter extends Object
| Modifier and Type | Method and Description |
|---|---|
static ImpExpStats |
exportDocument(String token,
String docPath,
String destPath,
boolean metadata,
boolean history,
Writer out,
InfoDecorator deco)
Export document from OpenKM repository to filesystem.
|
static ImpExpStats |
exportDocuments(String token,
String fldPath,
File fs,
boolean metadata,
boolean history,
Writer out,
InfoDecorator deco)
Performs a recursive repository content export with metadata
|
static ImpExpStats |
exportMail(String token,
String mailPath,
String destPath,
boolean metadata,
Writer out,
InfoDecorator deco)
Export mail from OpenKM repository to filesystem.
|
public static ImpExpStats exportDocuments(String token, String fldPath, File fs, boolean metadata, boolean history, Writer out, InfoDecorator deco) throws PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, ParseException, NoSuchGroupException, javax.mail.MessagingException
PathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionIOExceptionDatabaseExceptionParseExceptionNoSuchGroupExceptionjavax.mail.MessagingExceptionpublic static ImpExpStats exportMail(String token, String mailPath, String destPath, boolean metadata, Writer out, InfoDecorator deco) throws PathNotFoundException, RepositoryException, DatabaseException, IOException, AccessDeniedException, ParseException, NoSuchGroupException, javax.mail.MessagingException
PathNotFoundExceptionRepositoryExceptionDatabaseExceptionIOExceptionAccessDeniedExceptionParseExceptionNoSuchGroupExceptionjavax.mail.MessagingExceptionpublic static ImpExpStats exportDocument(String token, String docPath, String destPath, boolean metadata, boolean history, Writer out, InfoDecorator deco) throws PathNotFoundException, RepositoryException, DatabaseException, IOException, AccessDeniedException, ParseException, NoSuchGroupException
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.