public SubscriptionCollectionResource(
     Role role,
     UriInfo uriInfo,
     Map<String, List<String>> queryParams,
     RestApiVersion apiVersion) {
   this(
       // role.getSubscriptions(),
       role.getSubscriptionsForActiveReportVersions(),
       Subscription.class,
       AbstractBaseResource.createHref(uriInfo, Role.class, role.getRoleId(), null),
       ResourcePath.SUBSCRIPTIONS_PATH,
       uriInfo,
       queryParams,
       apiVersion);
 }
 public SubscriptionCollectionResource(
     DocumentFormat documentFormat,
     UriInfo uriInfo,
     Map<String, List<String>> queryParams,
     RestApiVersion apiVersion) {
   this(
       documentFormat.getSubscriptions(),
       Subscription.class,
       AbstractBaseResource.createHref(
           uriInfo, DocumentFormat.class, documentFormat.getDocumentFormatId(), null),
       ResourcePath.SUBSCRIPTIONS_PATH,
       uriInfo,
       queryParams,
       apiVersion);
 }
 public SubscriptionCollectionResource(
     ReportVersion reportVersion,
     UriInfo uriInfo,
     Map<String, List<String>> queryParams,
     RestApiVersion apiVersion)
     throws ResourceFilterExecutionException, ResourceFilterParseException {
   this(
       reportVersion.getSubscriptions(RestUtils.parseFilterQueryParams(queryParams)),
       Subscription.class,
       AbstractBaseResource.createHref(
           uriInfo, ReportVersion.class, reportVersion.getReportVersionId(), null),
       ResourcePath.SUBSCRIPTIONS_PATH,
       uriInfo,
       queryParams,
       apiVersion);
 }