@Component public class PlaceExchangeComponent extends AbstractDataExchange<java.lang.String,Place>
限定符和类型 | 字段和说明 |
---|---|
private CmsPlaceAttributeService |
attributeService |
private CmsCategoryService |
categoryService |
private CmsPlaceService |
service |
private SiteComponent |
siteComponent |
ATTACHMENT_DIR, log, PRIVATE_DIR
构造器和说明 |
---|
PlaceExchangeComponent() |
限定符和类型 | 方法和说明 |
---|---|
private void |
dealDir(SysSite site,
java.lang.String directory,
java.lang.String path,
java.io.ByteArrayOutputStream outputStream,
org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> archiveOutputStream) |
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,
java.lang.String path,
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,
Place data) |
export, exportAll, exportAll, exportAttachment, exportEntity, exportFileList, getDataClass, getPath, importData, importData, importData, importData, needReplace
private CmsPlaceService service
private CmsPlaceAttributeService attributeService
private CmsCategoryService categoryService
private SiteComponent siteComponent
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<java.lang.String,Place>
private void dealDir(SysSite site, java.lang.String directory, java.lang.String path, java.io.ByteArrayOutputStream outputStream, org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> archiveOutputStream)
public void exportEntity(SysSite site, java.lang.String directory, java.lang.String path, java.io.ByteArrayOutputStream outputStream, org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> archiveOutputStream)
exportEntity
在类中 AbstractDataExchange<java.lang.String,Place>
public java.lang.String getDirectory()