Interface MorpheusSynchronousPermissionService
- All Superinterfaces:
MorpheusSynchronousDataService<Permission,
Permission>
public interface MorpheusSynchronousPermissionService
extends MorpheusSynchronousDataService<Permission,Permission>
-
Method Summary
Modifier and TypeMethodDescriptionlistAccessibleResources
(Long accountId, Permission.ResourceType resourceType, Long siteId, Long planId) Deprecated, for removal: This API element is subject to removal in a future version.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
@Deprecated(since="0.15.12", forRemoval=true) Collection<Long> listAccessibleResources(Long accountId, Permission.ResourceType resourceType, Long siteId, Long planId) Deprecated, for removal: This API element is subject to removal in a future version.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
-
MorpheusSynchronousResourcePermissionService.listAccessibleResources(Long, ResourcePermission.ResourceType, Long, Long)
instead