operservice.java

来自「一个关于短信的java程序,非常适合java程序员,谢谢大家」· Java 代码 · 共 78 行

JAVA
78
字号
package com.chinatech.cpmanage.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.chinatech.cpmanage.common.BusinessException;
import com.chinatech.cpmanage.dto.LoginDTO;
import com.chinatech.cpmanage.hibernate.CpmanageFunction;
import com.chinatech.cpmanage.hibernate.CpmanageOperator;
import com.chinatech.cpmanage.hibernate.CpmanageOperatorLog;
import com.chinatech.cpmanage.hibernate.CpmanagePermission;
import com.chinatech.cpmanage.hibernate.CpmanageRole;
import com.chinatech.cpmanage.hibernate.NyxxwZone;

/**
 * @author LiYang
 *
 */
public interface OperService {

	public void addOper(CpmanageOperator co) throws BusinessException;
	
	public LoginDTO getOper(String userName,String userPass) throws BusinessException;
	
	public List getZoneByParentID(String parentID) throws BusinessException;
	
	public String getXmlStr(String parentID,HttpServletRequest request) throws BusinessException;
	
	public void addFunc(CpmanageFunction cf) throws BusinessException;
	
	public List getFunc(int startRow, int pageSize) throws BusinessException;
	
	public int getFuncCount() throws BusinessException;
	
	public void modifyFunc(CpmanageFunction cf) throws BusinessException;
	
	public CpmanageFunction getFuncByID(String ID) throws BusinessException;
	
	public List getFuncByParentID(String parentID) throws BusinessException;
	
	public void removeFunc(CpmanageFunction cf) throws BusinessException;
	
	public List getRole() throws BusinessException;
	
	public void addRole(CpmanageRole cr) throws BusinessException;
	
	public void modifyRole(CpmanageRole cr) throws BusinessException;
	
	public void removeRole(CpmanageRole cr) throws BusinessException;
	
	public boolean isHaveFunc(String roleID,String funcID) throws BusinessException;
	
	public void addPermission(CpmanagePermission cp) throws BusinessException;
	
	public CpmanageRole getRoleByID(String ID) throws BusinessException;
	
	public List getFuncByRoleID(String roleID) throws BusinessException;
	
	public void removePermission(CpmanagePermission cp) throws BusinessException;
	
	public CpmanagePermission getPermByID(String ID) throws BusinessException;
	
	public NyxxwZone getZoneByZone(String zone) throws BusinessException;
	
	public List getOperPageByArea(String areaID,int startRow,int pageSize) throws BusinessException;
	
	public int getOperPageCountByArea(String areaID) throws BusinessException;
	
	public CpmanageOperator getOperByID(String id) throws BusinessException;
	
	public void modifyOper(CpmanageOperator co) throws BusinessException;
	
	public void removeOper(CpmanageOperator co) throws BusinessException;
	
	public void addOperLog(CpmanageOperatorLog col) throws BusinessException;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?