org.opensubsystems.core.logic.impl
Class ModifiableDataControllerImpl

java.lang.Object
  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:
java.io.Serializable, 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

Version:
$Id: ModifiableDataControllerImpl.java,v 1.4 2007/01/07 06:14:42 bastafidli Exp $
Author:
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
ModifiableDataControllerImpl()
           
 
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
get
 
Methods inherited from interface org.opensubsystems.core.logic.StatelessController
constructor
 

Constructor Detail

ModifiableDataControllerImpl

public ModifiableDataControllerImpl()
Method Detail

save

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

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


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