diff options
Diffstat (limited to 'src/main/java/at/ac/tuwien/sepm/assignment')
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/service/OperationService.java b/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/service/OperationService.java index 98a2068..4b7e630 100644 --- a/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/service/OperationService.java +++ b/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/service/OperationService.java @@ -48,15 +48,15 @@ public interface OperationService {              throws InvalidOperationException, ServiceException;      /** -     * Get all available vehicles, sorted by how well they fit to the given operation, starting with +     * Get all available vehicles, sorted by how well they fit to the given opCode, starting with       * the best fitting.       * -     * @param operationId id of the operation that is used to determine the ranking +     * @param opCode the operation code that is used to determine the ranking       * @return a sorted list containing all available vehicles -     * @throws InvalidOperationException if the operationId is invalid or does not exist +     * @throws InvalidOperationException if the opCode is invalid       * @throws ServiceException if loading the stored vehicles failed       */ -    SortedSet<Vehicle> rankVehicles(long operationId) +    SortedSet<Vehicle> rankVehicles(String opCode)              throws InvalidOperationException, ServiceException;      /** diff --git a/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/service/OperationServiceImpl.java b/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/service/OperationServiceImpl.java index 4663d76..e1d6f29 100644 --- a/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/service/OperationServiceImpl.java +++ b/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/service/OperationServiceImpl.java @@ -122,7 +122,7 @@ public class OperationServiceImpl implements OperationService {      }      @Override -    public SortedSet<Vehicle> rankVehicles(long operationId) +    public SortedSet<Vehicle> rankVehicles(String opCode)              throws InvalidOperationException, ServiceException {          throw new UnsupportedOperationException();      }  | 
