Skip to content

Instantly share code, notes, and snippets.

@krams915
Created September 15, 2011 04:49
Show Gist options
  • Save krams915/1218569 to your computer and use it in GitHub Desktop.
Save krams915/1218569 to your computer and use it in GitHub Desktop.
IEventService.java
package org.krams.tutorial.service;
import java.util.List;
import org.krams.tutorial.domain.Event;
/**
* Service interface for {@link Event}
*
* @author krams at {@link http://[email protected]}
*/
public interface IEventService {
public Event create(Event event);
public Event read(Long id);
public List<Event> readAll();
public Event update(Event event);
public Event delete(Long id);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment