com.mycompany.service.impl
Class VenueServiceImpl

java.lang.Object
  extended by com.mycompany.service.impl.AbstractService
      extended by com.mycompany.service.impl.VenueServiceImpl
All Implemented Interfaces:
VenueService

@Named(value="venueService")
public class VenueServiceImpl
extends AbstractService
implements VenueService


Constructor Summary
VenueServiceImpl()
           
 
Method Summary
 void deleteVenue(Venue venue)
          Deletes a Venue object.
 Venue findVenueById(java.lang.Integer id)
          Finds a Venue object by ID.
 java.util.List<Venue> findVenues()
          Finds a List of all Venue objects.
 Venue saveVenue(Venue venue)
          Saves a Venue object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VenueServiceImpl

public VenueServiceImpl()
Method Detail

deleteVenue

public void deleteVenue(Venue venue)
Description copied from interface: VenueService
Deletes a Venue object.

Specified by:
deleteVenue in interface VenueService
Parameters:
venue - The Venue to delete.

findVenueById

public Venue findVenueById(java.lang.Integer id)
Description copied from interface: VenueService
Finds a Venue object by ID.

Specified by:
findVenueById in interface VenueService
Parameters:
id - The ID of the Venue.
Returns:
The Venue object.

findVenues

public java.util.List<Venue> findVenues()
Description copied from interface: VenueService
Finds a List of all Venue objects.

Specified by:
findVenues in interface VenueService
Returns:
A List of Venue objects.

saveVenue

public Venue saveVenue(Venue venue)
Description copied from interface: VenueService
Saves a Venue object.

Specified by:
saveVenue in interface VenueService
Parameters:
venue - The Venue to save.
Returns:
The saved object.