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

import javax.ejb.Local;

import fi.insomnia.bortal.model.LanEvent;
import fi.insomnia.bortal.model.LanEventProperty;
import fi.insomnia.bortal.model.LanEventPropertyKey;

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

	LanEvent getEventByHostname(String hostname);

	LanEvent getCurrentEvent();

	LanEvent mergeChanges(LanEvent event);

	void create(LanEvent event);

	String flushCache();

	LanEventProperty getProperty(LanEventPropertyKey property);

	String getPropertyString(LanEventPropertyKey property);
}