se.citerus.dddsample.domain.model.location
Interface LocationRepository

All Known Implementing Classes:
LocationRepositoryHibernate

public interface LocationRepository


Method Summary
 Location find(UnLocode unLocode)
          Finds a location using given unlocode.
 java.util.List<Location> findAll()
          Finds all locations.
 

Method Detail

find

Location find(UnLocode unLocode)
Finds a location using given unlocode.

Parameters:
unLocode - UNLocode.
Returns:
Location.

findAll

java.util.List<Location> findAll()
Finds all locations.

Returns:
All locations.


Copyright © 2009. All Rights Reserved.