All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.envision.event.api.EventWriteService Maven / Gradle / Ivy

The newest version!
package com.envision.event.api;

import com.envision.event.bean.Event;

import java.util.List;

/**
 * 事件写入对外接口
 * 
 * @author kang.ouyang
 *
 */
public interface EventWriteService {
	/**
	 * 写入一个事件
	 * 
	 * @param request
	 *            写入请求对象
	 * @return 事件ID
	 */
	String writeEvent(EventWriteRequest request);

	/**
	 * 删除事件
	 * 
	 * @param request
	 */
	void deleteEvents(EventDeleteRequest request);

	/**
	 * 确认事件
	 * 
	 * @param request
	 */
	void confirmEvent(EventConfirmRequest request);

	/**
	 * 更新一组事件
	 * @param events
	 * 			一组事件
	 */
	int updateEvents(List events);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy