1 package org.myorg.jpatickets.ejb; 2 3 import javax.ejb.Remote; 4 5 import org.myorg.jpatickets.bl.UnavailableException; 6 import org.myorg.jpatickets.bo.Event; 7 import org.myorg.jpatickets.bo.Venue; 8 import org.myorg.jpatickets.dto.EventDTO; 9 10 @Remote 11 public interface EventMgmtRemote { 12 Event createEvent(Event event, Venue venue) throws UnavailableException; 13 Event getEvent(int id); 14 Event getEventCleansed(int id); 15 Event getEventTouchedSome(int id); 16 Event getEventTouchedMore(int id); 17 Event getEventFetchedSome(int id); 18 Event getEventFetchedMore(int id); 19 EventDTO getEventLazyDTO(int id); 20 EventDTO getEventFetchedDTO(int eventId); 21 }