Sunday, September 13, 2009

Determine the transaction state that is, whether changes have been made to view objects or not

Use the following methods:

ApplicationModule.getTransaction().isDirty() - This method tells you whether the transaction contains any changes in the view objects. This works for transactions made by entity object-based view objects only.

OAViewObject.isDirty() - This method tells you whether a particular view object contains changes or not. This works for both entity object-based view objects and view objects based on OAPlsqlViewObjectImpl. For view objects based on OAPlsqlViewObjectImpl, you can also use OAPlsqlViewObjectImpl.getState() method

1 comment:

Unknown said...

Hi,The company shall be dissolved upon the death of the holder of its share capital for Business setup in Qatar , unless the shares of the heirs is held by one person, or the heirs select to continue the company in another legal form.Thanks...