Interface MorpheusSynchronousResourcePermissionService
- All Superinterfaces:
MorpheusSynchronousDataService<ResourcePermission,
ResourcePermissionIdentity>
public interface MorpheusSynchronousResourcePermissionService
extends MorpheusSynchronousDataService<ResourcePermission,ResourcePermissionIdentity>
-
Method Summary
Modifier and TypeMethodDescriptionlistAccessibleResources
(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)Methods inherited from interface com.morpheusdata.core.MorpheusSynchronousDataService
bulkCreate, bulkRemove, bulkSave, count, create, create, find, get, getDataService, list, listById, listOptions, remove, remove, save, save, search
-
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 searchresourceType
- the ResourceTypesiteId
- (Optional)planId
- (Optional)- Returns:
- list of ids
-