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,Serializable
@CometTypeConstraints(referenceBinding=TIGHT,
hasEmbeddedEntities=true)
public class CometPlaceholder
extends CometEntity
implements CometDataProviderLink, CometContextRuleConfiguration
Java class for the Placeholder configuration type
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe type Data provider.static enumThe enum Load constraint.static enumThe enum Placeholder content quote style.static enumThe enum Placeholder content tag.static enumThe enum Placeholder type.Nested classes/interfaces inherited from class com.priint.pubserver.comet.entity.CometEntity
CometEntity.CategoryNested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T> -
Field Summary
FieldsFields inherited from class com.priint.pubserver.comet.entity.CometEntity
id, TAG_DOMAIN_QUALIFIER, TAG_GROUP_QUALIFIER, TAG_TYPE_QUALIFIERFields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCan use project default boolean.Gets active.Gets auto sync.Gets category.Gets color id.Gets compare script.Gets compare script id.Gets context rule assortment.Gets context rule country.Gets context rule document.Gets context rule language.Gets context rule market name.Gets context rule publication.Gets context rule target group.Gets context rule well.Gets data processing load.Gets data processing store.Gets data provider.Gets description.Gets entity class.Gets entity id.getLabel()Gets label.Gets load constraint.Gets load id.Gets load method.Gets placeholder content quote style.Gets placeholder content tag.Gets placeholder label.Gets postfix.Gets postfix if empty.Gets prefix.Gets prefix if empty.Gets the repository filename for this particular itemGet the relative repository path for this configuration type.Gets store allowed.Gets store id.Gets store image placement.Gets store method.Gets sync id.Gets sync method.Gets sync state visible.getTag()Gets tag.getType()Gets type.Gets use parent.booleanGets use project default.Process placeholder content tag string.voidSets active.voidsetAutoSync(Boolean autoSync) Sets auto sync.voidsetCategory(CometEntity.Category category) Sets category.voidsetColorId(Integer colorId) Sets color id.voidsetCompareScript(CometPlaceholderCompareScript compareScript) Sets compare script.voidsetCompareScriptId(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(List<PluginMethod> dataProcessingLoad) Sets data processing load.voidsetDataProcessingStore(List<PluginMethod> dataProcessingStore) Sets data processing store.voidsetDataProvider(CometPlaceholder.DataProvider dataProvider) Sets data provider.voidsetDescription(String description) Sets description.voidsetEntityClass(Entity.DataClass entityClass) Sets entity class.voidsetEntityId(String entityId) Sets entity id.voidSets label.voidsetLoadConstraint(CometPlaceholder.LoadConstraint loadConstraint) Sets load constraint.voidSets load id.voidsetLoadMethod(String loadMethod) Sets load method.voidsetLoadMethodOffline(String loadMethodOffline) voidsetPlaceholderContentQuoteStyle(CometPlaceholder.PlaceholderContentQuoteStyle placeholderContentQuoteStyle) Sets placeholder content quote style.voidsetPlaceholderContentTag(CometPlaceholder.PlaceholderContentTag placeholderContentTag) Sets placeholder content tag.voidsetPostfix(String postfix) Sets postfix.voidsetPostfixIfEmpty(String postfixIfEmpty) Sets postfix if empty.voidSets prefix.voidsetPrefixIfEmpty(String prefixIfEmpty) Sets prefix if empty.voidsetStoreAllowed(Boolean storeAllowed) Sets store allowed.voidsetStoreId(Integer storeId) Sets store id.voidsetStoreImagePlacement(Boolean storeImagePlacement) Sets store image placement.voidsetStoreMethod(String storeMethod) Sets store method.voidsetStoreMethodOffline(String storeMethodOffline) voidSets sync id.voidsetSyncMethod(String syncMethod) Sets sync method.voidsetSyncMethodOffline(String syncMethodOffline) voidsetSyncStateVisible(Boolean syncStateVisible) Sets sync state visible and then check it fornulland sets it totrueif the current value is null.voidSets tag.voidSets type.voidsetUseParent(Boolean useParent) Sets use parent.voidsetUseProjectDefault(boolean useProjectDefault) Sets use project default.booleanSupports extended context criteria boolean.Methods inherited from class com.priint.pubserver.comet.entity.CometEntity
checkMinimalConstraints, entityEquals, equals, getEntityDescription, getEntityLabel, getId, getReferenceConstraints, hashCode, initDefaultValues, initDefaultValues, setIdMethods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTagsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.priint.pubserver.comet.entity.CometDataProviderLink
getId
-
Field Details
-
EMPTY_TAG
The constant EMPTY_TAG.- See Also:
-
-
Constructor Details
-
CometPlaceholder
public CometPlaceholder()Instantiates a new Comet placeholder.
-
-
Method Details
-
getActive
Gets active.- Returns:
- the active
-
getAutoSync
Gets auto sync.- Returns:
- the auto sync
-
getColorId
Gets color id.- Returns:
- the color id
-
getContextRuleAssortment
Description copied from interface:CometContextRuleConfigurationGets context rule assortment.- Specified by:
getContextRuleAssortmentin interfaceCometContextRuleConfiguration- Returns:
- the context rule assortment
-
getContextRuleCountry
Description copied from interface:CometContextRuleConfigurationGets context rule country.- Specified by:
getContextRuleCountryin interfaceCometContextRuleConfiguration- Returns:
- the context rule country
-
getContextRuleDocument
Description copied from interface:CometContextRuleConfigurationGets context rule document.- Specified by:
getContextRuleDocumentin interfaceCometContextRuleConfiguration- Returns:
- the context rule document
-
getContextRuleLanguage
Description copied from interface:CometContextRuleConfigurationGets context rule language.- Specified by:
getContextRuleLanguagein interfaceCometContextRuleConfiguration- Returns:
- the context rule language
-
getContextRulePublication
Description copied from interface:CometContextRuleConfigurationGets context rule publication.- Specified by:
getContextRulePublicationin interfaceCometContextRuleConfiguration- Returns:
- the context rule publication
-
getContextRuleWell
Description copied from interface:CometContextRuleConfigurationGets context rule well.- Specified by:
getContextRuleWellin interfaceCometContextRuleConfiguration- Returns:
- the context rule well
-
getDataProcessingLoad
Description copied from interface:CometDataProviderLinkGets data processing load.- Specified by:
getDataProcessingLoadin interfaceCometDataProviderLink- Returns:
- the data processing load
-
getDataProcessingStore
Description copied from interface:CometDataProviderLinkGets data processing store.- Specified by:
getDataProcessingStorein interfaceCometDataProviderLink- Returns:
- the data processing store
-
getDataProvider
Description copied from interface:CometDataProviderLinkGets data provider.- Specified by:
getDataProviderin interfaceCometDataProviderLink- Returns:
- the data provider
-
getDescription
Gets description.- Returns:
- the description
-
getEntityId
Gets entity id.- Returns:
- the entity id
-
getLabel
Description copied from interface:CometDataProviderLinkGets label.- Specified by:
getLabelin interfaceCometDataProviderLink- Returns:
- the label
-
getLoadConstraint
Gets load constraint.- Returns:
- the load constraint
-
getLoadId
Gets load id.- Returns:
- the load id
-
getLoadMethod
Gets load method.- Returns:
- the load method
-
getPlaceholderLabel
Gets placeholder label.- Returns:
- the placeholder label
-
getPostfix
Gets postfix.- Returns:
- the postfix
-
getPostfixIfEmpty
Gets postfix if empty.- Returns:
- the postfix if empty
-
getPrefix
Gets prefix.- Returns:
- the prefix
-
getPrefixIfEmpty
Gets prefix if empty.- Returns:
- the prefix if empty
-
getRepositoryFilename
Description 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
Description 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
Gets store allowed.- Returns:
- the store allowed
-
getStoreId
Gets store id.- Returns:
- the store id
-
getStoreImagePlacement
Gets store image placement.- Returns:
- the store image placement
-
getStoreMethod
Gets store method.- Returns:
- the store method
-
getSyncId
Gets sync id.- Returns:
- the sync id
-
getSyncMethod
Gets sync method.- Returns:
- the sync method
-
getSyncStateVisible
Gets sync state visible.- Returns:
- the sync state visible
-
getType
Gets type.- Returns:
- the type
-
getUseParent
Gets use parent.- Returns:
- the use parent
-
getTag
Gets tag.- Returns:
- the tag
-
setActive
Sets active.- Parameters:
active- the active
-
setAutoSync
Sets auto sync.- Parameters:
autoSync- the auto sync
-
setColorId
Sets color id.- Parameters:
colorId- the color id
-
setContextRuleAssortment
Description copied from interface:CometContextRuleConfigurationSets context rule assortment.- Specified by:
setContextRuleAssortmentin interfaceCometContextRuleConfiguration- Parameters:
contextRuleAssortment- the context rule assortment
-
setContextRuleCountry
Description copied from interface:CometContextRuleConfigurationSets context rule country.- Specified by:
setContextRuleCountryin interfaceCometContextRuleConfiguration- Parameters:
contextRuleCountry- the context rule country
-
setContextRuleDocument
Description copied from interface:CometContextRuleConfigurationSets context rule document.- Specified by:
setContextRuleDocumentin interfaceCometContextRuleConfiguration- Parameters:
contextRuleDocument- the context rule document
-
setContextRuleLanguage
Description copied from interface:CometContextRuleConfigurationSets context rule language.- Specified by:
setContextRuleLanguagein interfaceCometContextRuleConfiguration- Parameters:
contextRuleLanguage- the context rule language
-
setContextRulePublication
Description copied from interface:CometContextRuleConfigurationSets context rule publication.- Specified by:
setContextRulePublicationin interfaceCometContextRuleConfiguration- Parameters:
contextRulePublication- the context rule publication
-
getContextRuleTargetGroup
Description copied from interface:CometContextRuleConfigurationGets context rule target group.- Specified by:
getContextRuleTargetGroupin interfaceCometContextRuleConfiguration- Returns:
- the context rule target group
-
setContextRuleTargetGroup
Description copied from interface:CometContextRuleConfigurationSets context rule target group.- Specified by:
setContextRuleTargetGroupin interfaceCometContextRuleConfiguration- Parameters:
contextRuleTargetGroup- the context rule target group
-
getContextRuleMarketName
Description copied from interface:CometContextRuleConfigurationGets context rule market name.- Specified by:
getContextRuleMarketNamein interfaceCometContextRuleConfiguration- Returns:
- the context rule market name
-
setContextRuleMarketName
Description copied from interface:CometContextRuleConfigurationSets context rule market name.- Specified by:
setContextRuleMarketNamein interfaceCometContextRuleConfiguration- Parameters:
contextRuleMarketName- the context rule market name
-
setContextRuleWell
Description copied from interface:CometContextRuleConfigurationSets context rule well.- Specified by:
setContextRuleWellin interfaceCometContextRuleConfiguration- Parameters:
contextRuleWell- the context rule well
-
setDataProcessingLoad
Sets data processing load.- Parameters:
dataProcessingLoad- the data processing load
-
setDataProcessingStore
Sets data processing store.- Parameters:
dataProcessingStore- the data processing store
-
setDataProvider
Sets data provider.- Parameters:
dataProvider- the data provider
-
setDescription
Sets description.- Parameters:
description- the description
-
setEntityId
Sets entity id.- Parameters:
entityId- the entity id
-
setLabel
Sets label.- Parameters:
label- the label
-
setLoadConstraint
Sets load constraint.- Parameters:
loadConstraint- the load constraint
-
setLoadId
Sets load id.- Parameters:
loadId- the load id
-
setLoadMethod
Sets load method.- Parameters:
loadMethod- the load method
-
setPostfix
Sets postfix.- Parameters:
postfix- the postfix
-
setPostfixIfEmpty
Sets postfix if empty.- Parameters:
postfixIfEmpty- the postfix if empty
-
setPrefix
Sets prefix.- Parameters:
prefix- the prefix
-
setPrefixIfEmpty
Sets prefix if empty.- Parameters:
prefixIfEmpty- the prefix if empty
-
setStoreAllowed
Sets store allowed.- Parameters:
storeAllowed- the store allowed
-
setStoreId
Sets store id.- Parameters:
storeId- the store id
-
setStoreImagePlacement
Sets store image placement.- Parameters:
storeImagePlacement- the store image placement
-
setStoreMethod
Sets store method.- Parameters:
storeMethod- the store method
-
setSyncId
Sets sync id.- Parameters:
syncId- the sync id
-
setSyncMethod
Sets sync method.- Parameters:
syncMethod- the sync method
-
setSyncStateVisible
Sets sync state visible and then check it fornulland sets it totrueif the current value is null.- Parameters:
syncStateVisible- the sync state visible
-
setType
Sets type.- Parameters:
type- the type
-
setUseParent
Sets use parent.- Parameters:
useParent- the use parent
-
setTag
Sets tag.- Parameters:
tag- the tag
-
getCompareScriptId
Gets compare script id.- Returns:
- the compare script id
-
setCompareScriptId
Sets compare script id.- Parameters:
compareScriptId- the compare script id
-
getCompareScript
Gets compare script.- Returns:
- the compare script
-
setCompareScript
Sets compare script.- Parameters:
compareScript- the compare script
-
getPlaceholderContentTag
Gets placeholder content tag.- Returns:
- the placeholder content tag
-
setPlaceholderContentTag
Sets placeholder content tag.- Parameters:
placeholderContentTag- the placeholder content tag
-
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
Gets category.- Returns:
- the category
-
setCategory
Sets category.- Parameters:
category- the category
-
getEntityClass
Gets entity class.- Returns:
- the entity class
-
setEntityClass
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
-
getLoadMethodOffline
-
setLoadMethodOffline
-
getSyncMethodOffline
-
setSyncMethodOffline
-
getStoreMethodOffline
-
setStoreMethodOffline
-
processPlaceholderContentTag
Process placeholder content tag string.- Returns:
- the string
-