Package com.priint.pubserver.entity
Class ContextDefinition
java.lang.Object
com.priint.pubserver.entity.ContextDefinition
- All Implemented Interfaces:
Serializable
Context definition describes the context criteria associated with an entity.
The list of criteria within a context is fixed.
- Since:
- 4.0.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumList of context criteria that can used in publishing server.static enumType of context definition. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets assortment.Gets assortment matching method.Gets assortment type.getBrand()Deprecated.since 4.1.6 Please do not use this.Deprecated.since 4.1.6 Please do not use this.Gets brand type.Gets country.Gets country matching method.Gets country type.Gets document id.Gets document id matching method.Gets document id type.Gets entity id.Gets language.Gets language matching method.Gets language type.Gets market.Gets market matching method.Gets market type.Deprecated.since 4.1.6 Please do not use this.Deprecated.since 4.1.6 Please do not use this.Gets publication.Gets publication matching method.Gets publication type.Gets static assortment.Deprecated.since 4.1.6 Please do not use this.Gets static country.Gets static document id.Gets static language.Gets static market.Deprecated.since 4.1.6 Please do not use this.Gets static publication.Gets static target group.Gets static well.Gets target group.Gets target group matching method.Gets target group type.getWell()Gets well.Gets well matching method.Gets well type.booleanIs use assortment matching method boolean.booleanDeprecated.since 4.1.6 Please do not use this.booleanIs use country matching method boolean.booleanIs use document id matching method boolean.booleanIs use language matching method boolean.booleanIs use market matching method boolean.booleanDeprecated.since 4.1.6 Please do not use this.booleanIs use publication matching method boolean.booleanIs use target group matching method boolean.booleanIs use well matching method boolean.voidsetAssortment(String value) Sets assortment.voidsetAssortmentMatchingMethod(String assortmentMatchingMethod) Sets assortment matching method.voidDeprecated.since 4.1.6 Please do not use this.voidsetBrandMatchingMethod(String brandMatchingMethod) Deprecated.since 4.1.6 Please do not use this.voidsetContextDefinition(ContextDefinition.Criteria contextCriteria, ContextDefinition.DefinitionType contextDefinition, String staticValue, String machingMethodName) Defines a context criteria on this context definition.voidsetCountry(String value) Sets country.voidsetCountryMatchingMethod(String countryMatchingMethod) Sets country matching method.voidsetDocumentId(String value) Sets document id.voidsetDocumentIdMatchingMethod(String documentIdMatchingMethod) Sets document id matching method.voidsetEntityId(String entityId) Sets entity id.voidsetLanguage(String type) Sets language.voidsetLanguageMatchingMethod(String languageMatchingMethod) Sets language matching method.voidSets market.voidsetMarketMatchingMethod(String marketMatchingMethod) Sets market matching method.voidsetOrganization(String value) Deprecated.since 4.1.6 Please do not use this.voidsetOrganizationMatchingMethod(String organizationMatchingMethod) Deprecated.since 4.1.6 Please do not use this.voidsetPublication(String value) Sets publication.voidsetPublicationMatchingMethod(String publicationMatchingMethod) Sets publication matching method.voidsetStaticAssortment(String staticAssortment) Sets static assortment.voidsetStaticBrand(String staticBrand) Deprecated.since 4.1.6 Please do not use this.voidsetStaticCountry(String staticCountry) Sets static country.voidsetStaticDocumentId(String staticDocumentId) Sets static document id.voidsetStaticLanguage(String staticLanguage) Sets static language.voidsetStaticMarket(String staticMarket) Sets static market.voidsetStaticOrganization(String staticOrganization) Deprecated.since 4.1.6 Please do not use this.voidsetStaticPublication(String staticPublication) Sets static publication.voidsetStaticTargetGroup(String staticTargetGroup) Sets static target group.voidsetStaticWell(String staticWell) Sets static well.voidsetTargetGroup(String value) Sets target group.voidsetTargetGroupMatchingMethod(String targetGroupMatchingMethod) Sets target group matching method.voidsetUseAssortmentMatchingMethod(boolean useAssortmentMatchingMethod) Sets use assortment matching method.voidsetUseBrandMatchingMethod(boolean useBrandMatchingMethod) Deprecated.since 4.1.6 Please do not use this.voidsetUseCountryMatchingMethod(boolean useCountryMatchingMethod) Sets use country matching method.voidsetUseDocumentIdMatchingMethod(boolean useDocumentIdMatchingMethod) Sets use document id matching method.voidsetUseLanguageMatchingMethod(boolean useLanguageMatchingMethod) Sets use language matching method.voidsetUseMarketMatchingMethod(boolean useMarketMatchingMethod) Sets use market matching method.voidsetUseOrganizationMatchingMethod(boolean useOrganizationMatchingMethod) Deprecated.since 4.1.6 Please do not use this.voidsetUsePublicationMatchingMethod(boolean usePublicationMatchingMethod) Sets use publication matching method.voidsetUseTargetGroupMatchingMethod(boolean useTargetGroupMatchingMethod) Sets use target group matching method.voidsetUseWellMatchingMethod(boolean useWellMatchingMethod) Sets use well matching method.voidSets well.voidsetWellMatchingMethod(String wellMatchingMethod) Sets well matching method.
-
Constructor Details
-
ContextDefinition
public ContextDefinition()
-
-
Method Details
-
setContextDefinition
public void setContextDefinition(ContextDefinition.Criteria contextCriteria, ContextDefinition.DefinitionType contextDefinition, String staticValue, String machingMethodName) Defines a context criteria on this context definition.- Parameters:
contextCriteria- the context criteriacontextDefinition- the context definitionstaticValue- the static valuemachingMethodName- the maching method name
-
getEntityId
Gets entity id.- Returns:
- entityId String
-
setEntityId
Sets entity id.- Parameters:
entityId- String
-
getWell
Gets well.- Returns:
- well.getType()
ContextDefinition.DefinitionType.getType()String
-
setWell
Sets well.- Parameters:
value- String
-
getStaticWell
Gets static well.- Returns:
- staticWell String
-
setStaticWell
Sets static well.- Parameters:
staticWell- String
-
isUseWellMatchingMethod
public boolean isUseWellMatchingMethod()Is use well matching method boolean.- Returns:
- useWellMatchingMethod boolean
-
setUseWellMatchingMethod
public void setUseWellMatchingMethod(boolean useWellMatchingMethod) Sets use well matching method.- Parameters:
useWellMatchingMethod- boolean
-
getWellMatchingMethod
Gets well matching method.- Returns:
- wellMatchingMethod String
-
setWellMatchingMethod
Sets well matching method.- Parameters:
wellMatchingMethod- String
-
getAssortment
Gets assortment.- Returns:
- assortment.getType()
ContextDefinition.DefinitionType.getType()String
-
setAssortment
Sets assortment.- Parameters:
value- String
-
getStaticAssortment
Gets static assortment.- Returns:
- staticAssortment String
-
setStaticAssortment
Sets static assortment.- Parameters:
staticAssortment- String
-
isUseAssortmentMatchingMethod
public boolean isUseAssortmentMatchingMethod()Is use assortment matching method boolean.- Returns:
- useAssortmentMatchingMethod boolean
-
setUseAssortmentMatchingMethod
public void setUseAssortmentMatchingMethod(boolean useAssortmentMatchingMethod) Sets use assortment matching method.- Parameters:
useAssortmentMatchingMethod- boolean
-
getAssortmentMatchingMethod
Gets assortment matching method.- Returns:
- assortmentMatchingMethod String
-
setAssortmentMatchingMethod
Sets assortment matching method.- Parameters:
assortmentMatchingMethod- String
-
getCountry
Gets country.- Returns:
- country.getType()
ContextDefinition.DefinitionType.getType()String
-
setCountry
Sets country.- Parameters:
value- String
-
getStaticCountry
Gets static country.- Returns:
- staticCountry String
-
setStaticCountry
Sets static country.- Parameters:
staticCountry- String
-
isUseCountryMatchingMethod
public boolean isUseCountryMatchingMethod()Is use country matching method boolean.- Returns:
- useCountryMatchingMethod boolean
-
setUseCountryMatchingMethod
public void setUseCountryMatchingMethod(boolean useCountryMatchingMethod) Sets use country matching method.- Parameters:
useCountryMatchingMethod- boolean
-
getCountryMatchingMethod
Gets country matching method.- Returns:
- countryMatchingMethod String
-
setCountryMatchingMethod
Sets country matching method.- Parameters:
countryMatchingMethod- String
-
getLanguage
Gets language.- Returns:
- language.getType()
ContextDefinition.DefinitionType.getType()String
-
setLanguage
Sets language.- Parameters:
type- String
-
getStaticLanguage
Gets static language.- Returns:
- staticLanguage String
-
setStaticLanguage
Sets static language.- Parameters:
staticLanguage- String
-
isUseLanguageMatchingMethod
public boolean isUseLanguageMatchingMethod()Is use language matching method boolean.- Returns:
- useLanguageMatchingMethod boolean
-
setUseLanguageMatchingMethod
public void setUseLanguageMatchingMethod(boolean useLanguageMatchingMethod) Sets use language matching method.- Parameters:
useLanguageMatchingMethod- boolean
-
getLanguageMatchingMethod
Gets language matching method.- Returns:
- languageMatchingMethod String
-
setLanguageMatchingMethod
Sets language matching method.- Parameters:
languageMatchingMethod- String
-
getBrand
Deprecated.since 4.1.6 Please do not use this.Gets brand.- Returns:
- brand.getType()
ContextDefinition.DefinitionType.getType()String
-
setBrand
Deprecated.since 4.1.6 Please do not use this.Sets brand.- Parameters:
value- String
-
getStaticBrand
Deprecated.since 4.1.6 Please do not use this.Gets static brand.- Returns:
- staticBrand String
-
setStaticBrand
Deprecated.since 4.1.6 Please do not use this.Sets static brand.- Parameters:
staticBrand- String
-
isUseBrandMatchingMethod
Deprecated.since 4.1.6 Please do not use this.Is use brand matching method boolean.- Returns:
- useBrandMatchingMethod boolean
-
setUseBrandMatchingMethod
Deprecated.since 4.1.6 Please do not use this.Sets use brand matching method.- Parameters:
useBrandMatchingMethod- boolean
-
getBrandMatchingMethod
Deprecated.since 4.1.6 Please do not use this.Gets brand matching method.- Returns:
- brandMatchingMethod String
-
setBrandMatchingMethod
Deprecated.since 4.1.6 Please do not use this.Sets brand matching method.- Parameters:
brandMatchingMethod- String
-
getOrganization
Deprecated.since 4.1.6 Please do not use this.Gets organization.- Returns:
- organization.getType()
ContextDefinition.DefinitionType.getType()String
-
setOrganization
Deprecated.since 4.1.6 Please do not use this.Sets organization.- Parameters:
value- String
-
getStaticOrganization
Deprecated.since 4.1.6 Please do not use this.Gets static organization.- Returns:
- staticOrganization String
-
setStaticOrganization
Deprecated.since 4.1.6 Please do not use this.Sets static organization.- Parameters:
staticOrganization- String
-
isUseOrganizationMatchingMethod
Deprecated.since 4.1.6 Please do not use this.Is use organization matching method boolean.- Returns:
- useOrganizationMatchingMethod boolean
-
setUseOrganizationMatchingMethod
Deprecated.since 4.1.6 Please do not use this.Sets use organization matching method.- Parameters:
useOrganizationMatchingMethod- boolean
-
getOrganizationMatchingMethod
Deprecated.since 4.1.6 Please do not use this.Gets organization matching method.- Returns:
- organizationMatchingMethod organization matching method
-
setOrganizationMatchingMethod
Deprecated.since 4.1.6 Please do not use this.Sets organization matching method.- Parameters:
organizationMatchingMethod- String
-
getMarket
Gets market.- Returns:
- the market
-
setMarket
Sets market.- Parameters:
value- String
-
getStaticMarket
Gets static market.- Returns:
- staticMarket String
-
setStaticMarket
Sets static market.- Parameters:
staticMarket- String
-
isUseMarketMatchingMethod
public boolean isUseMarketMatchingMethod()Is use market matching method boolean.- Returns:
- useMarketMatchingMethod boolean
-
setUseMarketMatchingMethod
public void setUseMarketMatchingMethod(boolean useMarketMatchingMethod) Sets use market matching method.- Parameters:
useMarketMatchingMethod- boolean
-
getMarketMatchingMethod
Gets market matching method.- Returns:
- marketMatchingMethod String
-
setMarketMatchingMethod
Sets market matching method.- Parameters:
marketMatchingMethod- String
-
getDocumentId
Gets document id.- Returns:
- documentId.getType()
ContextDefinition.DefinitionType.getType()String
-
setDocumentId
Sets document id.- Parameters:
value- String
-
getStaticDocumentId
Gets static document id.- Returns:
- staticDocumentId String
-
setStaticDocumentId
Sets static document id.- Parameters:
staticDocumentId- String
-
isUseDocumentIdMatchingMethod
public boolean isUseDocumentIdMatchingMethod()Is use document id matching method boolean.- Returns:
- useDocumentIdMatchingMethod boolean
-
setUseDocumentIdMatchingMethod
public void setUseDocumentIdMatchingMethod(boolean useDocumentIdMatchingMethod) Sets use document id matching method.- Parameters:
useDocumentIdMatchingMethod- boolean
-
getDocumentIdMatchingMethod
Gets document id matching method.- Returns:
- documentIdMatchingMethod String
-
setDocumentIdMatchingMethod
Sets document id matching method.- Parameters:
documentIdMatchingMethod- String
-
getPublication
Gets publication.- Returns:
- publication.getType()
ContextDefinition.DefinitionType.getType()String
-
setPublication
Sets publication.- Parameters:
value- String
-
getStaticPublication
Gets static publication.- Returns:
- staticPublication String
-
setStaticPublication
Sets static publication.- Parameters:
staticPublication- the static publication
-
isUsePublicationMatchingMethod
public boolean isUsePublicationMatchingMethod()Is use publication matching method boolean.- Returns:
- usePublicationMatchingMethod boolean
-
setUsePublicationMatchingMethod
public void setUsePublicationMatchingMethod(boolean usePublicationMatchingMethod) Sets use publication matching method.- Parameters:
usePublicationMatchingMethod- boolean
-
getPublicationMatchingMethod
Gets publication matching method.- Returns:
- publicationMatchingMethod String
-
setPublicationMatchingMethod
Sets publication matching method.- Parameters:
publicationMatchingMethod- String
-
getTargetGroup
Gets target group.- Returns:
- targetGroup.getType()
ContextDefinition.DefinitionType.getType()String
-
setTargetGroup
Sets target group.- Parameters:
value- String
-
getStaticTargetGroup
Gets static target group.- Returns:
- staticTargetGroup String
-
setStaticTargetGroup
Sets static target group.- Parameters:
staticTargetGroup- String
-
isUseTargetGroupMatchingMethod
public boolean isUseTargetGroupMatchingMethod()Is use target group matching method boolean.- Returns:
- useTargetGroupMatchingMethod boolean
-
setUseTargetGroupMatchingMethod
public void setUseTargetGroupMatchingMethod(boolean useTargetGroupMatchingMethod) Sets use target group matching method.- Parameters:
useTargetGroupMatchingMethod- boolean
-
getTargetGroupMatchingMethod
Gets target group matching method.- Returns:
- targetGroupMatchingMethod
-
setTargetGroupMatchingMethod
Sets target group matching method.- Parameters:
targetGroupMatchingMethod- String
-
getAssortmentType
Gets assortment type.- Returns:
- the assortment type
-
getBrandType
Gets brand type.- Returns:
- the brand type
-
getCountryType
Gets country type.- Returns:
- the country type
-
getDocumentIdType
Gets document id type.- Returns:
- the document id type
-
getLanguageType
Gets language type.- Returns:
- the language type
-
getMarketType
Gets market type.- Returns:
- the market type
-
getPublicationType
Gets publication type.- Returns:
- the publication type
-
getTargetGroupType
Gets target group type.- Returns:
- the target group type
-
getWellType
Gets well type.- Returns:
- the well type
-