Overview

Summary

ContactDonateImprint


5. PORT MODULE (UI prompt)



Module Entities (12)

EntityAliasModuleGlobal Schema
(1) AlertEventAlertEventPortModuleMarineTraffic
(2) AlertRuleAlertRulePortModuleMarineTraffic
(3) CountryCountryUserAccountModuleMarineTraffic
(4) GeographicalAreaGeographicalAreaGeographicalAreaModuleMarineTraffic
(5) NotificationNotificationFleetModuleMarineTraffic
(6) PortPortPortModuleMarineTraffic
(7) PortCallPortCallSubscriptionPlanModuleMarineTraffic
(8) PositionReportPositionReportVesselModuleMarineTraffic
(9) RouteRoutePortModuleMarineTraffic
(10) RouteWaypointRouteWaypointSubscriptionPlanModuleMarineTraffic
(11) UserAccountUserAccountUserAccountModuleMarineTraffic
(12) VesselVesselVesselModuleMarineTraffic

Module Interfaces (33)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /routeinsertRoute(route)PortModulePOSTRoute
(2) /alertevent/positionreport/{id}findAllAlertEventOfPositionReport(id)PortModuleGETPositionReport AlertEvent
(3) /port/{id}findPortById(id)PortModuleGETPort
(4) /port/country/{id}findAllPortOfCountry(id)PortModuleGETCountry Port
(5) /alertrule/useraccount/{id}findAllAlertRuleOfUserAccount(id)PortModuleGETUserAccount AlertRule
(6) /alerteventinsertAlertEvent(alertevent)PortModulePOSTAlertEvent
(7) /route/{id}updateRouteById(route)PortModulePUTRoute
(8) /port/{id}deletePortById(id)PortModuleDELETEPort
(9) /alertevent/{id}findAlertEventById(id)PortModuleGETAlertEvent
(10) /alerteventfindAllAlertEvent()PortModuleGETAlertEvent
(11) /route/{id}findRouteById(id)PortModuleGETRoute
(12) /alertrule/vessel/{id}findAllAlertRuleOfVessel(id)PortModuleGETVessel AlertRule
(13) /alertevent/port/{id}findAllAlertEventOfPort(id)PortModuleGETPort AlertEvent
(14) /route/endport/{id}findAllRouteOfEndPort(id)PortModuleGETPort Route
(15) /alertrule/{id}deleteAlertRuleById(id)PortModuleDELETEAlertRule
(16) /alertrule/geographicalarea/{id}findAllAlertRuleOfGeographicalArea(id)PortModuleGETGeographicalArea AlertRule
(17) /alertrule/{id}updateAlertRuleById(alertrule)PortModulePUTAlertRule
(18) /alertruleinsertAlertRule(alertrule)PortModulePOSTAlertRule
(19) /alertevent/{id}deleteAlertEventById(id)PortModuleDELETEAlertEvent
(20) /alertrule/port/{id}findAllAlertRuleOfPort(id)PortModuleGETPort AlertRule
(21) /route/startport/{id}findAllRouteOfStartPort(id)PortModuleGETPort Route
(22) /route/vessel/{id}findAllRouteOfVessel(id)PortModuleGETVessel Route
(23) /alertrulefindAllAlertRule()PortModuleGETAlertRule
(24) /portinsertPort(port)PortModulePOSTPort
(25) /alertevent/{id}updateAlertEventById(alertevent)PortModulePUTAlertEvent
(26) /alertevent/alertrule/{id}findAllAlertEventOfAlertRule(id)PortModuleGETAlertRule AlertEvent
(27) /routefindAllRoute()PortModuleGETRoute
(28) /alertrule/{id}findAlertRuleById(id)PortModuleGETAlertRule
(29) /alertevent/vessel/{id}findAllAlertEventOfVessel(id)PortModuleGETVessel AlertEvent
(30) /portfindAllPort()PortModuleGETPort
(31) /alertevent/geographicalarea/{id}findAllAlertEventOfGeographicalArea(id)PortModuleGETGeographicalArea AlertEvent
(32) /route/{id}deleteRouteById(id)PortModuleDELETERoute
(33) /port/{id}updatePortById(port)PortModulePUTPort






