org.openmdx.compatibility.base.accessor.object.cci
Interface InstanceCallbacks_1_0


Deprecated. use org.openmdx.base.event.InstanceCallbackListener

public interface InstanceCallbacks_1_0

This interface defines the methods executed by the manager for these life cycle events.


Method Summary
 void objPostLoad()
          Deprecated. use org.openmdx.base.event.InstanceCallbackListener#postLoad(InstanceCallbackEvent)
 void objPreClear()
          Deprecated. use org.openmdx.base.event.InstanceCallbackListener#preClear(InstanceCallbackEvent)
 void objPreDelete()
          Deprecated. use org.openmdx.base.event.InstanceCallbackListener#preDeleteInstanceCallbackEvent)
 void objPreStore()
          Deprecated. use org.openmdx.base.event.InstanceCallbackListener#preStore(InstanceCallbackEvent)
 

Method Detail

objPostLoad

void objPostLoad()
                 throws ServiceException
Deprecated. use org.openmdx.base.event.InstanceCallbackListener#postLoad(InstanceCallbackEvent)

Called after the values are loaded from the data store into this instance. Derived fields should be initialized in this method.

Throws:
ServiceException

objPreStore

void objPreStore()
                 throws ServiceException
Deprecated. use org.openmdx.base.event.InstanceCallbackListener#preStore(InstanceCallbackEvent)

Called before the values are stored from this instance. Fields that might have been affected by modified non-persistent fields should be updated in this method.

Throws:
ServiceException

objPreClear

void objPreClear()
                 throws ServiceException
Deprecated. use org.openmdx.base.event.InstanceCallbackListener#preClear(InstanceCallbackEvent)

Called before the values in the instance are cleared. Transient fields should be cleared in this method. Associations between this instance and others in the runtime environment should be cleared.

Throws:
ServiceException

objPreDelete

void objPreDelete()
                  throws ServiceException
Deprecated. use org.openmdx.base.event.InstanceCallbackListener#preDeleteInstanceCallbackEvent)

Called before the instance is deleted. This method is called before the state transition to persistent-deleted or persistent-new-deleted. Access to field values within this call are valid. Access to field values after this call are disallowed.

Throws:
ServiceException


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.