Class ApplicationPackageService

    • Constructor Detail

      • ApplicationPackageService

        public ApplicationPackageService()
    • Method Detail

      • updateServices

        public void updateServices​(ApplicationPackage application,
                                   List<String> serviceIds)
        Update the service definitions associated with the given application package. This method performs a database commit.
        Parameters:
        application - the application (required)
        serviceIds - the list of service definition IDs that shall be associated with the application package (required, may be empty)
      • updateServiceConnections

        public void updateServiceConnections​(ApplicationPackage application,
                                             List<String> connectionIds)
        Update the service connections associated with the given application package. This method performs a database commit.
        Parameters:
        application - the application (required)
        connectionIds - the list of service connection IDs that shall be associated with the application package (required, may be empty, must belong to the same organization)
        Since:
        5.1.0
      • updateForms

        public void updateForms​(ApplicationPackage application,
                                List<String> formIds)
        Update the forms associated with the given application package. This method performs a database commit.
        Parameters:
        application - the application (required)
        formIds - the list of form IDs that shall be associated with the application package (required, may be empty)
        Since:
        4.3.0
      • updateDeliveryDetails

        public void updateDeliveryDetails​(ApplicationPackage application,
                                          List<String> deliveryDetailIds)
        Update the delivery channels associated with the given application package. Also adds service definitions associated with the delivery channels to the application package as long as the services belong to the same client. This method performs a database commit.
        Parameters:
        application - the application (required)
        deliveryDetailIds - the list of delivery channel IDs that shall be associated with the application package (required, may be empty)
        Since:
        5.1.0
      • updateClientProperties

        public void updateClientProperties​(ApplicationPackage application,
                                           List<String> clientPropertyIds)
        Update the client properties associated with the given application package. This method performs a database commit.
        Parameters:
        application - the application (required)
        clientPropertyIds - the list of client property IDs that shall be associated with the application package (required, may be empty)
        Since:
        5.1.0