Class CometProject
- java.lang.Object
-
- com.priint.pubserver.tagging.TaggingObject
-
- com.priint.pubserver.comet.entity.CometEntity
-
- com.priint.pubserver.comet.entity.CometProject
-
- All Implemented Interfaces:
CometContextRuleConfiguration,java.io.Serializable
@CometTypeConstraints(calculateIds=false, referenceBinding=NONE) public class CometProject extends CometEntity implements CometContextRuleConfiguration
The type Comet project. Internal use only.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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 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 CometProject()Instantiates a new Comet project.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanUseProjectDefault()Can use project default boolean.java.lang.StringgetClient()Gets client.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.lang.StringgetDescription()Gets description.java.lang.StringgetEntityModel()Gets entity model.java.lang.StringgetIdentifier()Gets identifier.java.lang.StringgetLabel()Gets label.java.lang.StringgetPublicationProviderPlugin()Gets publication provider plugin.java.util.List<CometReference>getReferenceConstraints()Get reference (i.e.java.lang.StringgetRepositoryFilename()Gets the repository filename for this particular itemjava.lang.StringgetRepositoryPath()Get the relative repository path for this configuration type.java.lang.BooleangetShowContent()Gets show content.booleangetUseProjectDefault()Gets use project default.voidsetClient(java.lang.String client)Sets client.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.voidsetDescription(java.lang.String description)Sets description.voidsetEntityModel(java.lang.String entityModel)Sets entity model.voidsetIdentifier(java.lang.String identifier)Sets identifier.voidsetLabel(java.lang.String label)Sets label.voidsetPublicationProviderPlugin(java.lang.String publicationProviderPlugin)Sets publication provider plugin.voidsetShowContent(java.lang.Boolean showContent)Sets show content.voidsetUseProjectDefault(boolean useProjectDefault)Sets use project default.-
Methods inherited from class com.priint.pubserver.comet.entity.CometEntity
checkMinimalConstraints, entityEquals, equals, getEntityDescription, getEntityLabel, getId, hashCode, initDefaultValues, initDefaultValues, setId
-
Methods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
-
-
-
Method Detail
-
getClient
public java.lang.String getClient()
Gets client.- Returns:
- the client
-
getDescription
@CometDescription public java.lang.String getDescription()
Gets description.- Returns:
- the description
-
getEntityModel
public java.lang.String getEntityModel()
Gets entity model.- Returns:
- the entity model
-
getIdentifier
public java.lang.String getIdentifier()
Gets identifier.- Returns:
- the identifier
-
getLabel
public java.lang.String getLabel()
Gets label.- Returns:
- the label
-
getReferenceConstraints
public java.util.List<CometReference> getReferenceConstraints()
Description copied from class:CometEntityGet reference (i.e. PluginDependency) constraints for this type, including constraints inherited from super classes
See the
CometTypeConstraintsannotation for more information- Overrides:
getReferenceConstraintsin classCometEntity- Returns:
- list of mandatory dependencies for this type
-
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
-
getShowContent
public java.lang.Boolean getShowContent()
Gets show content.- Returns:
- the show content
-
setClient
public void setClient(java.lang.String client)
Sets client.- Parameters:
client- the client
-
setDescription
public void setDescription(java.lang.String description)
Sets description.- Parameters:
description- the description
-
setEntityModel
public void setEntityModel(java.lang.String entityModel)
Sets entity model.- Parameters:
entityModel- the entity model
-
setIdentifier
public void setIdentifier(java.lang.String identifier)
Sets identifier.- Parameters:
identifier- the identifier
-
setLabel
public void setLabel(java.lang.String label)
Sets label.- Parameters:
label- the label
-
setShowContent
public void setShowContent(java.lang.Boolean showContent)
Sets show content.- Parameters:
showContent- the show content
-
getPublicationProviderPlugin
public java.lang.String getPublicationProviderPlugin()
Gets publication provider plugin.- Returns:
- the publication provider plugin
-
setPublicationProviderPlugin
public void setPublicationProviderPlugin(java.lang.String publicationProviderPlugin)
Sets publication provider plugin.- Parameters:
publicationProviderPlugin- the publication provider plugin
-
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
-
getContextRuleTargetGroup
public PluginMethod getContextRuleTargetGroup()
Description copied from interface:CometContextRuleConfigurationGets context rule target group.- Specified by:
getContextRuleTargetGroupin interfaceCometContextRuleConfiguration- Returns:
- 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
-
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
-
setContextRuleWell
public void setContextRuleWell(PluginMethod contextRuleWell)
Description copied from interface:CometContextRuleConfigurationSets context rule well.- Specified by:
setContextRuleWellin interfaceCometContextRuleConfiguration- Parameters:
contextRuleWell- the context rule well
-
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
-
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
-
canUseProjectDefault
public boolean canUseProjectDefault()
Description copied from interface:CometContextRuleConfigurationCan use project default boolean.- Specified by:
canUseProjectDefaultin interfaceCometContextRuleConfiguration- 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
-
-