@Override
    public ApiVersionStatusBean getApiVersionStatus(String organizationId, String apiId,
            String version) throws ApiVersionNotFoundException, NotAuthorizedException {
        if (!securityContext.hasPermission(PermissionType.apiView, organizationId))
            throw ExceptionFactory.notAuthorizedException();

        ApiVersionBean versionBean = getApiVersion(organizationId, apiId, version);
        List<PolicySummaryBean> policies = listApiPolicies(organizationId, apiId, version);
        return apiValidator.getStatus(versionBean, policies);
    }
@ Override public ApiVersionStatusBean getApiVersionStatus ( String organizationId , String apiId , String version ) throws ApiVersionNotFoundException , NotAuthorizedException { if ( ! securityContext . hasPermission ( PermissionType . apiView , organizationId ) ) throw ExceptionFactory . notAuthorizedException ( ) ; ApiVersionBean versionBean = getApiVersion ( organizationId , apiId , version ) ; List < PolicySummaryBean > policies = listApiPolicies ( organizationId , apiId , version ) ; return apiValidator . getStatus ( versionBean , policies ) ; }
@see io.apiman.manager.api.rest.contract.IOrganizationResource#getApiVersionStatus(java.lang.String, java.lang.String, java.lang.String)