Class SuperUserApplicationConfigurationService
java.lang.Object
dev.getelements.elements.service.application.SuperUserApplicationConfigurationService
- All Implemented Interfaces:
ApplicationConfigurationService
public class SuperUserApplicationConfigurationService
extends Object
implements ApplicationConfigurationService
Created by patricktwohig on 7/13/15.
-
Constructor Summary
Constructors -
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 givenApplicationConfigurationinstance.
-
Constructor Details
-
SuperUserApplicationConfigurationService
public SuperUserApplicationConfigurationService()
-
-
Method Details
-
getApplicationProfiles
public Pagination<ApplicationConfiguration> getApplicationProfiles(String applicationNameOrId, int offset, int count) Description copied from interface:ApplicationConfigurationServiceGets the applications registered in the databse given the offset and count.- Specified by:
getApplicationProfilesin interfaceApplicationConfigurationService- Parameters:
applicationNameOrId- theApplicationname or idoffset- the offsetcount- the count- Returns:
- a
PaginationofApplicationinstances
-
getApplicationProfiles
public Pagination<ApplicationConfiguration> getApplicationProfiles(String applicationNameOrId, int offset, int count, String search) Description copied from interface:ApplicationConfigurationServiceGets the applications registered in the database given the offset and count.- Specified by:
getApplicationProfilesin interfaceApplicationConfigurationService- Parameters:
applicationNameOrId- theApplicationname or idoffset- the offsetcount- the countsearch- a query to filter the results- Returns:
- a
PaginationofApplicationinstances
-
updateProductBundles
public <T extends ApplicationConfiguration> T updateProductBundles(String applicationNameOrId, String applicationConfigurationNameOrId, Class<T> configurationClass, List<ProductBundle> productBundles) Description copied from interface:ApplicationConfigurationServiceUdpates the product bundles for the givenApplicationConfigurationinstance.- Specified by:
updateProductBundlesin interfaceApplicationConfigurationService- Parameters:
applicationNameOrId- theApplicationname or idapplicationConfigurationNameOrId- theApplicationConfigurationname or idconfigurationClass- theClassto updateproductBundles- the product bundles to update- Returns:
- the updated
ApplicationConfigurationinstance
-