public abstract class AbstractRuntimeDataPersistor extends java.lang.Object implements Persistor
| Modifier and Type | Field and Description |
|---|---|
protected RuntimeDataInterface |
runtime |
| Constructor and Description |
|---|
AbstractRuntimeDataPersistor(RuntimeDataInterface runtime) |
| Modifier and Type | Method and Description |
|---|---|
void |
persist(Persistable persistable)
Persist a Persistable object.
|
Persistable |
unpickle(java.util.Map<java.lang.String,java.util.List<java.lang.String>> ignoredFields)
Provided default implementation, simply throw out a SAFSException.
|
protected void |
validate(Persistable persistable)
Check if this Persistable object is valid (not null, not disabled etc.).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPersistenceName, getType, unpersistprotected RuntimeDataInterface runtime
public AbstractRuntimeDataPersistor(RuntimeDataInterface runtime)
public void persist(Persistable persistable) throws SAFSException
Persistorpersist in interface Persistorpersistable - Persistable, the object to persistSAFSException - when persistence fails 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.SAFSExceptionprotected void validate(Persistable persistable) throws SAFSException
persistable - Persistable, the object to persistSAFSException - if the persistable is null or is not enabledCopyright © SAS Institute. All Rights Reserved.