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 |
createDownload(io.apiman.manager.api.beans.download.DownloadBean download) |
void |
createGateway(io.apiman.manager.api.beans.gateways.GatewayBean gateway) |
void |
createMembership(io.apiman.manager.api.beans.idm.RoleMembershipBean membership) |
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 |
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 |
createUser(io.apiman.manager.api.beans.idm.UserBean user) |
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 |
deleteDownload(io.apiman.manager.api.beans.download.DownloadBean download) |
void |
deleteGateway(io.apiman.manager.api.beans.gateways.GatewayBean gateway) |
void |
deleteMembership(String userId,
String roleId,
String organizationId) |
void |
deleteMemberships(String userId,
String organizationId) |
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 |
deleteRole(io.apiman.manager.api.beans.idm.RoleBean role) |
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) |
Iterator<io.apiman.manager.api.beans.apps.ApplicationBean> |
getAllApplications(String organizationId) |
Iterator<io.apiman.manager.api.beans.apps.ApplicationVersionBean> |
getAllApplicationVersions(String organizationId,
String applicationId) |
Iterator<io.apiman.manager.api.beans.audit.AuditEntryBean> |
getAllAuditEntries(String organizationId) |
Iterator<io.apiman.manager.api.beans.contracts.ContractBean> |
getAllContracts(String organizationId,
String applicationId,
String version) |
Iterator<io.apiman.manager.api.beans.gateways.GatewayBean> |
getAllGateways() |
Iterator<io.apiman.manager.api.beans.idm.RoleMembershipBean> |
getAllMemberships(String organizationId) |
Iterator<io.apiman.manager.api.beans.orgs.OrganizationBean> |
getAllOrganizations() |
Iterator<io.apiman.manager.api.beans.plans.PlanBean> |
getAllPlans(String organizationId) |
Iterator<io.apiman.manager.api.beans.plans.PlanVersionBean> |
getAllPlanVersions(String organizationId,
String planId) |
Iterator<io.apiman.manager.api.beans.plugins.PluginBean> |
getAllPlugins() |
Iterator<io.apiman.manager.api.beans.policies.PolicyBean> |
getAllPolicies(String organizationId,
String entityId,
String version,
io.apiman.manager.api.beans.policies.PolicyType type) |
Iterator<io.apiman.manager.api.beans.policies.PolicyDefinitionBean> |
getAllPolicyDefinitions() |
Iterator<io.apiman.manager.api.beans.idm.RoleBean> |
getAllRoles() |
Iterator<io.apiman.manager.api.beans.services.ServiceBean> |
getAllServices(String organizationId) |
Iterator<io.apiman.manager.api.beans.services.ServiceVersionBean> |
getAllServiceVersions(String organizationId,
String serviceId) |
Iterator<io.apiman.manager.api.beans.idm.UserBean> |
getAllUsers() |
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.download.DownloadBean |
getDownload(String id) |
io.apiman.manager.api.beans.gateways.GatewayBean |
getGateway(String id) |
io.apiman.manager.api.beans.idm.RoleMembershipBean |
getMembership(String userId,
String roleId,
String organizationId) |
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.idm.RoleBean |
getRole(String roleId) |
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) |
io.apiman.manager.api.beans.idm.UserBean |
getUser(String userId) |
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 |
updatePlugin(io.apiman.manager.api.beans.plugins.PluginBean pluginBean) |
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 |
updateServiceDefinition(io.apiman.manager.api.beans.services.ServiceVersionBean version,
InputStream definitionStream) |
void |
updateServiceVersion(io.apiman.manager.api.beans.services.ServiceVersionBean version) |
void |
updateUser(io.apiman.manager.api.beans.idm.UserBean user) |
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 createDownload(io.apiman.manager.api.beans.download.DownloadBean download)
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 updatePlugin(io.apiman.manager.api.beans.plugins.PluginBean pluginBean)
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
StorageExceptionvoid deleteDownload(io.apiman.manager.api.beans.download.DownloadBean download)
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
StorageExceptionio.apiman.manager.api.beans.download.DownloadBean getDownload(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
StorageExceptionvoid createUser(io.apiman.manager.api.beans.idm.UserBean user)
throws StorageException
StorageExceptionio.apiman.manager.api.beans.idm.UserBean getUser(String userId) throws StorageException
StorageExceptionvoid updateUser(io.apiman.manager.api.beans.idm.UserBean user)
throws StorageException
StorageExceptionvoid createRole(io.apiman.manager.api.beans.idm.RoleBean role)
throws StorageException
StorageExceptionio.apiman.manager.api.beans.idm.RoleBean getRole(String roleId) throws StorageException
StorageExceptionvoid updateRole(io.apiman.manager.api.beans.idm.RoleBean role)
throws StorageException
StorageExceptionvoid deleteRole(io.apiman.manager.api.beans.idm.RoleBean role)
throws StorageException
StorageExceptionvoid createMembership(io.apiman.manager.api.beans.idm.RoleMembershipBean membership)
throws StorageException
StorageExceptionio.apiman.manager.api.beans.idm.RoleMembershipBean getMembership(String userId, String roleId, String organizationId) throws StorageException
StorageExceptionvoid deleteMembership(String userId, String roleId, String organizationId) throws StorageException
StorageExceptionvoid deleteMemberships(String userId, String organizationId) throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.gateways.GatewayBean> getAllGateways() throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.plugins.PluginBean> getAllPlugins() throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.policies.PolicyDefinitionBean> getAllPolicyDefinitions() throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.orgs.OrganizationBean> getAllOrganizations() throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.idm.RoleMembershipBean> getAllMemberships(String organizationId) throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.plans.PlanBean> getAllPlans(String organizationId) throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.plans.PlanVersionBean> getAllPlanVersions(String organizationId, String planId) throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.services.ServiceBean> getAllServices(String organizationId) throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.services.ServiceVersionBean> getAllServiceVersions(String organizationId, String serviceId) throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.apps.ApplicationBean> getAllApplications(String organizationId) throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.apps.ApplicationVersionBean> getAllApplicationVersions(String organizationId, String applicationId) throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.contracts.ContractBean> getAllContracts(String organizationId, String applicationId, String version) throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.audit.AuditEntryBean> getAllAuditEntries(String organizationId) throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.policies.PolicyBean> getAllPolicies(String organizationId, String entityId, String version, io.apiman.manager.api.beans.policies.PolicyType type) throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.idm.UserBean> getAllUsers() throws StorageException
StorageExceptionIterator<io.apiman.manager.api.beans.idm.RoleBean> getAllRoles() throws StorageException
StorageExceptionCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.