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 givenApplicationConfiguration
instance.
-
Constructor Details
-
SuperUserApplicationConfigurationService
public SuperUserApplicationConfigurationService()
-
-
Method Details
-
getApplicationProfiles
public Pagination<ApplicationConfiguration> getApplicationProfiles(String applicationNameOrId, int offset, int count) Description copied from interface:ApplicationConfigurationService
Gets the applications registered in the databse given the offset and count.- Specified by:
getApplicationProfiles
in interfaceApplicationConfigurationService
- Parameters:
applicationNameOrId
- theApplication
name or idoffset
- the offsetcount
- the count- Returns:
- a
Pagination
ofApplication
instances
-
getApplicationProfiles
public Pagination<ApplicationConfiguration> getApplicationProfiles(String applicationNameOrId, int offset, int count, String search) Description copied from interface:ApplicationConfigurationService
Gets the applications registered in the database given the offset and count.- Specified by:
getApplicationProfiles
in interfaceApplicationConfigurationService
- Parameters:
applicationNameOrId
- theApplication
name or idoffset
- the offsetcount
- the countsearch
- a query to filter the results- Returns:
- a
Pagination
ofApplication
instances
-
updateProductBundles
public <T extends ApplicationConfiguration> T updateProductBundles(String applicationNameOrId, String applicationConfigurationNameOrId, Class<T> configurationClass, List<ProductBundle> productBundles) Description copied from interface:ApplicationConfigurationService
Udpates the product bundles for the givenApplicationConfiguration
instance.- Specified by:
updateProductBundles
in interfaceApplicationConfigurationService
- Parameters:
applicationNameOrId
- theApplication
name or idapplicationConfigurationNameOrId
- theApplicationConfiguration
name or idconfigurationClass
- theClass
to updateproductBundles
- the product bundles to update- Returns:
- the updated
ApplicationConfiguration
instance
-