public class EsMarshalling extends Object
| Constructor and Description |
|---|
EsMarshalling() |
| Modifier and Type | Method and Description |
|---|---|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.apps.ApplicationBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.apps.ApplicationVersionBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.audit.AuditEntryBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.contracts.ContractBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.gateways.GatewayBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.orgs.OrganizationBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.plans.PlanBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.plans.PlanVersionBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.plugins.PluginBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(PoliciesBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.policies.PolicyDefinitionBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.idm.RoleBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.idm.RoleMembershipBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.services.ServiceBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(ServiceDefinitionBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.services.ServiceVersionBean bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.manager.api.beans.idm.UserBean bean)
Marshals the given bean into the given map.
|
static io.apiman.manager.api.beans.summary.ApiEntryBean |
unmarshallApiEntry(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.apps.ApplicationBean |
unmarshallApplication(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.summary.ApplicationSummaryBean |
unmarshallApplicationSummary(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.apps.ApplicationVersionBean |
unmarshallApplicationVersion(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.summary.ApplicationVersionSummaryBean |
unmarshallApplicationVersionSummary(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.audit.AuditEntryBean |
unmarshallAuditEntry(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.contracts.ContractBean |
unmarshallContract(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.summary.ContractSummaryBean |
unmarshallContractSummary(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.gateways.GatewayBean |
unmarshallGateway(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.summary.GatewaySummaryBean |
unmarshallGatewaySummary(Map<String,org.elasticsearch.search.SearchHitField> map)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.orgs.OrganizationBean |
unmarshallOrganization(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.summary.OrganizationSummaryBean |
unmarshallOrganizationSummary(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.plans.PlanBean |
unmarshallPlan(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.summary.PlanSummaryBean |
unmarshallPlanSummary(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.plans.PlanVersionBean |
unmarshallPlanVersion(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.summary.PlanVersionSummaryBean |
unmarshallPlanVersionSummary(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.plugins.PluginBean |
unmarshallPlugin(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.summary.PluginSummaryBean |
unmarshallPluginSummary(Map<String,org.elasticsearch.search.SearchHitField> map)
Unmarshals the given map source into a bean.
|
static PoliciesBean |
unmarshallPolicies(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.policies.PolicyDefinitionBean |
unmarshallPolicyDefinition(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.summary.PolicyDefinitionSummaryBean |
unmarshallPolicyDefinitionSummary(Map<String,org.elasticsearch.search.SearchHitField> map)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.idm.RoleBean |
unmarshallRole(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.idm.RoleMembershipBean |
unmarshallRoleMembership(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.services.ServiceBean |
unmarshallService(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static ServiceDefinitionBean |
unmarshallServiceDefinition(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.summary.ServiceSummaryBean |
unmarshallServiceSummary(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.services.ServiceVersionBean |
unmarshallServiceVersion(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.summary.ServiceVersionSummaryBean |
unmarshallServiceVersionSummary(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.manager.api.beans.idm.UserBean |
unmarshallUser(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
public static org.elasticsearch.common.xcontent.XContentBuilder marshall(PoliciesBean bean) throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.gateways.GatewayBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(ServiceDefinitionBean bean) throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.contracts.ContractBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.plans.PlanBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.plans.PlanVersionBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.services.ServiceBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.services.ServiceVersionBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.apps.ApplicationBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.apps.ApplicationVersionBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.audit.AuditEntryBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.orgs.OrganizationBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.idm.RoleMembershipBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.idm.UserBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.idm.RoleBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.policies.PolicyDefinitionBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.manager.api.beans.plugins.PluginBean bean)
throws io.apiman.manager.api.core.exceptions.StorageException
bean - the beanio.apiman.manager.api.core.exceptions.StorageException - when a storage problem occurs while storing a beanpublic static PoliciesBean unmarshallPolicies(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.gateways.GatewayBean unmarshallGateway(Map<String,Object> source)
source - the sourcepublic static ServiceDefinitionBean unmarshallServiceDefinition(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.contracts.ContractBean unmarshallContract(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.summary.ContractSummaryBean unmarshallContractSummary(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.summary.ApiEntryBean unmarshallApiEntry(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.plans.PlanBean unmarshallPlan(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.summary.PlanSummaryBean unmarshallPlanSummary(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.plans.PlanVersionBean unmarshallPlanVersion(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.summary.PlanVersionSummaryBean unmarshallPlanVersionSummary(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.services.ServiceBean unmarshallService(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.summary.ServiceSummaryBean unmarshallServiceSummary(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.services.ServiceVersionBean unmarshallServiceVersion(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.summary.ServiceVersionSummaryBean unmarshallServiceVersionSummary(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.apps.ApplicationBean unmarshallApplication(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.summary.ApplicationSummaryBean unmarshallApplicationSummary(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.apps.ApplicationVersionBean unmarshallApplicationVersion(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.summary.ApplicationVersionSummaryBean unmarshallApplicationVersionSummary(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.idm.RoleBean unmarshallRole(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.idm.UserBean unmarshallUser(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.orgs.OrganizationBean unmarshallOrganization(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.summary.OrganizationSummaryBean unmarshallOrganizationSummary(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.idm.RoleMembershipBean unmarshallRoleMembership(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.audit.AuditEntryBean unmarshallAuditEntry(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.summary.GatewaySummaryBean unmarshallGatewaySummary(Map<String,org.elasticsearch.search.SearchHitField> map)
map - the search hit mappublic static io.apiman.manager.api.beans.policies.PolicyDefinitionBean unmarshallPolicyDefinition(Map<String,Object> source)
source - the sourcepublic static io.apiman.manager.api.beans.summary.PolicyDefinitionSummaryBean unmarshallPolicyDefinitionSummary(Map<String,org.elasticsearch.search.SearchHitField> map)
map - the search mappublic static io.apiman.manager.api.beans.plugins.PluginBean unmarshallPlugin(Map<String,Object> source)
source - the sourceCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.