5.1 ALERT EVENT


AlertEventPortModuleMarineTraffic

Properties (7)

PropertyTypeEntityReferenceModule
(1) AlertRuleLONGAlertEventAlertRulePortModule
(2) EventDescriptionSTRINGAlertEvent
(3) GeographicalAreaLONGAlertEventGeographicalAreaGeographicalAreaModule
(4) PortLONGAlertEventPortPortModule
(5) PositionReportLONGAlertEventPositionReportVesselModule
(6) TriggeredUtcDATEAlertEvent
(7) VesselLONGAlertEventVesselVesselModule





Example:

final AlertEvent alertevent = (AlertEvent) invokeModule(PORT_MODULE + "/alertevent/" + id, AlertEvent.class);
if (alertevent != null) {
    final Vessel vessel1 = (Vessel) invokeModule(VESSEL_MODULE + "/vessel/" + alertevent.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 GeographicalArea geographicalarea5 = (GeographicalArea) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/geographicalarea/" + alertevent.getGeographicalArea().getId(), GeographicalArea.class);
    if (geographicalarea5 != null) {
    }
    final PositionReport positionreport6 = (PositionReport) invokeModule(VESSEL_MODULE + "/positionreport/" + alertevent.getPositionReport().getId(), PositionReport.class);
    if (positionreport6 != null) {
        final AisStation aisstation7 = (AisStation) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/aisstation/" + positionreport6.getAisStation().getId(), AisStation.class);
        if (aisstation7 != null) {
            final Country country8 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + aisstation7.getCountry().getId(), Country.class);
            if (country8 != null) {
            }
        }
        final Vessel vessel9 = (Vessel) invokeModule(VESSEL_MODULE + "/vessel/" + positionreport6.getVessel().getId(), Vessel.class);
        if (vessel9 != null) {
            final VesselType vesseltype10 = (VesselType) invokeModule(VESSEL_MODULE + "/vesseltype/" + vessel9.getVesselType().getId(), VesselType.class);
            if (vesseltype10 != null) {
            }
            final Country flagcountry11 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + vessel9.getFlagCountry().getId(), Country.class);
            if (flagcountry11 != null) {
            }
            final VesselStatus vesselstatus12 = (VesselStatus) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/vesselstatus/" + vessel9.getVesselStatus().getId(), VesselStatus.class);
            if (vesselstatus12 != null) {
            }
        }
        final GeographicalArea geographicalarea13 = (GeographicalArea) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/geographicalarea/" + positionreport6.getGeographicalArea().getId(), GeographicalArea.class);
        if (geographicalarea13 != null) {
        }
    }
    final AlertRule alertrule14 = (AlertRule) invokeModule(PORT_MODULE + "/alertrule/" + alertevent.getAlertRule().getId(), AlertRule.class);
    if (alertrule14 != null) {
        final UserAccount useraccount15 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + alertrule14.getUserAccount().getId(), UserAccount.class);
        if (useraccount15 != null) {
            final Country country16 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + useraccount15.getCountry().getId(), Country.class);
            if (country16 != null) {
            }
        }
        final GeographicalArea geographicalarea17 = (GeographicalArea) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/geographicalarea/" + alertrule14.getGeographicalArea().getId(), GeographicalArea.class);
        if (geographicalarea17 != null) {
        }
        final Vessel vessel18 = (Vessel) invokeModule(VESSEL_MODULE + "/vessel/" + alertrule14.getVessel().getId(), Vessel.class);
        if (vessel18 != null) {
            final VesselType vesseltype19 = (VesselType) invokeModule(VESSEL_MODULE + "/vesseltype/" + vessel18.getVesselType().getId(), VesselType.class);
            if (vesseltype19 != null) {
            }
            final Country flagcountry20 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + vessel18.getFlagCountry().getId(), Country.class);
            if (flagcountry20 != null) {
            }
            final VesselStatus vesselstatus21 = (VesselStatus) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/vesselstatus/" + vessel18.getVesselStatus().getId(), VesselStatus.class);
            if (vesselstatus21 != null) {
            }
        }
        final Port port22 = (Port) invokeModule(PORT_MODULE + "/port/" + alertrule14.getPort().getId(), Port.class);
        if (port22 != null) {
            final Country country23 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + port22.getCountry().getId(), Country.class);
            if (country23 != null) {
            }
        }
    }
    final Port port24 = (Port) invokeModule(PORT_MODULE + "/port/" + alertevent.getPort().getId(), Port.class);
    if (port24 != null) {
        final Country country25 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + port24.getCountry().getId(), Country.class);
        if (country25 != null) {
        }
    }
}
return alertevent;


