@Component public class TaskExchangeComponent extends AbstractDataExchange<SysTask,SysTask>
限定符和类型 | 字段和说明 |
---|---|
private ScheduledTask |
scheduledTask |
private SysTaskService |
service |
ATTACHMENT_DIR, log, PRIVATE_DIR, siteComponent
构造器和说明 |
---|
TaskExchangeComponent() |
限定符和类型 | 方法和说明 |
---|---|
void |
exportAll(SysSite site,
java.lang.String directory,
java.io.ByteArrayOutputStream outputStream,
org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> archiveOutputStream) |
void |
exportEntity(SysSite site,
java.lang.String directory,
SysTask task,
java.io.ByteArrayOutputStream outputStream,
org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> archiveOutputStream) |
java.lang.String |
getDirectory() |
void |
save(SysSite site,
long userId,
boolean overwrite,
SysTask data) |
export, exportAll, exportAll, exportAttachment, exportEntity, exportFileList, getDataClass, getPath, importData, importData, importData, importData, needReplace
private SysTaskService service
private ScheduledTask scheduledTask
public void exportAll(SysSite site, java.lang.String directory, java.io.ByteArrayOutputStream outputStream, org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> archiveOutputStream)
exportAll
在类中 AbstractDataExchange<SysTask,SysTask>
public void exportEntity(SysSite site, java.lang.String directory, SysTask task, java.io.ByteArrayOutputStream outputStream, org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> archiveOutputStream)
exportEntity
在类中 AbstractDataExchange<SysTask,SysTask>
public java.lang.String getDirectory()