Class CometPlaceholder
- java.lang.Object
-
- com.priint.pubserver.tagging.TaggingObject
-
- com.priint.pubserver.comet.entity.CometEntity
-
- com.priint.pubserver.comet.entity.placeholder.CometPlaceholder
-
- All Implemented Interfaces:
CometContextRuleConfiguration,CometDataProviderLink,java.io.Serializable
@CometTypeConstraints(referenceBinding=TIGHT, hasEmbeddedEntities=true) public class CometPlaceholder extends CometEntity implements CometDataProviderLink, CometContextRuleConfiguration
Java class for the Placeholder configuration type
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCometPlaceholder.DataProviderThe type Data provider.static classCometPlaceholder.LoadConstraintThe enum Load constraint.static classCometPlaceholder.PlaceholderContentQuoteStyleThe enum Placeholder content quote style.static classCometPlaceholder.PlaceholderContentTagThe enum Placeholder content tag.static classCometPlaceholder.PlaceholderTypeThe enum Placeholder type.-
Nested classes/interfaces inherited from class com.priint.pubserver.comet.entity.CometEntity
CometEntity.Category
-
Nested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEMPTY_TAGThe constant EMPTY_TAG.-
Fields inherited from class com.priint.pubserver.comet.entity.CometEntity
id, TAG_DOMAIN_QUALIFIER, TAG_GROUP_QUALIFIER, TAG_TYPE_QUALIFIER
-
Fields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet
-
-
Constructor Summary
Constructors Constructor Description CometPlaceholder()Instantiates a new Comet placeholder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanUseProjectDefault()Can use project default boolean.java.lang.BooleangetActive()Gets active.java.lang.BooleangetAutoSync()Gets auto sync.CometEntity.CategorygetCategory()Gets category.java.lang.IntegergetColorId()Gets color id.CometPlaceholderCompareScriptgetCompareScript()Gets compare script.java.lang.IntegergetCompareScriptId()Gets compare script id.PluginMethodgetContextRuleAssortment()Gets context rule assortment.PluginMethodgetContextRuleCountry()Gets context rule country.PluginMethodgetContextRuleDocument()Gets context rule document.PluginMethodgetContextRuleLanguage()Gets context rule language.PluginMethodgetContextRuleMarketName()Gets context rule market name.PluginMethodgetContextRulePublication()Gets context rule publication.PluginMethodgetContextRuleTargetGroup()Gets context rule target group.PluginMethodgetContextRuleWell()Gets context rule well.java.util.List<PluginMethod>getDataProcessingLoad()Gets data processing load.java.util.List<PluginMethod>getDataProcessingStore()Gets data processing store.CometPlaceholder.DataProvidergetDataProvider()Gets data provider.java.lang.StringgetDescription()Gets description.Entity.DataClassgetEntityClass()Gets entity class.java.lang.StringgetEntityId()Gets entity id.java.lang.StringgetLabel()Gets label.CometPlaceholder.LoadConstraintgetLoadConstraint()Gets load constraint.java.lang.IntegergetLoadId()Gets load id.java.lang.StringgetLoadMethod()Gets load method.CometPlaceholder.PlaceholderContentQuoteStylegetPlaceholderContentQuoteStyle()Gets placeholder content quote style.CometPlaceholder.PlaceholderContentTaggetPlaceholderContentTag()Gets placeholder content tag.java.lang.StringgetPlaceholderLabel()Gets placeholder label.java.lang.StringgetPostfix()Gets postfix.java.lang.StringgetPostfixIfEmpty()Gets postfix if empty.java.lang.StringgetPrefix()Gets prefix.java.lang.StringgetPrefixIfEmpty()Gets prefix if empty.java.lang.StringgetRepositoryFilename()Gets the repository filename for this particular itemjava.lang.StringgetRepositoryPath()Get the relative repository path for this configuration type.java.lang.BooleangetStoreAllowed()Gets store allowed.java.lang.IntegergetStoreId()Gets store id.java.lang.BooleangetStoreImagePlacement()Gets store image placement.java.lang.StringgetStoreMethod()Gets store method.java.lang.IntegergetSyncId()Gets sync id.java.lang.StringgetSyncMethod()Gets sync method.java.lang.BooleangetSyncStateVisible()Gets sync state visible.java.lang.StringgetTag()Gets tag.CometPlaceholder.PlaceholderTypegetType()Gets type.java.lang.BooleangetUseParent()Gets use parent.booleangetUseProjectDefault()Gets use project default.java.lang.StringprocessPlaceholderContentTag()Process placeholder content tag string.voidsetActive(java.lang.Boolean active)Sets active.voidsetAutoSync(java.lang.Boolean autoSync)Sets auto sync.voidsetCategory(CometEntity.Category category)Sets category.voidsetColorId(java.lang.Integer colorId)Sets color id.voidsetCompareScript(CometPlaceholderCompareScript compareScript)Sets compare script.voidsetCompareScriptId(java.lang.Integer compareScriptId)Sets compare script id.voidsetContextRuleAssortment(PluginMethod contextRuleAssortment)Sets context rule assortment.voidsetContextRuleCountry(PluginMethod contextRuleCountry)Sets context rule country.voidsetContextRuleDocument(PluginMethod contextRuleDocument)Sets context rule document.voidsetContextRuleLanguage(PluginMethod contextRuleLanguage)Sets context rule language.voidsetContextRuleMarketName(PluginMethod contextRuleMarketName)Sets context rule market name.voidsetContextRulePublication(PluginMethod contextRulePublication)Sets context rule publication.voidsetContextRuleTargetGroup(PluginMethod contextRuleTargetGroup)Sets context rule target group.voidsetContextRuleWell(PluginMethod contextRuleWell)Sets context rule well.voidsetDataProcessingLoad(java.util.List<PluginMethod> dataProcessingLoad)Sets data processing load.voidsetDataProcessingStore(java.util.List<PluginMethod> dataProcessingStore)Sets data processing store.voidsetDataProvider(CometPlaceholder.DataProvider dataProvider)Sets data provider.voidsetDescription(java.lang.String description)Sets description.voidsetEntityClass(Entity.DataClass entityClass)Sets entity class.voidsetEntityId(java.lang.String entityId)Sets entity id.voidsetLabel(java.lang.String label)Sets label.voidsetLoadConstraint(CometPlaceholder.LoadConstraint loadConstraint)Sets load constraint.voidsetLoadId(java.lang.Integer loadId)Sets load id.voidsetLoadMethod(java.lang.String loadMethod)Sets load method.voidsetPlaceholderContentQuoteStyle(CometPlaceholder.PlaceholderContentQuoteStyle placeholderContentQuoteStyle)Sets placeholder content quote style.voidsetPlaceholderContentTag(CometPlaceholder.PlaceholderContentTag placeholderContentTag)Sets placeholder content tag.voidsetPostfix(java.lang.String postfix)Sets postfix.voidsetPostfixIfEmpty(java.lang.String postfixIfEmpty)Sets postfix if empty.voidsetPrefix(java.lang.String prefix)Sets prefix.voidsetPrefixIfEmpty(java.lang.String prefixIfEmpty)Sets prefix if empty.voidsetStoreAllowed(java.lang.Boolean storeAllowed)Sets store allowed.voidsetStoreId(java.lang.Integer storeId)Sets store id.voidsetStoreImagePlacement(java.lang.Boolean storeImagePlacement)Sets store image placement.voidsetStoreMethod(java.lang.String storeMethod)Sets store method.voidsetSyncId(java.lang.Integer syncId)Sets sync id.voidsetSyncMethod(java.lang.String syncMethod)Sets sync method.voidsetSyncStateVisible(java.lang.Boolean syncStateVisible)Sets sync state visible and then check it fornulland sets it totrueif the current value is null.voidsetTag(java.lang.String tag)Sets tag.voidsetType(CometPlaceholder.PlaceholderType type)Sets type.voidsetUseParent(java.lang.Boolean useParent)Sets use parent.voidsetUseProjectDefault(boolean useProjectDefault)Sets use project default.booleansupportsExtendedContextCriteria()Supports extended context criteria boolean.-
Methods inherited from class com.priint.pubserver.comet.entity.CometEntity
checkMinimalConstraints, entityEquals, equals, getEntityDescription, getEntityLabel, getId, getReferenceConstraints, hashCode, initDefaultValues, initDefaultValues, setId
-
Methods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.priint.pubserver.comet.entity.CometDataProviderLink
getId
-
-
-
-
Field Detail
-
EMPTY_TAG
public static final java.lang.String EMPTY_TAG
The constant EMPTY_TAG.- See Also:
- Constant Field Values
-
-
Method Detail
-
getActive
public java.lang.Boolean getActive()
Gets active.- Returns:
- the active
-
getAutoSync
public java.lang.Boolean getAutoSync()
Gets auto sync.- Returns:
- the auto sync
-
getColorId
public java.lang.Integer getColorId()
Gets color id.- Returns:
- the color id
-
getContextRuleAssortment
public PluginMethod getContextRuleAssortment()
Description copied from interface:CometContextRuleConfigurationGets context rule assortment.- Specified by:
getContextRuleAssortmentin interfaceCometContextRuleConfiguration- Returns:
- the context rule assortment
-
getContextRuleCountry
public PluginMethod getContextRuleCountry()
Description copied from interface:CometContextRuleConfigurationGets context rule country.- Specified by:
getContextRuleCountryin interfaceCometContextRuleConfiguration- Returns:
- the context rule country
-
getContextRuleDocument
public PluginMethod getContextRuleDocument()
Description copied from interface:CometContextRuleConfigurationGets context rule document.- Specified by:
getContextRuleDocumentin interfaceCometContextRuleConfiguration- Returns:
- the context rule document
-
getContextRuleLanguage
public PluginMethod getContextRuleLanguage()
Description copied from interface:CometContextRuleConfigurationGets context rule language.- Specified by:
getContextRuleLanguagein interfaceCometContextRuleConfiguration- Returns:
- the context rule language
-
getContextRulePublication
public PluginMethod getContextRulePublication()
Description copied from interface:CometContextRuleConfigurationGets context rule publication.- Specified by:
getContextRulePublicationin interfaceCometContextRuleConfiguration- Returns:
- the context rule publication
-
getContextRuleWell
public PluginMethod getContextRuleWell()
Description copied from interface:CometContextRuleConfigurationGets context rule well.- Specified by:
getContextRuleWellin interfaceCometContextRuleConfiguration- Returns:
- the context rule well
-
getDataProcessingLoad
public java.util.List<PluginMethod> getDataProcessingLoad()
Description copied from interface:CometDataProviderLinkGets data processing load.- Specified by:
getDataProcessingLoadin interfaceCometDataProviderLink- Returns:
- the data processing load
-
getDataProcessingStore
public java.util.List<PluginMethod> getDataProcessingStore()
Description copied from interface:CometDataProviderLinkGets data processing store.- Specified by:
getDataProcessingStorein interfaceCometDataProviderLink- Returns:
- the data processing store
-
getDataProvider
public CometPlaceholder.DataProvider getDataProvider()
Description copied from interface:CometDataProviderLinkGets data provider.- Specified by:
getDataProviderin interfaceCometDataProviderLink- Returns:
- the data provider
-
getDescription
@CometDescription public java.lang.String getDescription()
Gets description.- Returns:
- the description
-
getEntityId
public java.lang.String getEntityId()
Gets entity id.- Returns:
- the entity id
-
getLabel
public java.lang.String getLabel()
Description copied from interface:CometDataProviderLinkGets label.- Specified by:
getLabelin interfaceCometDataProviderLink- Returns:
- the label
-
getLoadConstraint
public CometPlaceholder.LoadConstraint getLoadConstraint()
Gets load constraint.- Returns:
- the load constraint
-
getLoadId
public java.lang.Integer getLoadId()
Gets load id.- Returns:
- the load id
-
getLoadMethod
public java.lang.String getLoadMethod()
Gets load method.- Returns:
- the load method
-
getPlaceholderLabel
@CometLabel public java.lang.String getPlaceholderLabel()
Gets placeholder label.- Returns:
- the placeholder label
-
getPostfix
public java.lang.String getPostfix()
Gets postfix.- Returns:
- the postfix
-
getPostfixIfEmpty
public java.lang.String getPostfixIfEmpty()
Gets postfix if empty.- Returns:
- the postfix if empty
-
getPrefix
public java.lang.String getPrefix()
Gets prefix.- Returns:
- the prefix
-
getPrefixIfEmpty
public java.lang.String getPrefixIfEmpty()
Gets prefix if empty.- Returns:
- the prefix if empty
-
getRepositoryFilename
public java.lang.String getRepositoryFilename() throws CometExceptionDescription copied from class:CometEntityGets the repository filename for this particular item
This method MUST be overridden by classes extending CometEntity
- Overrides:
getRepositoryFilenamein classCometEntity- Returns:
- the repository filename of this particular item
- Throws:
CometException- the comet exception
-
getRepositoryPath
public java.lang.String getRepositoryPath() throws CometExceptionDescription copied from class:CometEntityGet the relative repository path for this configuration type.
This method MUST be overridden by classes extending CometEntity.
- Overrides:
getRepositoryPathin classCometEntity- Returns:
- relative repository path
- Throws:
CometException- the comet exception
-
getStoreAllowed
public java.lang.Boolean getStoreAllowed()
Gets store allowed.- Returns:
- the store allowed
-
getStoreId
public java.lang.Integer getStoreId()
Gets store id.- Returns:
- the store id
-
getStoreImagePlacement
public java.lang.Boolean getStoreImagePlacement()
Gets store image placement.- Returns:
- the store image placement
-
getStoreMethod
public java.lang.String getStoreMethod()
Gets store method.- Returns:
- the store method
-
getSyncId
public java.lang.Integer getSyncId()
Gets sync id.- Returns:
- the sync id
-
getSyncMethod
public java.lang.String getSyncMethod()
Gets sync method.- Returns:
- the sync method
-
getSyncStateVisible
public java.lang.Boolean getSyncStateVisible()
Gets sync state visible.- Returns:
- the sync state visible
-
getType
public CometPlaceholder.PlaceholderType getType()
Gets type.- Returns:
- the type
-
getUseParent
public java.lang.Boolean getUseParent()
Gets use parent.- Returns:
- the use parent
-
getTag
public java.lang.String getTag()
Gets tag.- Returns:
- the tag
-
setActive
public void setActive(java.lang.Boolean active)
Sets active.- Parameters:
active- the active
-
setAutoSync
public void setAutoSync(java.lang.Boolean autoSync)
Sets auto sync.- Parameters:
autoSync- the auto sync
-
setColorId
public void setColorId(java.lang.Integer colorId)
Sets color id.- Parameters:
colorId- the color id
-
setContextRuleAssortment
public void setContextRuleAssortment(PluginMethod contextRuleAssortment)
Description copied from interface:CometContextRuleConfigurationSets context rule assortment.- Specified by:
setContextRuleAssortmentin interfaceCometContextRuleConfiguration- Parameters:
contextRuleAssortment- the context rule assortment
-
setContextRuleCountry
public void setContextRuleCountry(PluginMethod contextRuleCountry)
Description copied from interface:CometContextRuleConfigurationSets context rule country.- Specified by:
setContextRuleCountryin interfaceCometContextRuleConfiguration- Parameters:
contextRuleCountry- the context rule country
-
setContextRuleDocument
public void setContextRuleDocument(PluginMethod contextRuleDocument)
Description copied from interface:CometContextRuleConfigurationSets context rule document.- Specified by:
setContextRuleDocumentin interfaceCometContextRuleConfiguration- Parameters:
contextRuleDocument- the context rule document
-
setContextRuleLanguage
public void setContextRuleLanguage(PluginMethod contextRuleLanguage)
Description copied from interface:CometContextRuleConfigurationSets context rule language.- Specified by:
setContextRuleLanguagein interfaceCometContextRuleConfiguration- Parameters:
contextRuleLanguage- the context rule language
-
setContextRulePublication
public void setContextRulePublication(PluginMethod contextRulePublication)
Description copied from interface:CometContextRuleConfigurationSets context rule publication.- Specified by:
setContextRulePublicationin interfaceCometContextRuleConfiguration- Parameters:
contextRulePublication- the context rule publication
-
getContextRuleTargetGroup
public PluginMethod getContextRuleTargetGroup()
Description copied from interface:CometContextRuleConfigurationGets context rule target group.- Specified by:
getContextRuleTargetGroupin interfaceCometContextRuleConfiguration- Returns:
- the context rule target group
-
setContextRuleTargetGroup
public void setContextRuleTargetGroup(PluginMethod contextRuleTargetGroup)
Description copied from interface:CometContextRuleConfigurationSets context rule target group.- Specified by:
setContextRuleTargetGroupin interfaceCometContextRuleConfiguration- Parameters:
contextRuleTargetGroup- the context rule target group
-
getContextRuleMarketName
public PluginMethod getContextRuleMarketName()
Description copied from interface:CometContextRuleConfigurationGets context rule market name.- Specified by:
getContextRuleMarketNamein interfaceCometContextRuleConfiguration- Returns:
- the context rule market name
-
setContextRuleMarketName
public void setContextRuleMarketName(PluginMethod contextRuleMarketName)
Description copied from interface:CometContextRuleConfigurationSets context rule market name.- Specified by:
setContextRuleMarketNamein interfaceCometContextRuleConfiguration- Parameters:
contextRuleMarketName- the context rule market name
-
setContextRuleWell
public void setContextRuleWell(PluginMethod contextRuleWell)
Description copied from interface:CometContextRuleConfigurationSets context rule well.- Specified by:
setContextRuleWellin interfaceCometContextRuleConfiguration- Parameters:
contextRuleWell- the context rule well
-
setDataProcessingLoad
public void setDataProcessingLoad(java.util.List<PluginMethod> dataProcessingLoad)
Sets data processing load.- Parameters:
dataProcessingLoad- the data processing load
-
setDataProcessingStore
public void setDataProcessingStore(java.util.List<PluginMethod> dataProcessingStore)
Sets data processing store.- Parameters:
dataProcessingStore- the data processing store
-
setDataProvider
public void setDataProvider(CometPlaceholder.DataProvider dataProvider)
Sets data provider.- Parameters:
dataProvider- the data provider
-
setDescription
public void setDescription(java.lang.String description)
Sets description.- Parameters:
description- the description
-
setEntityId
public void setEntityId(java.lang.String entityId)
Sets entity id.- Parameters:
entityId- the entity id
-
setLabel
public void setLabel(java.lang.String label)
Sets label.- Parameters:
label- the label
-
setLoadConstraint
public void setLoadConstraint(CometPlaceholder.LoadConstraint loadConstraint)
Sets load constraint.- Parameters:
loadConstraint- the load constraint
-
setLoadId
public void setLoadId(java.lang.Integer loadId)
Sets load id.- Parameters:
loadId- the load id
-
setLoadMethod
public void setLoadMethod(java.lang.String loadMethod)
Sets load method.- Parameters:
loadMethod- the load method
-
setPostfix
public void setPostfix(java.lang.String postfix)
Sets postfix.- Parameters:
postfix- the postfix
-
setPostfixIfEmpty
public void setPostfixIfEmpty(java.lang.String postfixIfEmpty)
Sets postfix if empty.- Parameters:
postfixIfEmpty- the postfix if empty
-
setPrefix
public void setPrefix(java.lang.String prefix)
Sets prefix.- Parameters:
prefix- the prefix
-
setPrefixIfEmpty
public void setPrefixIfEmpty(java.lang.String prefixIfEmpty)
Sets prefix if empty.- Parameters:
prefixIfEmpty- the prefix if empty
-
setStoreAllowed
public void setStoreAllowed(java.lang.Boolean storeAllowed)
Sets store allowed.- Parameters:
storeAllowed- the store allowed
-
setStoreId
public void setStoreId(java.lang.Integer storeId)
Sets store id.- Parameters:
storeId- the store id
-
setStoreImagePlacement
public void setStoreImagePlacement(java.lang.Boolean storeImagePlacement)
Sets store image placement.- Parameters:
storeImagePlacement- the store image placement
-
setStoreMethod
public void setStoreMethod(java.lang.String storeMethod)
Sets store method.- Parameters:
storeMethod- the store method
-
setSyncId
public void setSyncId(java.lang.Integer syncId)
Sets sync id.- Parameters:
syncId- the sync id
-
setSyncMethod
public void setSyncMethod(java.lang.String syncMethod)
Sets sync method.- Parameters:
syncMethod- the sync method
-
setSyncStateVisible
public void setSyncStateVisible(java.lang.Boolean syncStateVisible)
Sets sync state visible and then check it fornulland sets it totrueif the current value is null.- Parameters:
syncStateVisible- the sync state visible
-
setType
public void setType(CometPlaceholder.PlaceholderType type)
Sets type.- Parameters:
type- the type
-
setUseParent
public void setUseParent(java.lang.Boolean useParent)
Sets use parent.- Parameters:
useParent- the use parent
-
setTag
public void setTag(java.lang.String tag)
Sets tag.- Parameters:
tag- the tag
-
getCompareScriptId
public java.lang.Integer getCompareScriptId()
Gets compare script id.- Returns:
- the compare script id
-
setCompareScriptId
public void setCompareScriptId(java.lang.Integer compareScriptId)
Sets compare script id.- Parameters:
compareScriptId- the compare script id
-
getCompareScript
public CometPlaceholderCompareScript getCompareScript()
Gets compare script.- Returns:
- the compare script
-
setCompareScript
public void setCompareScript(CometPlaceholderCompareScript compareScript)
Sets compare script.- Parameters:
compareScript- the compare script
-
getPlaceholderContentTag
public CometPlaceholder.PlaceholderContentTag getPlaceholderContentTag()
Gets placeholder content tag.- Returns:
- the placeholder content tag
-
setPlaceholderContentTag
public void setPlaceholderContentTag(CometPlaceholder.PlaceholderContentTag placeholderContentTag)
Sets placeholder content tag.- Parameters:
placeholderContentTag- the placeholder content tag
-
getPlaceholderContentQuoteStyle
public CometPlaceholder.PlaceholderContentQuoteStyle getPlaceholderContentQuoteStyle()
Gets placeholder content quote style.- Returns:
- the placeholder content quote style
-
setPlaceholderContentQuoteStyle
public void setPlaceholderContentQuoteStyle(CometPlaceholder.PlaceholderContentQuoteStyle placeholderContentQuoteStyle)
Sets placeholder content quote style.- Parameters:
placeholderContentQuoteStyle- the placeholder content quote style
-
getCategory
public CometEntity.Category getCategory()
Gets category.- Returns:
- the category
-
setCategory
public void setCategory(CometEntity.Category category)
Sets category.- Parameters:
category- the category
-
getEntityClass
public Entity.DataClass getEntityClass()
Gets entity class.- Returns:
- the entity class
-
setEntityClass
public void setEntityClass(Entity.DataClass entityClass)
Sets entity class.- Parameters:
entityClass- the entity class
-
supportsExtendedContextCriteria
public boolean supportsExtendedContextCriteria()
Supports extended context criteria boolean.- Returns:
- the boolean
-
getUseProjectDefault
public boolean getUseProjectDefault()
Description copied from interface:CometContextRuleConfigurationGets use project default.- Specified by:
getUseProjectDefaultin interfaceCometContextRuleConfiguration- Returns:
- the use project default
-
setUseProjectDefault
public void setUseProjectDefault(boolean useProjectDefault)
Description copied from interface:CometContextRuleConfigurationSets use project default.- Specified by:
setUseProjectDefaultin interfaceCometContextRuleConfiguration- Parameters:
useProjectDefault- the use project default
-
canUseProjectDefault
public boolean canUseProjectDefault()
Description copied from interface:CometContextRuleConfigurationCan use project default boolean.- Specified by:
canUseProjectDefaultin interfaceCometContextRuleConfiguration- Returns:
- the boolean
-
processPlaceholderContentTag
public java.lang.String processPlaceholderContentTag()
Process placeholder content tag string.- Returns:
- the string
-
-