
org.javabeanstack.services.IDataService Maven / Gradle / Ivy
The newest version!
package org.javabeanstack.services;
import java.io.Serializable;
import java.util.Map;
import org.javabeanstack.data.IDataResult;
import org.javabeanstack.data.IDataRow;
import org.javabeanstack.data.IGenericDAO;
import org.javabeanstack.error.IErrorReg;
/**
*
* @author Jorge Enciso
*/
public interface IDataService extends IGenericDAO, Serializable{
T setListFieldCheck(T row);
boolean checkUniqueKey(T row, String sessionId) throws Exception;
boolean checkForeignKey(T row, String fieldName, String sessionId) throws Exception;
Map checkDataRow(T row, String sessionId) ;
IDataResult create(T row, String sessionId) throws Exception;
IDataResult edit(T row, String sessionId) throws Exception;
IDataResult remove(T row, String sessionId) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy