Class ApplicationPackageService


public class ApplicationPackageService extends CayenneService
Provides service methods for the ApplicationPackage entity.
Since:
4.0.0
  • Constructor Details

    • ApplicationPackageService

      public ApplicationPackageService()
  • Method Details

    • 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
    • updateClientRefDataList

      public void updateClientRefDataList(ApplicationPackage application, List<String> clientRefDataIds)
      Update the client reference data list associated with the given application package. This method performs a database commit.
      Parameters:
      application - the application (required)
      clientRefDataIds - the list of client reference data IDs that shall be associated with the application package (required, may be empty)
      Since:
      23.4.0