EventBeanLocal.java 447 Bytes
package fi.insomnia.bortal.beans;

import javax.ejb.Local;

import fi.insomnia.bortal.model.LanEvent;

@Local
public interface EventBeanLocal {
	static final String HTTP_URL_HOSTNAME = "HTTP_URL_HOSTNAME";

	LanEvent getEventByHostname(String hostname);

	LanEvent getCurrentEvent();

	LanEvent mergeChanges(LanEvent event) throws PermissionDeniedException;

	void create(LanEvent event) throws PermissionDeniedException;

	String flushCache();
}