public interface IStorageQuery
| Modifier and Type | Method and Description |
|---|---|
<T> io.apiman.manager.api.beans.search.SearchResultsBean<io.apiman.manager.api.beans.audit.AuditEntryBean> |
auditEntity(String organizationId,
String entityId,
String entityVersion,
Class<T> type,
io.apiman.manager.api.beans.search.PagingBean paging)
Gets the audit log for an entity.
|
<T> io.apiman.manager.api.beans.search.SearchResultsBean<io.apiman.manager.api.beans.audit.AuditEntryBean> |
auditUser(String userId,
io.apiman.manager.api.beans.search.PagingBean paging)
Gets the audit log for a user.
|
io.apiman.manager.api.beans.search.SearchResultsBean<io.apiman.manager.api.beans.summary.ApplicationSummaryBean> |
findApplications(io.apiman.manager.api.beans.search.SearchCriteriaBean criteria)
Finds applications by the provided criteria.
|
io.apiman.manager.api.beans.search.SearchResultsBean<io.apiman.manager.api.beans.summary.OrganizationSummaryBean> |
findOrganizations(io.apiman.manager.api.beans.search.SearchCriteriaBean criteria)
Finds organizations by the provided criteria.
|
io.apiman.manager.api.beans.search.SearchResultsBean<io.apiman.manager.api.beans.summary.PlanSummaryBean> |
findPlans(String organizationId,
io.apiman.manager.api.beans.search.SearchCriteriaBean criteria)
Finds plans (within an organization) with the given criteria.
|
io.apiman.manager.api.beans.search.SearchResultsBean<io.apiman.manager.api.beans.summary.ServiceSummaryBean> |
findServices(io.apiman.manager.api.beans.search.SearchCriteriaBean criteria)
Finds services by the provided criteria.
|
io.apiman.manager.api.beans.summary.ApiRegistryBean |
getApiRegistry(String organizationId,
String applicationId,
String version)
Returns the api registry for the given application.
|
List<io.apiman.manager.api.beans.summary.ContractSummaryBean> |
getApplicationContracts(String organizationId,
String applicationId,
String version)
Returns all Contracts for the application.
|
List<io.apiman.manager.api.beans.summary.ApplicationSummaryBean> |
getApplicationsInOrg(String organizationId)
Returns summary info for all applications in the given organization.
|
List<io.apiman.manager.api.beans.summary.ApplicationSummaryBean> |
getApplicationsInOrgs(Set<String> organizationIds)
Returns summary info for all applications in all organizations in the given set.
|
List<io.apiman.manager.api.beans.summary.ApplicationVersionSummaryBean> |
getApplicationVersions(String organizationId,
String applicationId)
Returns all application versions for a given app.
|
int |
getMaxPolicyOrderIndex(String organizationId,
String entityId,
String entityVersion,
io.apiman.manager.api.beans.policies.PolicyType type)
Returns the largest order index value for the policies assigned to the
given entity.
|
List<io.apiman.manager.api.beans.summary.OrganizationSummaryBean> |
getOrgs(Set<String> organizationIds)
Returns summary info for all organizations in the given set.
|
List<io.apiman.manager.api.beans.summary.PlanSummaryBean> |
getPlansInOrg(String organizationId)
Returns summary info for all plans in the given organization.
|
List<io.apiman.manager.api.beans.summary.PlanSummaryBean> |
getPlansInOrgs(Set<String> organizationIds)
Returns summary info for all plans in all organizations in the given set.
|
List<io.apiman.manager.api.beans.summary.PlanVersionSummaryBean> |
getPlanVersions(String organizationId,
String planId)
Returns all plan versions for a given plan.
|
List<io.apiman.manager.api.beans.summary.PolicySummaryBean> |
getPolicies(String organizationId,
String entityId,
String version,
io.apiman.manager.api.beans.policies.PolicyType type)
Returns all policies of the given type for the given entity/version.
|
List<io.apiman.manager.api.beans.summary.ContractSummaryBean> |
getServiceContracts(String organizationId,
String serviceId,
String version,
int page,
int pageSize)
Gets a list of contracts for the given service.
|
List<io.apiman.manager.api.beans.summary.ServiceSummaryBean> |
getServicesInOrg(String organizationId)
Returns summary info for all services in the given organization.
|
List<io.apiman.manager.api.beans.summary.ServiceSummaryBean> |
getServicesInOrgs(Set<String> organizationIds)
Returns summary info for all services in all organizations in the given set.
|
List<io.apiman.manager.api.beans.summary.ServicePlanSummaryBean> |
getServiceVersionPlans(String organizationId,
String serviceId,
String version)
Returns the service plans configured for the given service version.
|
List<io.apiman.manager.api.beans.summary.ServiceVersionSummaryBean> |
getServiceVersions(String organizationId,
String serviceId)
Returns all service versions for a given service.
|
List<io.apiman.manager.api.beans.summary.GatewaySummaryBean> |
listGateways()
Lists all of the Gateways.
|
List<io.apiman.manager.api.beans.summary.PolicyDefinitionSummaryBean> |
listPluginPolicyDefs(Long pluginId)
Lists all of the policy definitions contributed via a particular plugin.
|
List<io.apiman.manager.api.beans.summary.PluginSummaryBean> |
listPlugins()
Lists all of the Plugins.
|
List<io.apiman.manager.api.beans.summary.PolicyDefinitionSummaryBean> |
listPolicyDefinitions()
Lists the policy definitions in the system.
|
List<io.apiman.manager.api.beans.summary.PluginSummaryBean> listPlugins() throws StorageException
StorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.GatewaySummaryBean> listGateways() throws StorageException
StorageException - if a storage problem occurs while storing a bean.io.apiman.manager.api.beans.search.SearchResultsBean<io.apiman.manager.api.beans.summary.OrganizationSummaryBean> findOrganizations(io.apiman.manager.api.beans.search.SearchCriteriaBean criteria)
throws StorageException
criteria - search criteria search criteriaStorageException - if a storage problem occurs while storing a bean.io.apiman.manager.api.beans.search.SearchResultsBean<io.apiman.manager.api.beans.summary.ApplicationSummaryBean> findApplications(io.apiman.manager.api.beans.search.SearchCriteriaBean criteria)
throws StorageException
criteria - search criteriaStorageException - if a storage problem occurs while storing a bean.io.apiman.manager.api.beans.search.SearchResultsBean<io.apiman.manager.api.beans.summary.ServiceSummaryBean> findServices(io.apiman.manager.api.beans.search.SearchCriteriaBean criteria)
throws StorageException
criteria - search criteriaStorageException - if a storage problem occurs while storing a bean.io.apiman.manager.api.beans.search.SearchResultsBean<io.apiman.manager.api.beans.summary.PlanSummaryBean> findPlans(String organizationId, io.apiman.manager.api.beans.search.SearchCriteriaBean criteria) throws StorageException
organizationId - the organization idcriteria - search criteriaStorageException - if a storage problem occurs while storing a bean.<T> io.apiman.manager.api.beans.search.SearchResultsBean<io.apiman.manager.api.beans.audit.AuditEntryBean> auditEntity(String organizationId, String entityId, String entityVersion, Class<T> type, io.apiman.manager.api.beans.search.PagingBean paging) throws StorageException
organizationId - the organization identityId - the entity identityVersion - the entity versiontype - the typepaging - the paging specificationStorageException - if a storage problem occurs while storing a bean.<T> io.apiman.manager.api.beans.search.SearchResultsBean<io.apiman.manager.api.beans.audit.AuditEntryBean> auditUser(String userId, io.apiman.manager.api.beans.search.PagingBean paging) throws StorageException
userId - the user idpaging - the paging specificationStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.OrganizationSummaryBean> getOrgs(Set<String> organizationIds) throws StorageException
organizationIds - the organization idsStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.ApplicationSummaryBean> getApplicationsInOrgs(Set<String> organizationIds) throws StorageException
organizationIds - the organization idsStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.ApplicationSummaryBean> getApplicationsInOrg(String organizationId) throws StorageException
organizationId - the organization idStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.ApplicationVersionSummaryBean> getApplicationVersions(String organizationId, String applicationId) throws StorageException
organizationId - the organization idapplicationId - the application idStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.ContractSummaryBean> getApplicationContracts(String organizationId, String applicationId, String version) throws StorageException
organizationId - the organization idapplicationId - the application idversion - the versionStorageException - if a storage problem occurs while storing a bean.io.apiman.manager.api.beans.summary.ApiRegistryBean getApiRegistry(String organizationId, String applicationId, String version) throws StorageException
organizationId - the organization idapplicationId - the application idversion - the versionStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.ServiceSummaryBean> getServicesInOrgs(Set<String> organizationIds) throws StorageException
organizationIds - the organization idsStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.ServiceSummaryBean> getServicesInOrg(String organizationId) throws StorageException
organizationId - the organization idStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.ServiceVersionSummaryBean> getServiceVersions(String organizationId, String serviceId) throws StorageException
organizationId - the organization idserviceId - the service idStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.ServicePlanSummaryBean> getServiceVersionPlans(String organizationId, String serviceId, String version) throws StorageException
organizationId - the organization idserviceId - the service idversion - the versionStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.PlanSummaryBean> getPlansInOrgs(Set<String> organizationIds) throws StorageException
organizationIds - the organization idsStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.PlanSummaryBean> getPlansInOrg(String organizationId) throws StorageException
organizationId - the organization idStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.PlanVersionSummaryBean> getPlanVersions(String organizationId, String planId) throws StorageException
organizationId - the organization idplanId - the plan idStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.PolicySummaryBean> getPolicies(String organizationId, String entityId, String version, io.apiman.manager.api.beans.policies.PolicyType type) throws StorageException
organizationId - the organization identityId - the entity idversion - the versiontype - the typeStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.PolicyDefinitionSummaryBean> listPolicyDefinitions() throws StorageException
StorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.ContractSummaryBean> getServiceContracts(String organizationId, String serviceId, String version, int page, int pageSize) throws StorageException
organizationId - the organization idserviceId - the service idversion - the versionpage - the pagepageSize - the paging sizeStorageException - if a storage problem occurs while storing a bean.int getMaxPolicyOrderIndex(String organizationId, String entityId, String entityVersion, io.apiman.manager.api.beans.policies.PolicyType type) throws StorageException
organizationId - the organization identityId - the entity identityVersion - the entity versiontype - the typeStorageException - if a storage problem occurs while storing a bean.List<io.apiman.manager.api.beans.summary.PolicyDefinitionSummaryBean> listPluginPolicyDefs(Long pluginId) throws StorageException
pluginId - the plugin idStorageException - if a storage problem occurs while storing a bean.Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.