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 |
createPolicy(io.apiman.manager.api.beans.policies.PolicyBean policy) |
void |
createPolicyDefinition(io.apiman.manager.api.beans.policies.PolicyDefinitionBean policyDef) |
void |
createRole(io.apiman.manager.api.beans.idm.RoleBean role) |
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 |
deletePolicy(io.apiman.manager.api.beans.policies.PolicyBean policy) |
void |
deletePolicyDefinition(io.apiman.manager.api.beans.policies.PolicyDefinitionBean policyDef) |
void |
deleteRole(io.apiman.manager.api.beans.idm.RoleBean role) |
void |
deleteService(io.apiman.manager.api.beans.services.ServiceBean service) |
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 applicationId,
String version) |
io.apiman.manager.api.beans.policies.PolicyBean |
getPolicy(Long id) |
io.apiman.manager.api.beans.policies.PolicyDefinitionBean |
getPolicyDefinition(String id) |
io.apiman.manager.api.beans.idm.RoleBean |
getRole(String id) |
io.apiman.manager.api.beans.services.ServiceBean |
getService(String organizationId,
String id) |
io.apiman.manager.api.beans.services.ServiceVersionBean |
getServiceVersion(String organizationId,
String applicationId,
String version) |
void |
rollbackTx() |
void |
updateApplication(io.apiman.manager.api.beans.apps.ApplicationBean application) |
void |
updateApplicationVersion(io.apiman.manager.api.beans.apps.ApplicationVersionBean version) |
void |
updateContract(io.apiman.manager.api.beans.contracts.ContractBean contract) |
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 |
updateRole(io.apiman.manager.api.beans.idm.RoleBean role) |
void |
updateService(io.apiman.manager.api.beans.services.ServiceBean service) |
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,
AlreadyExistsException
void createApplication(io.apiman.manager.api.beans.apps.ApplicationBean application)
throws StorageException,
AlreadyExistsException
void createApplicationVersion(io.apiman.manager.api.beans.apps.ApplicationVersionBean version)
throws StorageException,
AlreadyExistsException
void createContract(io.apiman.manager.api.beans.contracts.ContractBean contract)
throws StorageException,
AlreadyExistsException
void createService(io.apiman.manager.api.beans.services.ServiceBean service)
throws StorageException,
AlreadyExistsException
void createServiceVersion(io.apiman.manager.api.beans.services.ServiceVersionBean version)
throws StorageException,
AlreadyExistsException
void createPlan(io.apiman.manager.api.beans.plans.PlanBean plan)
throws StorageException,
AlreadyExistsException
void createPlanVersion(io.apiman.manager.api.beans.plans.PlanVersionBean version)
throws StorageException,
AlreadyExistsException
void createPolicy(io.apiman.manager.api.beans.policies.PolicyBean policy)
throws StorageException,
AlreadyExistsException
void createGateway(io.apiman.manager.api.beans.gateways.GatewayBean gateway)
throws StorageException,
AlreadyExistsException
void createPolicyDefinition(io.apiman.manager.api.beans.policies.PolicyDefinitionBean policyDef)
throws StorageException,
AlreadyExistsException
void createRole(io.apiman.manager.api.beans.idm.RoleBean role)
throws StorageException,
AlreadyExistsException
void createAuditEntry(io.apiman.manager.api.beans.audit.AuditEntryBean entry)
throws StorageException
StorageExceptionvoid updateOrganization(io.apiman.manager.api.beans.orgs.OrganizationBean organization)
throws StorageException,
DoesNotExistException
void updateApplication(io.apiman.manager.api.beans.apps.ApplicationBean application)
throws StorageException,
DoesNotExistException
void updateApplicationVersion(io.apiman.manager.api.beans.apps.ApplicationVersionBean version)
throws StorageException,
DoesNotExistException
void updateContract(io.apiman.manager.api.beans.contracts.ContractBean contract)
throws StorageException,
DoesNotExistException
void updateService(io.apiman.manager.api.beans.services.ServiceBean service)
throws StorageException,
DoesNotExistException
void updateServiceVersion(io.apiman.manager.api.beans.services.ServiceVersionBean version)
throws StorageException,
DoesNotExistException
void updatePlan(io.apiman.manager.api.beans.plans.PlanBean plan)
throws StorageException,
DoesNotExistException
void updatePlanVersion(io.apiman.manager.api.beans.plans.PlanVersionBean version)
throws StorageException,
DoesNotExistException
void updatePolicy(io.apiman.manager.api.beans.policies.PolicyBean policy)
throws StorageException,
DoesNotExistException
void updateGateway(io.apiman.manager.api.beans.gateways.GatewayBean gateway)
throws StorageException,
DoesNotExistException
void updatePolicyDefinition(io.apiman.manager.api.beans.policies.PolicyDefinitionBean policyDef)
throws StorageException,
DoesNotExistException
void updateRole(io.apiman.manager.api.beans.idm.RoleBean role)
throws StorageException,
DoesNotExistException
void deleteOrganization(io.apiman.manager.api.beans.orgs.OrganizationBean organization)
throws StorageException,
DoesNotExistException
void deleteApplication(io.apiman.manager.api.beans.apps.ApplicationBean application)
throws StorageException,
DoesNotExistException
void deleteApplicationVersion(io.apiman.manager.api.beans.apps.ApplicationVersionBean version)
throws StorageException,
DoesNotExistException
void deleteContract(io.apiman.manager.api.beans.contracts.ContractBean contract)
throws StorageException,
DoesNotExistException
void deleteService(io.apiman.manager.api.beans.services.ServiceBean service)
throws StorageException,
DoesNotExistException
void deleteServiceVersion(io.apiman.manager.api.beans.services.ServiceVersionBean version)
throws StorageException,
DoesNotExistException
void deletePlan(io.apiman.manager.api.beans.plans.PlanBean plan)
throws StorageException,
DoesNotExistException
void deletePlanVersion(io.apiman.manager.api.beans.plans.PlanVersionBean version)
throws StorageException,
DoesNotExistException
void deletePolicy(io.apiman.manager.api.beans.policies.PolicyBean policy)
throws StorageException,
DoesNotExistException
void deleteGateway(io.apiman.manager.api.beans.gateways.GatewayBean gateway)
throws StorageException,
DoesNotExistException
void deletePolicyDefinition(io.apiman.manager.api.beans.policies.PolicyDefinitionBean policyDef)
throws StorageException,
DoesNotExistException
void deleteRole(io.apiman.manager.api.beans.idm.RoleBean role)
throws StorageException,
DoesNotExistException
io.apiman.manager.api.beans.orgs.OrganizationBean getOrganization(String id) throws StorageException, DoesNotExistException
io.apiman.manager.api.beans.apps.ApplicationBean getApplication(String organizationId, String id) throws StorageException, DoesNotExistException
io.apiman.manager.api.beans.apps.ApplicationVersionBean getApplicationVersion(String organizationId, String applicationId, String version) throws StorageException, DoesNotExistException
io.apiman.manager.api.beans.contracts.ContractBean getContract(Long id) throws StorageException, DoesNotExistException
io.apiman.manager.api.beans.services.ServiceBean getService(String organizationId, String id) throws StorageException, DoesNotExistException
io.apiman.manager.api.beans.services.ServiceVersionBean getServiceVersion(String organizationId, String applicationId, String version) throws StorageException, DoesNotExistException
io.apiman.manager.api.beans.plans.PlanBean getPlan(String organizationId, String id) throws StorageException, DoesNotExistException
io.apiman.manager.api.beans.plans.PlanVersionBean getPlanVersion(String organizationId, String applicationId, String version) throws StorageException, DoesNotExistException
io.apiman.manager.api.beans.policies.PolicyBean getPolicy(Long id) throws StorageException, DoesNotExistException
io.apiman.manager.api.beans.gateways.GatewayBean getGateway(String id) throws StorageException, DoesNotExistException
io.apiman.manager.api.beans.policies.PolicyDefinitionBean getPolicyDefinition(String id) throws StorageException, DoesNotExistException
io.apiman.manager.api.beans.idm.RoleBean getRole(String id) throws StorageException, DoesNotExistException
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.