|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.logic.impl.StatelessControllerImpl
org.opensubsystems.core.logic.impl.DataControllerImpl
public abstract class DataControllerImpl
Implementation of DataController interface to access data. It can be used by any component which provides DataFactory to access the data. If this class is used in J2EE environment each method implementation may create transaction boundary. We do not want to generate EJB for this class since it is abstract base class for real EJBs
| Constructor Summary | |
|---|---|
DataControllerImpl()
|
|
| Method Summary | |
|---|---|
DataObject |
get(int iId)
This implementation will get only the default data object supported by this controller in case the controller supports multiple data types. |
protected abstract DataFactory |
getDataFactory()
Get data factory which can be used to access persistence layer for a data object managed by this controller. |
| Methods inherited from class org.opensubsystems.core.logic.impl.StatelessControllerImpl |
|---|
constructor, ejbActivate, ejbPassivate, ejbRemove, setSessionContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensubsystems.core.logic.StatelessController |
|---|
constructor |
| Constructor Detail |
|---|
public DataControllerImpl()
| Method Detail |
|---|
public DataObject get(int iId)
throws OSSException
get in interface DataControlleriId - - ID of the data object to retrieve
OSSException - - an error has occuredprotected abstract DataFactory getDataFactory()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||