Interface ApplicationConfigurationService
- All Known Implementing Classes:
AnonApplicationConfigurationService
,SuperUserApplicationConfigurationService
public interface ApplicationConfigurationService
Manages the lifecycle of the various
ApplicationConfiguration
instances.
Created by patricktwohig on 7/13/15.-
Method Summary
Modifier and TypeMethodDescriptiongetApplicationProfiles
(String applicationNameOrId, int offset, int count) Gets the applications registered in the databse given the offset and count.getApplicationProfiles
(String applicationNameOrId, int offset, int count, String search) Gets the applications registered in the database given the offset and count.<T extends ApplicationConfiguration>
TupdateProductBundles
(String applicationNameOrId, String applicationConfigurationNameOrId, Class<T> configurationClass, List<ProductBundle> productBundles) Udpates the product bundles for the givenApplicationConfiguration
instance.
-
Method Details
-
getApplicationProfiles
Pagination<ApplicationConfiguration> getApplicationProfiles(String applicationNameOrId, int offset, int count) Gets the applications registered in the databse given the offset and count.- Parameters:
applicationNameOrId
- theApplication
name or idoffset
- the offsetcount
- the count- Returns:
- a
Pagination
ofApplication
instances
-
getApplicationProfiles
Pagination<ApplicationConfiguration> getApplicationProfiles(String applicationNameOrId, int offset, int count, String search) Gets the applications registered in the database given the offset and count.- Parameters:
applicationNameOrId
- theApplication
name or idoffset
- the offsetcount
- the countsearch
- a query to filter the results- Returns:
- a
Pagination
ofApplication
instances
-
updateProductBundles
<T extends ApplicationConfiguration> T updateProductBundles(String applicationNameOrId, String applicationConfigurationNameOrId, Class<T> configurationClass, List<ProductBundle> productBundles) Udpates the product bundles for the givenApplicationConfiguration
instance.- Parameters:
applicationNameOrId
- theApplication
name or idapplicationConfigurationNameOrId
- theApplicationConfiguration
name or idconfigurationClass
- theClass
to updateproductBundles
- the product bundles to update- Returns:
- the updated
ApplicationConfiguration
instance
-