public PolicyBean getClientPolicy(String organizationId, String clientId, String version, long policyId)
        throws OrganizationNotFoundException, ClientVersionNotFoundException,
        PolicyNotFoundException, NotAuthorizedException {

        // Make sure the client version exists
        getClientVersionInternal(organizationId, clientId, version);

        return policyService.getPolicy(PolicyType.Client, organizationId, clientId, version, policyId);
    }
Gets the client version internally
which lets callers dictate whether the user has clientView permission for the org.
@param organizationId the organizationId
@param clientId the clientId
@param version the version
@return the client version
@throws ClientVersionNotFoundException if client not found
manager/api/rest-impl/src/main/java/io/apiman/manager/api/service/ClientAppService.java