counterservice.java

来自「JetSpeed-2技术资料 JetSpeed-2技术资料 JetSpeed-2」· Java 代码 · 共 37 行

JAVA
37
字号
/**
 * 
 */
package com.jdlssoft.portal.counter.service;

import java.util.List;

import com.jdlssoft.portal.counter.entity.CounterDTO;
import com.nci.nportal.ufw.exception.ServiceException;

/**
 * @project:
 * @function:
 * @author jones
 * @email: hkan@nci.com.cn
 * @version:1.0
 */
public interface CounterService {
	public boolean updateCounter(int counterNumber) throws ServiceException;
	public int getCounter() throws ServiceException;
	
	public boolean creatCounter(CounterDTO dto) throws ServiceException;
	public boolean updateCounter(CounterDTO dto) throws ServiceException;
	public boolean removeCounter(String counterId) throws ServiceException;
	public CounterDTO getCounter(String counterId) throws ServiceException;
	public List getAllCounters() throws ServiceException;
	public List getAllCountersNotDisabled() throws ServiceException;
	public List getAscCounters() throws ServiceException;
	public List getDownCounters() throws ServiceException;
	public CounterDTO getCounterOfPortlet(String portletId) throws ServiceException;
	public boolean updateCounterOfPortlet(String counterId,String portletId) throws ServiceException;
	public boolean isAlreadyExist(CounterDTO dto) throws ServiceException;
	
	public boolean createCounterOfPortlet(String counterId,String portletId) throws ServiceException;
	public boolean isAlreadyExistCounterOfPortlet(String portletId) throws ServiceException;
}

⌨️ 快捷键说明

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