Anyframe Core

anyframe.core.query.ria.mip
Interface IMiPActionCommand


public interface IMiPActionCommand

This is an interface class for adding the business logic before/after manipulating the database at MiPQueryService use. Recommand to use IMiPQueryService for manipulating the database in developing the presentation layer using the MiPlatform which is a X-internet solution of the TOBE Software company. When we change the Dataset's value which is MiPlatform's data format, we add the needed logic for implementation class of IMiPActionCommand's class.

Author:
Soyon Lim, JongHoon Kim

Method Summary
 void postDelete(com.tobesoft.platform.data.Dataset dataSet, int currentRow)
          the method to change the Dataset's value after delete
 void postInsert(com.tobesoft.platform.data.Dataset dataSet, int currentRow)
          After insert, the method for changing the value of Dataset
 void postUpdate(com.tobesoft.platform.data.Dataset dataSet, int currentRow)
          The method for changing the Dataset's value after update
 void preDelete(com.tobesoft.platform.data.Dataset dataSet, int currentRow)
          the method to change the Dataset's value before delete
 void preInsert(com.tobesoft.platform.data.Dataset dataSet, int currentRow)
          Before insert, the method for changing the value of Dataset
 void preUpdate(com.tobesoft.platform.data.Dataset dataSet, int currentRow)
          the method for changing the value of Dataset before update
 

Method Detail

preInsert

void preInsert(com.tobesoft.platform.data.Dataset dataSet,
               int currentRow)
Before insert, the method for changing the value of Dataset

Parameters:
dataSet - The Dataset for inserting into the database
currentRow - The row number of Dataset to change

postInsert

void postInsert(com.tobesoft.platform.data.Dataset dataSet,
                int currentRow)
After insert, the method for changing the value of Dataset

Parameters:
dataSet - The Dataset for inserting into the database
currentRow - The row number of Dataset to change

preUpdate

void preUpdate(com.tobesoft.platform.data.Dataset dataSet,
               int currentRow)
the method for changing the value of Dataset before update

Parameters:
dataSet - Dataset for updating into database
currentRow - The row number of Dataset to change

postUpdate

void postUpdate(com.tobesoft.platform.data.Dataset dataSet,
                int currentRow)
The method for changing the Dataset's value after update

Parameters:
dataSet - The Dataset for to update in the database
currentRow - The row number of Dataset to change

preDelete

void preDelete(com.tobesoft.platform.data.Dataset dataSet,
               int currentRow)
the method to change the Dataset's value before delete

Parameters:
dataSet - The Dataset to delete in the database
currentRow - The row number of Dataset to change

postDelete

void postDelete(com.tobesoft.platform.data.Dataset dataSet,
                int currentRow)
the method to change the Dataset's value after delete

Parameters:
dataSet - The Dataset to delete in the database
currentRow - The row number of Dataset to change

Anyframe Core

Copyright © 2008-2009 Samsung SDS. All Rights Reserved.