Class EntitySerializer
- java.lang.Object
-
- de.xima.fc.project.ms.impl.impex.deprecated.EntitySerializer
-
@Deprecated public final class EntitySerializer extends Object
Deprecated.In the future each domain should provide its own import/export mechanism.Utility class for serializing entities to files (deprecated).- Since:
- 09.12.25
- Author:
- Norman Lorenz
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidserialize(de.xima.cmn.dao.interfaces.IEntity<Long> entity, File outDir, org.jasypt.encryption.StringEncryptor encryptor)Deprecated.Serializes the given entity to a file in the given output directory.
-
-
-
Method Detail
-
serialize
public static void serialize(de.xima.cmn.dao.interfaces.IEntity<Long> entity, File outDir, org.jasypt.encryption.StringEncryptor encryptor) throws Exception
Deprecated.Serializes the given entity to a file in the given output directory.- Parameters:
entity- The entity to serialize.outDir- The output directory.encryptor- The encryptor to use for sensitive data.- Throws:
Exception- If an error occurs during serialization or file writing.
-
-