Overview

Summary

ContactDonateImprint


6. SUBSCRIPTION PLAN MODULE (UI prompt)



Module Entities (8)

EntityAliasModuleGlobal Schema
(1) PortPortPortModuleMarineTraffic
(2) PortCallPortCallSubscriptionPlanModuleMarineTraffic
(3) RouteRoutePortModuleMarineTraffic
(4) RouteWaypointRouteWaypointSubscriptionPlanModuleMarineTraffic
(5) SubscriptionPlanSubscriptionPlanSubscriptionPlanModuleMarineTraffic
(6) UserAccountUserAccountUserAccountModuleMarineTraffic
(7) UserSubscriptionUserSubscriptionSubscriptionPlanModuleMarineTraffic
(8) VesselVesselVesselModuleMarineTraffic

Module Interfaces (26)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /portcall/{id}updatePortCallById(portcall)SubscriptionPlanModulePUTPortCall
(2) /portcall/vessel/{id}findAllPortCallOfVessel(id)SubscriptionPlanModuleGETVessel PortCall
(3) /portcall/{id}deletePortCallById(id)SubscriptionPlanModuleDELETEPortCall
(4) /subscriptionplan/{id}deleteSubscriptionPlanById(id)SubscriptionPlanModuleDELETESubscriptionPlan
(5) /portcallinsertPortCall(portcall)SubscriptionPlanModulePOSTPortCall
(6) /subscriptionplan/{id}updateSubscriptionPlanById(subscriptionplan)SubscriptionPlanModulePUTSubscriptionPlan
(7) /portcallfindAllPortCall()SubscriptionPlanModuleGETPortCall
(8) /portcall/port/{id}findAllPortCallOfPort(id)SubscriptionPlanModuleGETPort PortCall
(9) /portcall/route/{id}findAllPortCallOfRoute(id)SubscriptionPlanModuleGETRoute PortCall
(10) /usersubscriptioninsertUserSubscription(usersubscription)SubscriptionPlanModulePOSTUserSubscription
(11) /subscriptionplan/{id}findSubscriptionPlanById(id)SubscriptionPlanModuleGETSubscriptionPlan
(12) /routewaypoint/{id}deleteRouteWaypointById(id)SubscriptionPlanModuleDELETERouteWaypoint
(13) /routewaypoint/{id}findRouteWaypointById(id)SubscriptionPlanModuleGETRouteWaypoint
(14) /usersubscription/{id}findUserSubscriptionById(id)SubscriptionPlanModuleGETUserSubscription
(15) /routewaypoint/route/{id}findAllRouteWaypointOfRoute(id)SubscriptionPlanModuleGETRoute RouteWaypoint
(16) /usersubscriptionfindAllUserSubscription()SubscriptionPlanModuleGETUserSubscription
(17) /subscriptionplanfindAllSubscriptionPlan()SubscriptionPlanModuleGETSubscriptionPlan
(18) /subscriptionplaninsertSubscriptionPlan(subscriptionplan)SubscriptionPlanModulePOSTSubscriptionPlan
(19) /routewaypointinsertRouteWaypoint(routewaypoint)SubscriptionPlanModulePOSTRouteWaypoint
(20) /portcall/{id}findPortCallById(id)SubscriptionPlanModuleGETPortCall
(21) /usersubscription/subscriptionplan/{id}findAllUserSubscriptionOfSubscriptionPlan(id)SubscriptionPlanModuleGETSubscriptionPlan UserSubscription
(22) /usersubscription/useraccount/{id}findAllUserSubscriptionOfUserAccount(id)SubscriptionPlanModuleGETUserAccount UserSubscription
(23) /usersubscription/{id}deleteUserSubscriptionById(id)SubscriptionPlanModuleDELETEUserSubscription
(24) /routewaypointfindAllRouteWaypoint()SubscriptionPlanModuleGETRouteWaypoint
(25) /routewaypoint/{id}updateRouteWaypointById(routewaypoint)SubscriptionPlanModulePUTRouteWaypoint
(26) /usersubscription/{id}updateUserSubscriptionById(usersubscription)SubscriptionPlanModulePUTUserSubscription






