Class ModifiableDataControllerImpl

  extended by org.opensubsystems.core.logic.impl.StatelessControllerImpl
      extended by org.opensubsystems.core.logic.impl.DataControllerImpl
          extended by org.opensubsystems.core.logic.impl.BasicDataControllerImpl
              extended by org.opensubsystems.core.logic.impl.ModifiableDataControllerImpl
All Implemented Interfaces:, javax.ejb.EnterpriseBean, javax.ejb.SessionBean, BasicDataController, DataController, ModifiableDataController, StatelessController

public abstract class ModifiableDataControllerImpl
extends BasicDataControllerImpl
implements ModifiableDataController

Implementation of ModifiableDataController interface to manage data. It can be used by any component which provides ModifiableDataFactory 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

$Id:,v 1.4 2007/01/07 06:14:42 bastafidli Exp $
Miro Halas
See Also:
Serialized Form
Code reviewer:
Miro Halas
Code reviewed:
1.1 2005/08/16 05:25:54 bastafidli
XDoclet tag:
generate="false" We need to generate interface since xdoclet will require them for interfaces derived from BasicDataController. Since remote and local interfaces have to extend different ejb interfaces and we have only one base interface, the extends tags have to except our controller contain also the interfaces required by the spec
XDoclet tag:
local-extends="javax.ejb.EJBLocalObject, org.opensubsystems.core.logic.ModifiableDataController" extends="javax.ejb.EJBObject, org.opensubsystems.core.logic.ModifiableDataController"

Constructor Summary
Method Summary
 ModifiableDataObject save(ModifiableDataObject data)
          Save data object.
Methods inherited from class org.opensubsystems.core.logic.impl.BasicDataControllerImpl
create, delete, getDataFactory
Methods inherited from class org.opensubsystems.core.logic.impl.DataControllerImpl
get, getDataFactory
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.BasicDataController
create, delete
Methods inherited from interface org.opensubsystems.core.logic.DataController
Methods inherited from interface org.opensubsystems.core.logic.StatelessController

Constructor Detail


public ModifiableDataControllerImpl()
Method Detail


public ModifiableDataObject save(ModifiableDataObject data)
                          throws OSSException
Save data object.

Specified by:
save in interface ModifiableDataController
data - - data object to save
ModifiableDataObject - saved data object, null if user doesn't have access to that data object granted
OSSException - - an error has occured
XDoclet tag:
XDoclet tag:

Copyright © 2003 - 2006 OpenSubsystems s.r.o.