Overview

Summary

ContactDonateImprint


Appendix E-19: RATING (UI prompt)


RatingRestaurantTagModuleLieferando

Properties (7)

PropertyTypeEntityReferenceModule
(1) CommentSTRINGRating
(2) CreatedAtDATERating
(3) CustomerLONGRatingCustomerCustomerModule
(4) CustomerOrderLONGRating
(5) IsVerifiedBOOLRating
(6) RatingValueLONGRating
(7) RestaurantLONGRatingRestaurantRestaurantModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /rating/{id}findRatingById(id)RestaurantTagModuleGETRating
(2) /rating/{id}updateRatingById(rating)RestaurantTagModulePUTRating
(3) /rating/customer/{id}findAllRatingOfCustomer(id)RestaurantTagModuleGETCustomer Rating
(4) /ratinginsertRating(rating)RestaurantTagModulePOSTRating
(5) /rating/restaurant/{id}findAllRatingOfRestaurant(id)RestaurantTagModuleGETRestaurant Rating
(6) /ratingfindAllRating()RestaurantTagModuleGETRating
(7) /rating/{id}deleteRatingById(id)RestaurantTagModuleDELETERating





Example:

final Rating rating = (Rating) invokeModule(RESTAURANT_TAG_MODULE + "/rating/" + id, Rating.class);
if (rating != null) {
    final Restaurant restaurant1 = (Restaurant) invokeModule(RESTAURANT_MODULE + "/restaurant/" + rating.getRestaurant().getId(), Restaurant.class);
    if (restaurant1 != null) {
        final City city2 = (City) invokeModule(RESTAURANT_MODULE + "/city/" + restaurant1.getCity().getId(), City.class);
        if (city2 != null) {
        }
    }
    final Customer customer3 = (Customer) invokeModule(CUSTOMER_MODULE + "/customer/" + rating.getCustomer().getId(), Customer.class);
    if (customer3 != null) {
    }
}
return rating;


Overview

Summary

ContactDonateImprint