Interface MorpheusSynchronousResourcePermissionService

All Superinterfaces:
MorpheusSynchronousDataService<ResourcePermission,ResourcePermissionIdentity>

public interface MorpheusSynchronousResourcePermissionService extends MorpheusSynchronousDataService<ResourcePermission,ResourcePermissionIdentity>
  • Method Details

    • listAccessibleResources

      Collection<Long> listAccessibleResources(Long accountId, ResourcePermission.ResourceType resourceType, Long siteId, Long planId)
      Get a list of ids for which the given accountId and siteId have access to (optionally scoped to siteId)
      Parameters:
      accountId - the account ID to scope the search
      resourceType - the ResourceType
      siteId - (Optional)
      planId - (Optional)
      Returns:
      list of ids