6.1 PORT CALL


PortCallSubscriptionPlanModuleMarineTraffic

Properties (11)

PropertyTypeEntityReferenceModule
(1) ArrivalActualUtcDATEPortCall
(2) ArrivalEstimatedUtcDATEPortCall
(3) BerthNameSTRINGPortCall
(4) DepartureActualUtcDATEPortCall
(5) DepartureEstimatedUtcDATEPortCall
(6) DraftArrivalSTRINGPortCall
(7) DraftDepartureSTRINGPortCall
(8) PortLONGPortCallPortPortModule
(9) ReasonSTRINGPortCall
(10) RouteLONGPortCallRoutePortModule
(11) VesselLONGPortCallVesselVesselModule





Example:

final PortCall portcall = (PortCall) invokeModule(SUBSCRIPTION_PLAN_MODULE + "/portcall/" + id, PortCall.class);
if (portcall != null) {
    final Vessel vessel1 = (Vessel) invokeModule(VESSEL_MODULE + "/vessel/" + portcall.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 Route route5 = (Route) invokeModule(PORT_MODULE + "/route/" + portcall.getRoute().getId(), Route.class);
    if (route5 != null) {
        final Vessel vessel6 = (Vessel) invokeModule(VESSEL_MODULE + "/vessel/" + route5.getVessel().getId(), Vessel.class);
        if (vessel6 != null) {
            final VesselType vesseltype7 = (VesselType) invokeModule(VESSEL_MODULE + "/vesseltype/" + vessel6.getVesselType().getId(), VesselType.class);
            if (vesseltype7 != null) {
            }
            final Country flagcountry8 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + vessel6.getFlagCountry().getId(), Country.class);
            if (flagcountry8 != null) {
            }
            final VesselStatus vesselstatus9 = (VesselStatus) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/vesselstatus/" + vessel6.getVesselStatus().getId(), VesselStatus.class);
            if (vesselstatus9 != null) {
            }
        }
        final Port endport10 = (Port) invokeModule(PORT_MODULE + "/port/" + route5.getEndPort().getId(), Port.class);
        if (endport10 != null) {
            final Country country11 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + endport10.getCountry().getId(), Country.class);
            if (country11 != null) {
            }
        }
        final Port startport12 = (Port) invokeModule(PORT_MODULE + "/port/" + route5.getStartPort().getId(), Port.class);
        if (startport12 != null) {
            final Country country13 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + startport12.getCountry().getId(), Country.class);
            if (country13 != null) {
            }
        }
    }
    final Port port14 = (Port) invokeModule(PORT_MODULE + "/port/" + portcall.getPort().getId(), Port.class);
    if (port14 != null) {
        final Country country15 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + port14.getCountry().getId(), Country.class);
        if (country15 != null) {
        }
    }
}
return portcall;


6.2 ROUTE WAYPOINT


RouteWaypointSubscriptionPlanModuleMarineTraffic

Properties (5)

PropertyTypeEntityReferenceModule
(1) EstimatedTimeUtcDATERouteWaypoint
(2) LatitudeSTRINGRouteWaypoint
(3) LongitudeSTRINGRouteWaypoint
(4) RouteLONGRouteWaypointRoutePortModule
(5) SequenceNumberLONGRouteWaypoint





Example:

