Package com.logicaldoc.core.transfer
Class ZipImport
- java.lang.Object
-
- com.logicaldoc.core.transfer.ZipImport
-
- Direct Known Subclasses:
InMemoryZipImport
public class ZipImport extends Object
This is an import utilities that imports documents stored in a zip archive. All folders in the zip will be replicated.- Author:
- Sebastian Stein, Matteo Caruso - LogicalDOC
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isNotifyUser()
void
process(File zipsource, Folder parent, long userId, String sessionId)
void
process(String zipsource, Locale locale, Folder parent, long userId, Long templateId, String sessionId)
void
setNotifyUser(boolean notifyUser)
-
-
-
Method Detail
-
process
public void process(File zipsource, Folder parent, long userId, String sessionId) throws PersistenceException
- Throws:
PersistenceException
-
process
public void process(String zipsource, Locale locale, Folder parent, long userId, Long templateId, String sessionId) throws PersistenceException
- Throws:
PersistenceException
-
isNotifyUser
public boolean isNotifyUser()
-
setNotifyUser
public void setNotifyUser(boolean notifyUser)
-
-