@Component public class CategoryExchangeComponent extends AbstractExchange<CmsCategory,Category>
限定符和类型 | 字段和说明 |
---|---|
private CmsCategoryAttributeService |
attributeService |
private CmsCategoryModelService |
categoryModelService |
private SysExtendFieldService |
extendFieldService |
private SysExtendService |
extendService |
private CmsCategoryService |
service |
private CmsTagTypeService |
tagTypeService |
private TemplateComponent |
templateComponent |
log
构造器和说明 |
---|
CategoryExchangeComponent() |
限定符和类型 | 方法和说明 |
---|---|
void |
exportAll(SysSite site,
java.lang.String directory,
java.io.ByteArrayOutputStream outputStream,
org.apache.tools.zip.ZipOutputStream zipOutputStream) |
void |
exportEntity(SysSite site,
java.lang.String directory,
CmsCategory entity,
java.io.ByteArrayOutputStream outputStream,
org.apache.tools.zip.ZipOutputStream zipOutputStream) |
void |
exportEntity(SysSite site,
java.lang.String directory,
java.lang.String parentCode,
CmsCategory entity,
java.io.ByteArrayOutputStream outputStream,
org.apache.tools.zip.ZipOutputStream zipOutputStream) |
java.lang.String |
getDirectory() |
void |
importData(SysSite site,
long userId,
java.lang.String directory,
boolean overwrite,
org.apache.tools.zip.ZipFile zipFile) |
int |
importOrder() |
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, exportEntity, getDataClass, getPath, importData, importData, importData
private CmsCategoryService service
private TemplateComponent templateComponent
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.tools.zip.ZipOutputStream zipOutputStream)
exportAll
在类中 AbstractExchange<CmsCategory,Category>
public void exportEntity(SysSite site, java.lang.String directory, CmsCategory entity, java.io.ByteArrayOutputStream outputStream, org.apache.tools.zip.ZipOutputStream zipOutputStream)
exportEntity
在类中 AbstractExchange<CmsCategory,Category>
public void exportEntity(SysSite site, java.lang.String directory, java.lang.String parentCode, CmsCategory entity, java.io.ByteArrayOutputStream outputStream, org.apache.tools.zip.ZipOutputStream zipOutputStream)
site
- directory
- parentCode
- entity
- outputStream
- zipOutputStream
- public void importData(SysSite site, long userId, java.lang.String directory, boolean overwrite, org.apache.tools.zip.ZipFile zipFile)
importData
在接口中 Exchange<CmsCategory,Category>
importData
在类中 AbstractExchange<CmsCategory,Category>
public void save(SysSite site, long userId, boolean overwrite, java.lang.Integer parentId, Category data)
site
- userId
- overwrite
- parentId
- data
- public int importOrder()
importOrder
在接口中 Exchange<CmsCategory,Category>
importOrder
在类中 AbstractExchange<CmsCategory,Category>
public java.lang.String getDirectory()