/** * @see io.apiman.manager.api.core.IStorageQuery#getApisInOrg(java.lang.String) */ @Override public List<ApiSummaryBean> getApisInOrg(String orgId) throws StorageException { refresh(); return this.delegate.getApisInOrg(orgId); }
/** * @see io.apiman.manager.api.rest.contract.IOrganizationResource#listApi(java.lang.String) */ @Override public List<ApiSummaryBean> listApi(String organizationId) throws OrganizationNotFoundException, NotAuthorizedException { // make sure the org exists get(organizationId); try { return query.getApisInOrg(organizationId); } catch (StorageException e) { throw new SystemErrorException(e); } }
/** * @see io.apiman.manager.api.rest.contract.IOrganizationResource#listApi(java.lang.String) */ @Override public List<ApiSummaryBean> listApi(String organizationId) throws OrganizationNotFoundException, NotAuthorizedException { // make sure the org exists get(organizationId); try { return query.getApisInOrg(organizationId); } catch (StorageException e) { throw new SystemErrorException(e); } }