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
-
public class ApplicationPackageService extends CayenneService
Provides service methods for theApplicationPackage
entity.- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description ApplicationPackageService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
updateClientProperties(ApplicationPackage application, List<String> clientPropertyIds)
Update the client properties 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
-
-
-
-
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
-
-