Overview

Summary

ContactDonateImprint


Appendix E-29: ROUTE (UI prompt)


RoutePortModuleMarineTraffic

Properties (10)

PropertyTypeEntityReferenceModule
(1) ActualArrivalUtcDATERoute
(2) ActualDepartureUtcDATERoute
(3) DistanceNmSTRINGRoute
(4) EndPortLONGRoutePortPortModule
(5) NameSTRINGRoute
(6) PlannedArrivalUtcDATERoute
(7) PlannedDepartureUtcDATERoute
(8) StartPortLONGRoutePortPortModule
(9) StatusSTRINGRoute
(10) VesselLONGRouteVesselVesselModule


Module Interfaces (10)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /route/vessel/{id}findAllRouteOfVessel(id)PortModuleGETVessel Route
(2) /route/{id}updateRouteById(route)PortModulePUTRoute
(3) /routeinsertRoute(route)PortModulePOSTRoute
(4) /route/endport/{id}findAllRouteOfEndPort(id)PortModuleGETPort Route
(5) /routefindAllRoute()PortModuleGETRoute
(6) /route/{id}deleteRouteById(id)PortModuleDELETERoute
(7) /route/{id}findRouteById(id)PortModuleGETRoute
(8) /route/startport/{id}findAllRouteOfStartPort(id)PortModuleGETPort Route
(9) /routewaypoint/route/{id}findAllRouteWaypointOfRoute(id)SubscriptionPlanModuleGETRoute RouteWaypoint
(10) /portcall/route/{id}findAllPortCallOfRoute(id)SubscriptionPlanModuleGETRoute PortCall





Example:

final Route route = (Route) invokeModule(PORT_MODULE + "/route/" + id, Route.class);
if (route != null) {
    final Vessel vessel1 = (Vessel) invokeModule(VESSEL_MODULE + "/vessel/" + route.getVessel().getId(), Vessel.class);
    if (vessel1 != null) {
        final VesselType vesseltype2 = (VesselType) invokeModule(VESSEL_MODULE + "/vesseltype/" + vessel1.getVesselType().getId(), VesselType.class);
        if (vesseltype2 != null) {
        }
        final Country flagcountry3 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + vessel1.getFlagCountry().getId(), Country.class);
        if (flagcountry3 != null) {
        }
        final VesselStatus vesselstatus4 = (VesselStatus) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/vesselstatus/" + vessel1.getVesselStatus().getId(), VesselStatus.class);
        if (vesselstatus4 != null) {
        }
    }
    final Port endport5 = (Port) invokeModule(PORT_MODULE + "/port/" + route.getEndPort().getId(), Port.class);
    if (endport5 != null) {
        final Country country6 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + endport5.getCountry().getId(), Country.class);
        if (country6 != null) {
        }
    }
    final Port startport7 = (Port) invokeModule(PORT_MODULE + "/port/" + route.getStartPort().getId(), Port.class);
    if (startport7 != null) {
        final Country country8 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + startport7.getCountry().getId(), Country.class);
        if (country8 != null) {
        }
    }
}
return route;


Overview

Summary

ContactDonateImprint