Change subscriptionType format

appm_improvement
prathabanKavin 6 months ago
parent 664c1e9e5a
commit 332b2f2f91

@ -2634,23 +2634,23 @@ public class SubscriptionManagerImpl implements SubscriptionManager {
List<CategorizedSubscriptionCountsDTO> subscriptionCounts = new ArrayList<>(); List<CategorizedSubscriptionCountsDTO> subscriptionCounts = new ArrayList<>();
subscriptionCounts.add(new CategorizedSubscriptionCountsDTO( subscriptionCounts.add(new CategorizedSubscriptionCountsDTO(
"ALL", "All",
subscriptionDAO.getAllSubscriptionCount(appReleaseId, tenantId), subscriptionDAO.getAllSubscriptionCount(appReleaseId, tenantId),
subscriptionDAO.getAllUnsubscriptionCount(appReleaseId, tenantId))); subscriptionDAO.getAllUnsubscriptionCount(appReleaseId, tenantId)));
subscriptionCounts.add(new CategorizedSubscriptionCountsDTO( subscriptionCounts.add(new CategorizedSubscriptionCountsDTO(
"DEVICE", "Device",
subscriptionDAO.getDeviceSubscriptionCount(appReleaseId, tenantId), subscriptionDAO.getDeviceSubscriptionCount(appReleaseId, tenantId),
subscriptionDAO.getDeviceUnsubscriptionCount(appReleaseId, tenantId))); subscriptionDAO.getDeviceUnsubscriptionCount(appReleaseId, tenantId)));
subscriptionCounts.add(new CategorizedSubscriptionCountsDTO( subscriptionCounts.add(new CategorizedSubscriptionCountsDTO(
"GROUP", "Group",
subscriptionDAO.getGroupSubscriptionCount(appReleaseId, tenantId), subscriptionDAO.getGroupSubscriptionCount(appReleaseId, tenantId),
subscriptionDAO.getGroupUnsubscriptionCount(appReleaseId, tenantId))); subscriptionDAO.getGroupUnsubscriptionCount(appReleaseId, tenantId)));
subscriptionCounts.add(new CategorizedSubscriptionCountsDTO( subscriptionCounts.add(new CategorizedSubscriptionCountsDTO(
"ROLE", "Role",
subscriptionDAO.getRoleSubscriptionCount(appReleaseId, tenantId), subscriptionDAO.getRoleSubscriptionCount(appReleaseId, tenantId),
subscriptionDAO.getRoleUnsubscriptionCount(appReleaseId, tenantId))); subscriptionDAO.getRoleUnsubscriptionCount(appReleaseId, tenantId)));
subscriptionCounts.add(new CategorizedSubscriptionCountsDTO( subscriptionCounts.add(new CategorizedSubscriptionCountsDTO(
"USER", "User",
subscriptionDAO.getUserSubscriptionCount(appReleaseId, tenantId), subscriptionDAO.getUserSubscriptionCount(appReleaseId, tenantId),
subscriptionDAO.getUserUnsubscriptionCount(appReleaseId, tenantId))); subscriptionDAO.getUserUnsubscriptionCount(appReleaseId, tenantId)));

Loading…
Cancel
Save