public class TransferDataFactory
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
EXPORT_TEMP_DIR |
static java.lang.String |
IMPORT_TEMP_DIR |
static java.lang.String |
TRANSFER_DATA_ENTITY_JSON |
static java.lang.String |
TRANSFER_DATA_FILE_ZIP |
构造器和说明 |
---|
TransferDataFactory() |
限定符和类型 | 方法和说明 |
---|---|
static TransferExportDataBean |
buildExportData(java.lang.String entityId,
int entityType,
boolean withPrivileges) |
static TransferImportDisplayDataBean |
buildImportData(TransferExportDataBean exportData) |
static java.util.List<ExportEntityRelatedResourceBean> |
getEntityRelatedResources(java.lang.String entityId,
int entityType) |
static void |
importDependencyFile(java.lang.String originPath,
java.io.File exportFile) |
static java.util.List<TransferImportResultBean> |
importWholeData(TransferImportDisplayDataBean[] importDataArray) |
static void |
register(TransferDataBuilder transferDataBuilder)
注册数据迁移属性
|
static void |
reset()
清空list
|
public static final java.lang.String TRANSFER_DATA_ENTITY_JSON
public static final java.lang.String TRANSFER_DATA_FILE_ZIP
public static java.lang.String EXPORT_TEMP_DIR
public static java.lang.String IMPORT_TEMP_DIR
public static void register(TransferDataBuilder transferDataBuilder)
transferDataBuilder
- 数据迁移构建器public static void reset()
public static java.util.List<ExportEntityRelatedResourceBean> getEntityRelatedResources(java.lang.String entityId, int entityType) throws java.lang.Exception
java.lang.Exception
public static TransferExportDataBean buildExportData(java.lang.String entityId, int entityType, boolean withPrivileges) throws java.lang.Exception
java.lang.Exception
public static TransferImportDisplayDataBean buildImportData(TransferExportDataBean exportData) throws java.lang.Exception
java.lang.Exception
public static java.util.List<TransferImportResultBean> importWholeData(TransferImportDisplayDataBean[] importDataArray)
public static void importDependencyFile(java.lang.String originPath, java.io.File exportFile)