Class AnonApplicationConfigurationService
java.lang.Object
dev.getelements.elements.service.application.AnonApplicationConfigurationService
- All Implemented Interfaces:
ApplicationConfigurationService
public class AnonApplicationConfigurationService
extends Object
implements ApplicationConfigurationService
Created by patricktwohig on 6/26/17.
-
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.void
setApplicationConfigurationDao
(ApplicationConfigurationDao applicationConfigurationDao) <T extends ApplicationConfiguration>
TupdateProductBundles
(String applicationNameOrId, String applicationConfigurationNameOrId, Class<T> configurationClass, List<ProductBundle> productBundles) Udpates the product bundles for the givenApplicationConfiguration
instance.
-
Constructor Details
-
AnonApplicationConfigurationService
public AnonApplicationConfigurationService()
-
-
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
-
getApplicationConfigurationDao
-
setApplicationConfigurationDao
@Inject public void setApplicationConfigurationDao(ApplicationConfigurationDao applicationConfigurationDao)
-