EventMapBeanLocal.java 473 Bytes
package fi.codecrew.moya.beans;

import javax.ejb.Local;

import fi.codecrew.moya.model.EventMap;
import fi.codecrew.moya.model.Place;

@Local
public interface EventMapBeanLocal {

	EventMap saveMap(EventMap eventmap);

	EventMap create(String mapname);

	void sendImage(int destId, byte[] imagedata);

	EventMap find(Integer mapId);

	EventMap clearPlaces(EventMap map);

	void deletePlace(Place place);

	Place findPlace(Integer id);

	Place updatePlace(Place place);

}