Interface IntegrationObjectMetadataPermissionService
- All Known Implementing Classes:
DefaultIntegrationObjectMetadataPermissionService
public interface IntegrationObjectMetadataPermissionService
This Service provides a convenience method to determine permissions to access metadata on integration objects.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckMetadataPermission(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) Checks if the current user can read the metadata of the integration object present in the ODataContext.
-
Method Details
-
checkMetadataPermission
void checkMetadataPermission(org.apache.olingo.odata2.api.processor.ODataContext oDataContext) Checks if the current user can read the metadata of the integration object present in the ODataContext. The implementation may throw aRuntimeExceptionif the user does not have the permission.- Parameters:
oDataContext- OData contextODataContext
-