final RouteWaypoint routewaypoint = (RouteWaypoint) invokeModule(SUBSCRIPTION_PLAN_MODULE + "/routewaypoint/" + id, RouteWaypoint.class);
if (routewaypoint != null) {
    final Route route1 = (Route) invokeModule(PORT_MODULE + "/route/" + routewaypoint.getRoute().getId(), Route.class);
    if (route1 != null) {
        final Vessel vessel2 = (Vessel) invokeModule(VESSEL_MODULE + "/vessel/" + route1.getVessel().getId(), Vessel.class);
        if (vessel2 != null) {
            final VesselType vesseltype3 = (VesselType) invokeModule(VESSEL_MODULE + "/vesseltype/" + vessel2.getVesselType().getId(), VesselType.class);
            if (vesseltype3 != null) {
            }
            final Country flagcountry4 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + vessel2.getFlagCountry().getId(), Country.class);
            if (flagcountry4 != null) {
            }
            final VesselStatus vesselstatus5 = (VesselStatus) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/vesselstatus/" + vessel2.getVesselStatus().getId(), VesselStatus.class);
            if (vesselstatus5 != null) {
            }
        }
        final Port endport6 = (Port) invokeModule(PORT_MODULE + "/port/" + route1.getEndPort().getId(), Port.class);
        if (endport6 != null) {
            final Country country7 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + endport6.getCountry().getId(), Country.class);
            if (country7 != null) {
            }
        }
        final Port startport8 = (Port) invokeModule(PORT_MODULE + "/port/" + route1.getStartPort().getId(), Port.class);
        if (startport8 != null) {
            final Country country9 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + startport8.getCountry().getId(), Country.class);
            if (country9 != null) {
            }
        }
    }
}
return routewaypoint;


6.3 SUBSCRIPTION PLAN


SubscriptionPlanSubscriptionPlanModuleMarineTraffic

Properties (13)

PropertyTypeEntityReferenceModule
(1) BillingPeriodSTRINGSubscriptionPlan
(2) CurrencySTRINGSubscriptionPlan
(3) DescriptionSTRINGSubscriptionPlan
(4) HistoricalDataDaysLONGSubscriptionPlan
(5) HistoricalDataYearsLONGSubscriptionPlan
(6) IsActiveBOOLSubscriptionPlan
(7) IsEnterpriseBOOLSubscriptionPlan
(8) MaxApiCallsPerMonthLONGSubscriptionPlan
(9) MaxCustomAreasLONGSubscriptionPlan
(10) MaxNotificationsPerMonthLONGSubscriptionPlan
(11) MaxTrackedVesselsLONGSubscriptionPlan
(12) NameSTRINGSubscriptionPlan
(13) PriceAmountSTRINGSubscriptionPlan





Example:

final SubscriptionPlan subscriptionplan = (SubscriptionPlan) invokeModule(SUBSCRIPTION_PLAN_MODULE + "/subscriptionplan/" + id, SubscriptionPlan.class);
if (subscriptionplan != null) {
}
return subscriptionplan;


6.4 USER SUBSCRIPTION


UserSubscriptionSubscriptionPlanModuleMarineTraffic

Properties (6)

PropertyTypeEntityReferenceModule
(1) AutoRenewBOOLUserSubscription
(2) EndUtcDATEUserSubscription
(3) IsTrialBOOLUserSubscription
(4) StartUtcDATEUserSubscription
(5) SubscriptionPlanLONGUserSubscriptionSubscriptionPlanSubscriptionPlanModule
(6) UserAccountLONGUserSubscriptionUserAccountUserAccountModule





Example:

final UserSubscription usersubscription = (UserSubscription) invokeModule(SUBSCRIPTION_PLAN_MODULE + "/usersubscription/" + id, UserSubscription.class);
if (usersubscription != null) {
    final SubscriptionPlan subscriptionplan1 = (SubscriptionPlan) invokeModule(SUBSCRIPTION_PLAN_MODULE + "/subscriptionplan/" + usersubscription.getSubscriptionPlan().getId(), SubscriptionPlan.class);
    if (subscriptionplan1 != null) {
    }
    final UserAccount useraccount2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + usersubscription.getUserAccount().getId(), UserAccount.class);
    if (useraccount2 != null) {
        final Country country3 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + useraccount2.getCountry().getId(), Country.class);
        if (country3 != null) {
        }
    }
}
return usersubscription;


Overview

Summary

ContactDonateImprint