package cz.bcom.smartrise.server.persistence.dmi;

import com.isomorphic.datasource.DSRequest;
import com.isomorphic.log.Logger;

import cz.bcom.smartrise.server.persistence.hibernate.UsrUsers;

//the <serverObject> declaration in usersDS.ds.xml directs the SmartClient Java
//server libraries to find the UsersDMI class.
//Several ways of finding or creating the DMI target are supported, including via Spring, or
//via session or request attributes.  See ServerObject.lookupStyle in the SmartClient Reference.
//You can also provide your own servlet, invoking SmartClient DMI from a Spring Controller or
//Struts Action. 
public class UsersDMI extends DMIBase<UsrUsers> {
	private Logger log = new Logger(UsersDMI.class.getName()); 
	
	public void update(UsrUsers record, DSRequest dsRequest) throws Exception {
		dsRequest.execute();
	}

}
