📄 ibasicservice.java
字号:
/*****************************************************************************
*
* CHIIC SYSTEMS, INC.
*
* PROPRIETARY DATA
*
* THIS DOCUMENT CONTAINS TRADE SECRET DATA WHICH IS THE PROPERTY OF
* CHIIC SYSTEMS, INC. THIS DOCUMENT IS SUBMITTED TO RECIPIENT IN
* CONFIDENCE. INFORMATION CONTAINED HEREIN MAY NOT BE USED, COPIED OR
* DISCLOSED IN WHOLE OR IN PART EXCEPT AS PERMITTED BY WRITTEN AGREEMENT
* SIGNED BY AN OFFICER OF CHIIC SYSTEMS, INC.
*
* Title: IBasicService.java
*
******************************************************************************/
package com.pegasus.framework.service;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Order;
import com.pegasus.framework.component.taglib.html.pager.PageAgent;
import com.pegasus.framework.exception.BusinessException;
import com.pegasus.framework.pojo.IBusinessObject;
public interface IBasicService {
String getTableName();
void delete(Serializable id) throws BusinessException;
void delete(IBusinessObject data) throws BusinessException;
IBusinessObject load(Serializable id) throws BusinessException;
IBusinessObject load(String pk, String value) throws BusinessException;
List query() throws BusinessException;
List query(Criterion[] criterionArray, Order[] orderArray) throws BusinessException;
List query(Criterion[] criterionArray, Order[] orderArray, PageAgent pageAgent) throws BusinessException;
List query(List criterionList, List orderList) throws BusinessException;
List query(List criterionList, List orderList, PageAgent pageAgent) throws BusinessException;
List query(String hql) throws BusinessException;
List query(String hql, Collection criteria, PageAgent pageAgent) throws BusinessException;
IBusinessObject saveObject(IBusinessObject data) throws BusinessException;
IBusinessObject saveOrUpdateObject(IBusinessObject data) throws BusinessException;
IBusinessObject updateObject(IBusinessObject data) throws BusinessException;
IBusinessObject mergeObject(IBusinessObject data) throws BusinessException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -