public interface IStorage
| Modifier and Type | Method and Description |
|---|---|
void |
beginTx() |
void |
commitTx() |
void |
createApplication(io.apiman.manager.api.beans.apps.ApplicationBean application) |
void |
createApplicationVersion(io.apiman.manager.api.beans.apps.ApplicationVersionBean version) |
void |
createAuditEntry(io.apiman.manager.api.beans.audit.AuditEntryBean entry) |
void |
createContract(io.apiman.manager.api.beans.contracts.ContractBean contract) |
void |
createGateway(io.apiman.manager.api.beans.gateways.GatewayBean gateway) |
void |
createOrganization(io.apiman.manager.api.beans.orgs.OrganizationBean organization) |
void |
createPlan(io.apiman.manager.api.beans.plans.PlanBean plan) |
void |
createPlanVersion(io.apiman.manager.api.beans.plans.PlanVersionBean version) |
void |
createPlugin(io.apiman.manager.api.beans.plugins.PluginBean plugin) |
void |
createPolicy(io.apiman.manager.api.beans.policies.PolicyBean policy) |
void |
createPolicyDefinition(io.apiman.manager.api.beans.policies.PolicyDefinitionBean policyDef) |
void |
createService(io.apiman.manager.api.beans.services.ServiceBean service) |
void |
createServiceVersion(io.apiman.manager.api.beans.services.ServiceVersionBean version) |
void |
deleteApplication(io.apiman.manager.api.beans.apps.ApplicationBean application) |
void |
deleteApplicationVersion(io.apiman.manager.api.beans.apps.ApplicationVersionBean version) |
void |
deleteContract(io.apiman.manager.api.beans.contracts.ContractBean contract) |
void |
deleteGateway(io.apiman.manager.api.beans.gateways.GatewayBean gateway) |
void |
deleteOrganization(io.apiman.manager.api.beans.orgs.OrganizationBean organization) |
void |
deletePlan(io.apiman.manager.api.beans.plans.PlanBean plan) |
void |
deletePlanVersion(io.apiman.manager.api.beans.plans.PlanVersionBean version) |
void |
deletePlugin(io.apiman.manager.api.beans.plugins.PluginBean plugin) |
void |
deletePolicy(io.apiman.manager.api.beans.policies.PolicyBean policy) |
void |
deletePolicyDefinition(io.apiman.manager.api.beans.policies.PolicyDefinitionBean policyDef) |
void |
deleteService(io.apiman.manager.api.beans.services.ServiceBean service) |
void |
deleteServiceDefinition(io.apiman.manager.api.beans.services.ServiceVersionBean version) |
void |
deleteServiceVersion(io.apiman.manager.api.beans.services.ServiceVersionBean version) |
io.apiman.manager.api.beans.apps.ApplicationBean |
getApplication(String organizationId,
String id) |
io.apiman.manager.api.beans.apps.ApplicationVersionBean |
getApplicationVersion(String organizationId,
String applicationId,
String version) |
io.apiman.manager.api.beans.contracts.ContractBean |
getContract(Long id) |
io.apiman.manager.api.beans.gateways.GatewayBean |
getGateway(String id) |
io.apiman.manager.api.beans.orgs.OrganizationBean |
getOrganization(String id) |
io.apiman.manager.api.beans.plans.PlanBean |
getPlan(String organizationId,
String id) |
io.apiman.manager.api.beans.plans.PlanVersionBean |
getPlanVersion(String organizationId,
String planId,
String version) |
io.apiman.manager.api.beans.plugins.PluginBean |
getPlugin(long id) |
io.apiman.manager.api.beans.plugins.PluginBean |
getPlugin(String groupId,
String artifactId) |
io.apiman.manager.api.beans.policies.PolicyBean |
getPolicy(io.apiman.manager.api.beans.policies.PolicyType type,
String organizationId,
String entityId,
String version,
Long id) |
io.apiman.manager.api.beans.policies.PolicyDefinitionBean |
getPolicyDefinition(String id) |
io.apiman.manager.api.beans.services.ServiceBean |
getService(String organizationId,
String id) |
InputStream |
getServiceDefinition(io.apiman.manager.api.beans.services.ServiceVersionBean serviceVersion) |
io.apiman.manager.api.beans.services.ServiceVersionBean |
getServiceVersion(String organizationId,
String serviceId,
String version) |
void |
reorderPolicies(io.apiman.manager.api.beans.policies.PolicyType type,
String organizationId,
String entityId,
String entityVersion,
List<Long> newOrder) |
void |
rollbackTx() |
void |
updateApplication(io.apiman.manager.api.beans.apps.ApplicationBean application) |
void |
updateApplicationVersion(io.apiman.manager.api.beans.apps.ApplicationVersionBean version) |
void |
updateGateway(io.apiman.manager.api.beans.gateways.GatewayBean gateway) |
void |
updateOrganization(io.apiman.manager.api.beans.orgs.OrganizationBean organization) |
void |
updatePlan(io.apiman.manager.api.beans.plans.PlanBean plan) |
void |
updatePlanVersion(io.apiman.manager.api.beans.plans.PlanVersionBean version) |
void |
updatePolicy(io.apiman.manager.api.beans.policies.PolicyBean policy) |
void |
updatePolicyDefinition(io.apiman.manager.api.beans.policies.PolicyDefinitionBean policyDef) |
void |
updateService(io.apiman.manager.api.beans.services.ServiceBean service) |
void |
updateServiceDefinition(io.apiman.manager.api.beans.services.ServiceVersionBean version,
InputStream definitionStream) |
void |
updateServiceVersion(io.apiman.manager.api.beans.services.ServiceVersionBean version) |
void beginTx()
throws StorageException
StorageExceptionvoid commitTx()
throws StorageException
StorageExceptionvoid rollbackTx()
void createOrganization(io.apiman.manager.api.beans.orgs.OrganizationBean organization)
throws StorageException
StorageExceptionvoid createApplication(io.apiman.manager.api.beans.apps.ApplicationBean application)
throws StorageException
StorageExceptionvoid createApplicationVersion(io.apiman.manager.api.beans.apps.ApplicationVersionBean version)
throws StorageException
StorageExceptionvoid createContract(io.apiman.manager.api.beans.contracts.ContractBean contract)
throws StorageException
StorageExceptionvoid createService(io.apiman.manager.api.beans.services.ServiceBean service)
throws StorageException
StorageExceptionvoid createServiceVersion(io.apiman.manager.api.beans.services.ServiceVersionBean version)
throws StorageException
StorageExceptionvoid createPlan(io.apiman.manager.api.beans.plans.PlanBean plan)
throws StorageException
StorageExceptionvoid createPlanVersion(io.apiman.manager.api.beans.plans.PlanVersionBean version)
throws StorageException
StorageExceptionvoid createPolicy(io.apiman.manager.api.beans.policies.PolicyBean policy)
throws StorageException
StorageExceptionvoid createGateway(io.apiman.manager.api.beans.gateways.GatewayBean gateway)
throws StorageException
StorageExceptionvoid createPlugin(io.apiman.manager.api.beans.plugins.PluginBean plugin)
throws StorageException
StorageExceptionvoid createPolicyDefinition(io.apiman.manager.api.beans.policies.PolicyDefinitionBean policyDef)
throws StorageException
StorageExceptionvoid createAuditEntry(io.apiman.manager.api.beans.audit.AuditEntryBean entry)
throws StorageException
StorageExceptionvoid updateOrganization(io.apiman.manager.api.beans.orgs.OrganizationBean organization)
throws StorageException
StorageExceptionvoid updateApplication(io.apiman.manager.api.beans.apps.ApplicationBean application)
throws StorageException
StorageExceptionvoid updateApplicationVersion(io.apiman.manager.api.beans.apps.ApplicationVersionBean version)
throws StorageException
StorageExceptionvoid updateService(io.apiman.manager.api.beans.services.ServiceBean service)
throws StorageException
StorageExceptionvoid updateServiceVersion(io.apiman.manager.api.beans.services.ServiceVersionBean version)
throws StorageException
StorageExceptionvoid updateServiceDefinition(io.apiman.manager.api.beans.services.ServiceVersionBean version,
InputStream definitionStream)
throws StorageException
StorageExceptionvoid updatePlan(io.apiman.manager.api.beans.plans.PlanBean plan)
throws StorageException
StorageExceptionvoid updatePlanVersion(io.apiman.manager.api.beans.plans.PlanVersionBean version)
throws StorageException
StorageExceptionvoid updatePolicy(io.apiman.manager.api.beans.policies.PolicyBean policy)
throws StorageException
StorageExceptionvoid updateGateway(io.apiman.manager.api.beans.gateways.GatewayBean gateway)
throws StorageException
StorageExceptionvoid updatePolicyDefinition(io.apiman.manager.api.beans.policies.PolicyDefinitionBean policyDef)
throws StorageException
StorageExceptionvoid deleteOrganization(io.apiman.manager.api.beans.orgs.OrganizationBean organization)
throws StorageException
StorageExceptionvoid deleteApplication(io.apiman.manager.api.beans.apps.ApplicationBean application)
throws StorageException
StorageExceptionvoid deleteApplicationVersion(io.apiman.manager.api.beans.apps.ApplicationVersionBean version)
throws StorageException
StorageExceptionvoid deleteContract(io.apiman.manager.api.beans.contracts.ContractBean contract)
throws StorageException
StorageExceptionvoid deleteService(io.apiman.manager.api.beans.services.ServiceBean service)
throws StorageException
StorageExceptionvoid deleteServiceVersion(io.apiman.manager.api.beans.services.ServiceVersionBean version)
throws StorageException
StorageExceptionvoid deleteServiceDefinition(io.apiman.manager.api.beans.services.ServiceVersionBean version)
throws StorageException
StorageExceptionvoid deletePlan(io.apiman.manager.api.beans.plans.PlanBean plan)
throws StorageException
StorageExceptionvoid deletePlanVersion(io.apiman.manager.api.beans.plans.PlanVersionBean version)
throws StorageException
StorageExceptionvoid deletePolicy(io.apiman.manager.api.beans.policies.PolicyBean policy)
throws StorageException
StorageExceptionvoid deleteGateway(io.apiman.manager.api.beans.gateways.GatewayBean gateway)
throws StorageException
StorageExceptionvoid deletePlugin(io.apiman.manager.api.beans.plugins.PluginBean plugin)
throws StorageException
StorageExceptionvoid deletePolicyDefinition(io.apiman.manager.api.beans.policies.PolicyDefinitionBean policyDef)
throws StorageException
StorageExceptionio.apiman.manager.api.beans.orgs.OrganizationBean getOrganization(String id) throws StorageException
StorageExceptionio.apiman.manager.api.beans.apps.ApplicationBean getApplication(String organizationId, String id) throws StorageException
StorageExceptionio.apiman.manager.api.beans.apps.ApplicationVersionBean getApplicationVersion(String organizationId, String applicationId, String version) throws StorageException
StorageExceptionio.apiman.manager.api.beans.contracts.ContractBean getContract(Long id) throws StorageException
StorageExceptionio.apiman.manager.api.beans.services.ServiceBean getService(String organizationId, String id) throws StorageException
StorageExceptionio.apiman.manager.api.beans.services.ServiceVersionBean getServiceVersion(String organizationId, String serviceId, String version) throws StorageException
StorageExceptionInputStream getServiceDefinition(io.apiman.manager.api.beans.services.ServiceVersionBean serviceVersion) throws StorageException
StorageExceptionio.apiman.manager.api.beans.plans.PlanBean getPlan(String organizationId, String id) throws StorageException
StorageExceptionio.apiman.manager.api.beans.plans.PlanVersionBean getPlanVersion(String organizationId, String planId, String version) throws StorageException
StorageExceptionio.apiman.manager.api.beans.policies.PolicyBean getPolicy(io.apiman.manager.api.beans.policies.PolicyType type,
String organizationId,
String entityId,
String version,
Long id)
throws StorageException
StorageExceptionio.apiman.manager.api.beans.gateways.GatewayBean getGateway(String id) throws StorageException
StorageExceptionio.apiman.manager.api.beans.plugins.PluginBean getPlugin(long id)
throws StorageException
StorageExceptionio.apiman.manager.api.beans.plugins.PluginBean getPlugin(String groupId, String artifactId) throws StorageException
StorageExceptionio.apiman.manager.api.beans.policies.PolicyDefinitionBean getPolicyDefinition(String id) throws StorageException
StorageExceptionvoid reorderPolicies(io.apiman.manager.api.beans.policies.PolicyType type,
String organizationId,
String entityId,
String entityVersion,
List<Long> newOrder)
throws StorageException
StorageExceptionCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.