T - the pdo typepublic class PdoTransferData<T extends PersistentDomainObject<T>> extends Object implements Serializable
PersistentDomainObject.
Used in drag and drop.
| Constructor and Description |
|---|
PdoTransferData(String className,
long id)
Creates a transfer data object.
|
PdoTransferData(T obj)
Creates a transfer data object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Gets the basename of the database object class.
|
long |
getId()
Gets the object ID of the database object.
|
T |
getPdo(org.tentackle.session.Session session)
Selects the object from the session backend and sets its context.
|
public PdoTransferData(String className, long id)
className - the name of the PDO classid - the object IDpublic PdoTransferData(T obj)
obj - the database objectpublic long getId()
public String getClassName()
public T getPdo(org.tentackle.session.Session session)
session - the sessionTentackle - a domain driven enterprise framework