Package com.avoka.fc.core.service
Class ApplicationPackageService
java.lang.Object
com.avoka.fc.core.service.BaseService
com.avoka.fc.core.service.CayenneService
com.avoka.fc.core.service.ApplicationPackageService
Provides service methods for the
ApplicationPackage
entity.- Since:
- 4.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateClientProperties
(ApplicationPackage application, List<String> clientPropertyIds) Update the client properties associated with the given application package.void
updateClientRefDataList
(ApplicationPackage application, List<String> clientRefDataIds) Update the client reference data list associated with the given application package.void
updateDeliveryDetails
(ApplicationPackage application, List<String> deliveryDetailIds) Update the delivery channels associated with the given application package.void
updateForms
(ApplicationPackage application, List<String> formIds) Update the forms associated with the given application package.void
updateServiceConnections
(ApplicationPackage application, List<String> connectionIds) Update the service connections associated with the given application package.void
updateServices
(ApplicationPackage application, List<String> serviceIds) Update the service definitions associated with the given application package.Methods inherited from class com.avoka.fc.core.service.CayenneService
commitChanges, deleteObject, deleteObjects, findObject, getDataContext, getDataDomain, getObjectForPK, getObjectStore, newObject, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, refetchEntity, refetchObject, registerNewObject, rollbackChanges, toMap, toMap
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
Constructor Details
-
ApplicationPackageService
public ApplicationPackageService()
-
-
Method Details
-
updateServices
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
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
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
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
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
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
-