public class EntitySerializer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_SEPARATOR |
| Modifier and Type | Method and Description |
|---|---|
static IEntityImportConfig |
deserialize(IEntityContext ec,
InputStream is,
String baseDir,
String subDirPath)
Deserializes the given
InputStream to an IEntityImportConfig |
static IEntityImportConfig |
deserialize(IEntityContext ec,
InputStream is,
String baseDir,
String subDirPath,
org.jasypt.encryption.pbe.StandardPBEStringEncryptor encryptor)
Deserializes the given
InputStream to an IEntityImportConfig |
static de.xima.cmn.dao.interfaces.IEntity<Long> |
deserialize(String json,
Type type,
org.jasypt.encryption.pbe.StandardPBEStringEncryptor encryptor)
Deserializes JSON string to a FORMCYCLE entity
|
static void |
serialize(de.xima.cmn.dao.interfaces.IEntity<Long> entity,
File outDir)
Serializes the given entity to the given file
|
static void |
serialize(de.xima.cmn.dao.interfaces.IEntity<Long> entity,
File outDir,
org.jasypt.encryption.pbe.StandardPBEStringEncryptor encryptor)
Serializes the given entity to the given file
|
public static final String FIELD_SEPARATOR
public static final void serialize(de.xima.cmn.dao.interfaces.IEntity<Long> entity, File outDir) throws Exception
public static final void serialize(de.xima.cmn.dao.interfaces.IEntity<Long> entity, File outDir, org.jasypt.encryption.pbe.StandardPBEStringEncryptor encryptor) throws Exception
public static final IEntityImportConfig deserialize(IEntityContext ec, InputStream is, String baseDir, String subDirPath) throws Exception
InputStream to an IEntityImportConfigec - IEntityContext to be used for creating the import configis - InputStream providing the databaseDir - String base directory of the import extracted filesubDirPath - String determines the type of entity to deserializeIEntityImportConfigException - on errors during deserializepublic static final IEntityImportConfig deserialize(IEntityContext ec, InputStream is, String baseDir, String subDirPath, org.jasypt.encryption.pbe.StandardPBEStringEncryptor encryptor) throws Exception
InputStream to an IEntityImportConfigec - IEntityContext to be used for creating the import configis - InputStream providing the databaseDir - String base directory of the import extracted filesubDirPath - String determines the type of entity to deserializeencryptor - StandardPBEStringEncryptor encryptor for String values. Fields that are encrypted
will be decrypted using this encryptorIEntityImportConfigException - on errors during deserializeCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.