@Component @Priority(value=3) public class CategoryExchangeComponent extends AbstractDataExchange<CmsCategory,Category>
限定符和类型 | 字段和说明 |
---|---|
private CmsCategoryAttributeService |
attributeService |
private CmsCategoryModelService |
categoryModelService |
private SysExtendFieldService |
extendFieldService |
private SysExtendService |
extendService |
private ModelComponent |
modelComponent |
private CmsCategoryService |
service |
private SiteComponent |
siteComponent |
private CmsTagTypeService |
tagTypeService |
private TemplateComponent |
templateComponent |
ATTACHMENT_DIR, log, PRIVATE_DIR
构造器和说明 |
---|
CategoryExchangeComponent() |
限定符和类型 | 方法和说明 |
---|---|
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,
CmsCategory entity,
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 parentCode,
CmsCategory entity,
java.io.ByteArrayOutputStream outputStream,
org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> archiveOutputStream) |
java.lang.String |
getDirectory() |
void |
importData(SysSite site,
long userId,
java.lang.String directory,
boolean overwrite,
org.apache.commons.compress.archivers.zip.ZipFile zipFile) |
void |
save(SysSite site,
long userId,
boolean overwrite,
Category data) |
void |
save(SysSite site,
long userId,
boolean overwrite,
java.lang.Integer parentId,
Category data) |
export, exportAll, exportAll, exportAttachment, exportEntity, exportFileList, getDataClass, getPath, importData, importData, importData, needReplace
private CmsCategoryService service
private TemplateComponent templateComponent
private ModelComponent modelComponent
private SiteComponent siteComponent
private CmsCategoryAttributeService attributeService
private CmsCategoryModelService categoryModelService
private SysExtendService extendService
private SysExtendFieldService extendFieldService
private CmsTagTypeService tagTypeService
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<CmsCategory,Category>
public void exportEntity(SysSite site, java.lang.String directory, CmsCategory entity, java.io.ByteArrayOutputStream outputStream, org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> archiveOutputStream)
exportEntity
在类中 AbstractDataExchange<CmsCategory,Category>
public void exportEntity(SysSite site, java.lang.String directory, java.lang.String parentCode, CmsCategory entity, java.io.ByteArrayOutputStream outputStream, org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> archiveOutputStream)
site
- directory
- parentCode
- entity
- outputStream
- archiveOutputStream
- public void importData(SysSite site, long userId, java.lang.String directory, boolean overwrite, org.apache.commons.compress.archivers.zip.ZipFile zipFile)
importData
在接口中 DataExchange<CmsCategory,Category>
importData
在类中 AbstractDataExchange<CmsCategory,Category>
public void save(SysSite site, long userId, boolean overwrite, java.lang.Integer parentId, Category data)
site
- userId
- overwrite
- parentId
- data
- public java.lang.String getDirectory()