public abstract class AbstractPersistor extends PersistableChecker implements Persistor
| Constructor and Description |
|---|
AbstractPersistor() |
| Modifier and Type | Method and Description |
|---|---|
void |
persist(Persistable persistable)
Persist a Persistable object.
|
void |
unpersist()
Provided default implementation, simply throw out a SAFSException.
|
Persistable |
unpickle(java.util.Map<java.lang.String,java.util.List<java.lang.String>> ignoredFields)
Provided default implementation, simply throw out a SAFSException.
|
validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPersistenceName, getTypepublic void persist(Persistable persistable) throws SAFSException
Persistorpersist in interface Persistorpersistable - Persistable, the object to persistSAFSException - when persistence fails or something wrong happens.public void unpersist()
throws SAFSException
unpersist in interface PersistorSAFSException - when failing to delete the persistence or something wrong happens.public Persistable unpickle(java.util.Map<java.lang.String,java.util.List<java.lang.String>> ignoredFields) throws SAFSException
unpickle in interface PersistorignoredFields - Map<String, List<String>>, a Map containing the fields of each class to be ignored when un-pickling.SAFSExceptionCopyright © SAS Institute. All Rights Reserved.