5.2 ALERT RULE


AlertRulePortModuleMarineTraffic

Properties (10)

PropertyTypeEntityReferenceModule
(1) AlertTypeSTRINGAlertRule
(2) CreatedUtcDATEAlertRule
(3) DescriptionSTRINGAlertRule
(4) GeographicalAreaLONGAlertRuleGeographicalAreaGeographicalAreaModule
(5) IsActiveBOOLAlertRule
(6) NameSTRINGAlertRule
(7) PortLONGAlertRulePortPortModule
(8) ThresholdSpeedSTRINGAlertRule
(9) UserAccountLONGAlertRuleUserAccountUserAccountModule
(10) VesselLONGAlertRuleVesselVesselModule





Example:

final AlertRule alertrule = (AlertRule) invokeModule(PORT_MODULE + "/alertrule/" + id, AlertRule.class);
if (alertrule != null) {
    final UserAccount useraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + alertrule.getUserAccount().getId(), UserAccount.class);
    if (useraccount1 != null) {
        final Country country2 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + useraccount1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
    final GeographicalArea geographicalarea3 = (GeographicalArea) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/geographicalarea/" + alertrule.getGeographicalArea().getId(), GeographicalArea.class);
    if (geographicalarea3 != null) {
    }
    final Vessel vessel4 = (Vessel) invokeModule(VESSEL_MODULE + "/vessel/" + alertrule.getVessel().getId(), Vessel.class);
    if (vessel4 != null) {
        final VesselType vesseltype5 = (VesselType) invokeModule(VESSEL_MODULE + "/vesseltype/" + vessel4.getVesselType().getId(), VesselType.class);
        if (vesseltype5 != null) {
        }
        final Country flagcountry6 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + vessel4.getFlagCountry().getId(), Country.class);
        if (flagcountry6 != null) {
        }
        final VesselStatus vesselstatus7 = (VesselStatus) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/vesselstatus/" + vessel4.getVesselStatus().getId(), VesselStatus.class);
        if (vesselstatus7 != null) {
        }
    }
    final Port port8 = (Port) invokeModule(PORT_MODULE + "/port/" + alertrule.getPort().getId(), Port.class);
    if (port8 != null) {
        final Country country9 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + port8.getCountry().getId(), Country.class);
        if (country9 != null) {
        }
    }
}
return alertrule;


5.3 PORT


PortPortModuleMarineTraffic

Properties (7)

PropertyTypeEntityReferenceModule
(1) CountryLONGPortCountryUserAccountModule
(2) LatitudeSTRINGPort
(3) LongitudeSTRINGPort
(4) NameSTRINGPort
(5) PortTypeSTRINGPort
(6) TimeZoneSTRINGPort
(7) UnlocodeSTRINGPort





Example:

final Port port = (Port) invokeModule(PORT_MODULE + "/port/" + id, Port.class);
if (port != null) {
    final Country country1 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + port.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
}
return port;


5.4 ROUTE


RoutePortModuleMarineTraffic

Properties (10)

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





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