Class CometSnippet

java.lang.Object
com.priint.pubserver.comet.bridge.snippet.CometSnippet
All Implemented Interfaces:
Serializable

@Entity public class CometSnippet extends Object implements Serializable
The type Comet snippet.
See Also:
  • Field Details

    • FIND_BY_DOCUMENT_ID

      public static final String FIND_BY_DOCUMENT_ID
      The constant FIND_BY_DOCUMENT_ID.
      See Also:
    • FIND_BY_OBJECT_ID

      public static final String FIND_BY_OBJECT_ID
      The constant FIND_BY_OBJECT_ID.
      See Also:
    • FIND_BY_DOCUMENT_PATH_AND_NAME

      public static final String FIND_BY_DOCUMENT_PATH_AND_NAME
      The constant FIND_BY_DOCUMENT_PATH_AND_NAME.
      See Also:
    • FIND_BY_PUBLICATION_TYPE

      public static final String FIND_BY_PUBLICATION_TYPE
      The constant FIND_BY_PUBLICATION_TYPE.
      See Also:
    • FIND_BY_PUBLICATION_ROOT_ID

      public static final String FIND_BY_PUBLICATION_ROOT_ID
      The constant FIND_BY_PUBLICATION_ROOT_ID.
      See Also:
    • FIND_BY_DOCUMENT_ID_AND_TEMPLATE

      public static final String FIND_BY_DOCUMENT_ID_AND_TEMPLATE
      The constant FIND_BY_DOCUMENT_ID_AND_TEMPLATE.
      See Also:
    • FIND_BY_TEMPLATE

      public static final String FIND_BY_TEMPLATE
      The constant FIND_BY_TEMPLATE.
      See Also:
    • FIND_BY_DOCUMENT_PATH_AND_NAME_AND_TEMPLATE

      public static final String FIND_BY_DOCUMENT_PATH_AND_NAME_AND_TEMPLATE
      The constant FIND_BY_DOCUMENT_PATH_AND_NAME_AND_TEMPLATE.
      See Also:
    • FIND_BY_PUBLICATION_TYPE_AND_TEMPLATE

      public static final String FIND_BY_PUBLICATION_TYPE_AND_TEMPLATE
      The constant FIND_BY_PUBLICATION_TYPE_AND_TEMPLATE.
      See Also:
    • FIND_BY_PUBLICATION_ROOT_ID_AND_TEMPLATE

      public static final String FIND_BY_PUBLICATION_ROOT_ID_AND_TEMPLATE
      The constant FIND_BY_PUBLICATION_ROOT_ID_AND_TEMPLATE.
      See Also:
    • IDENTIFY_SNIPPET

      public static final String IDENTIFY_SNIPPET
      The constant IDENTIFY_SNIPPET.
      See Also:
    • FIND_BY_ID

      public static final String FIND_BY_ID
      The constant FIND_BY_ID.
      See Also:
    • FIND_BY_ITEM_ID_AND_CONTEXT

      public static final String FIND_BY_ITEM_ID_AND_CONTEXT
      The constant FIND_BY_ITEM_ID_AND_CONTEXT.
      See Also:
  • Constructor Details

    • CometSnippet

      public CometSnippet()
  • Method Details

    • bindSnippet

      public static jakarta.persistence.Query bindSnippet(jakarta.persistence.Query result, CometSnippet snippet, String namedQuery)
      Bind snippet query.
      Parameters:
      result - the result
      snippet - the snippet
      namedQuery - the named query
      Returns:
      the query
    • afterReadFromJPA

      public void afterReadFromJPA()
      After read from jpa.
    • afterReadFromXML

      public void afterReadFromXML()
      After read from xml.
    • getId

      public Integer getId()
      Gets id.
      Returns:
      the id
    • setId

      public void setId(Integer id)
      Sets id.
      Parameters:
      id - the id
    • getProject

      public String getProject()
      Gets project.
      Returns:
      the project
    • setProject

      public void setProject(String project)
      Sets project.
      Parameters:
      project - the project
    • getDocumentName

      public String getDocumentName()
      Gets document name.
      Returns:
      the document name
    • setDocumentName

      public void setDocumentName(String documentName)
      Sets document name.
      Parameters:
      documentName - the document name
    • getDocumentLabel

      public String getDocumentLabel()
      Gets document label
      Returns:
      the document label
    • setDocumentLabel

      public void setDocumentLabel(String documentLabel)
      Sets document label.
      Parameters:
      documentLabel - the document label
    • getDocumentPath

      public String getDocumentPath()
      Gets document path.
      Returns:
      the document path
    • setDocumentPath

      public void setDocumentPath(String documentPath)
      Sets document path.
      Parameters:
      documentPath - the document path
    • getPublication

      public String getPublication()
      Gets publication.
      Returns:
      the publication
    • setPublication

      public void setPublication(String publication)
      Sets publication.
      Parameters:
      publication - the publication
    • getPublicationPlannerDocumentId

      public String getPublicationPlannerDocumentId()
      Gets publication planner document id.
      Returns:
      the publication planner document id
    • setPublicationPlannerDocumentId

      public void setPublicationPlannerDocumentId(String publicationPlannerDocumentId)
      Sets publication planner document id.
      Parameters:
      publicationPlannerDocumentId - the publication planner document id
    • getPublicationType

      public String getPublicationType()
      Gets publication type.
      Returns:
      the publication type
    • setPublicationType

      public void setPublicationType(String publicationType)
      Sets publication type.
      Parameters:
      publicationType - the publication type
    • getRecordId

      public Integer getRecordId()
      Gets record id.
      Returns:
      the record id
    • setRecordId

      public void setRecordId(Integer recordId)
      Sets record id.
      Parameters:
      recordId - the record id
    • getRecordId2

      public Integer getRecordId2()
      Gets record id 2.
      Returns:
      the record id 2
    • setRecordId2

      public void setRecordId2(Integer recordId2)
      Sets record id 2.
      Parameters:
      recordId2 - the record id 2
    • getRecordId3

      public Integer getRecordId3()
      Gets record id 3.
      Returns:
      the record id 3
    • setRecordId3

      public void setRecordId3(Integer recordId3)
      Sets record id 3.
      Parameters:
      recordId3 - the record id 3
    • getRecordStringId

      public String getRecordStringId()
      Gets record string id.
      Returns:
      the record string id
    • setRecordStringId

      public void setRecordStringId(String recordStringId)
      Sets record string id.
      Parameters:
      recordStringId - the record string id
    • getObjectId

      public String getObjectId()
      Gets object id.
      Returns:
      the object id
    • setObjectId

      public void setObjectId(String objectId)
      Sets object id.
      Parameters:
      objectId - the object id
    • getObjectGroupId

      public String getObjectGroupId()
      Gets object group id.
      Returns:
      the object group id
    • setObjectGroupId

      public void setObjectGroupId(String objectGroupId)
      Sets object group id.
      Parameters:
      objectGroupId - the object group id
    • getObjectEntityId

      public String getObjectEntityId()
      Gets object entity id.
      Returns:
      the object entity id
    • setObjectEntityId

      public void setObjectEntityId(String objectEntityId)
      Sets object entity id.
      Parameters:
      objectEntityId - the object entity id
    • getObjectEntityClass

      public String getObjectEntityClass()
      Gets object entity class.
      Returns:
      the object entity class
    • setObjectEntityClass

      public void setObjectEntityClass(String objectEntityClass)
      Sets object entity class.
      Parameters:
      objectEntityClass - the object entity class
    • getParentObjectId

      public String getParentObjectId()
      Gets parent object id.
      Returns:
      the parent object id
    • setParentObjectId

      public void setParentObjectId(String parentObjectId)
      Sets parent object id.
      Parameters:
      parentObjectId - the parent object id
    • getParentObjectGroupId

      public String getParentObjectGroupId()
      Gets parent object group id.
      Returns:
      the parent object group id
    • setParentObjectGroupId

      public void setParentObjectGroupId(String parentObjectGroupId)
      Sets parent object group id.
      Parameters:
      parentObjectGroupId - the parent object group id
    • getParentObjectEntityId

      public String getParentObjectEntityId()
      Gets parent object entity id.
      Returns:
      the parent object entity id
    • setParentObjectEntityId

      public void setParentObjectEntityId(String parentObjectEntityId)
      Sets parent object entity id.
      Parameters:
      parentObjectEntityId - the parent object entity id
    • getParentObjectEntityClass

      public String getParentObjectEntityClass()
      Gets parent object entity class.
      Returns:
      the parent object entity class
    • setParentObjectEntityClass

      public void setParentObjectEntityClass(String parentObjectEntityClass)
      Sets parent object entity class.
      Parameters:
      parentObjectEntityClass - the parent object entity class
    • getLanguage

      public String getLanguage()
      Gets language.
      Returns:
      the language
    • setLanguage

      public void setLanguage(String language)
      Sets language.
      Parameters:
      language - the language
    • getCountry

      public String getCountry()
      Gets country.
      Returns:
      the country
    • setCountry

      public void setCountry(String country)
      Sets country.
      Parameters:
      country - the country
    • getWell

      public String getWell()
      Gets well.
      Returns:
      the well
    • setWell

      public void setWell(String well)
      Sets well.
      Parameters:
      well - the well
    • getAssortment

      public String getAssortment()
      Gets assortment.
      Returns:
      the assortment
    • setAssortment

      public void setAssortment(String assortment)
      Sets assortment.
      Parameters:
      assortment - the assortment
    • getCometGroupId

      public Integer getCometGroupId()
      Gets comet group id.
      Returns:
      the comet group id
    • setCometGroupId

      public void setCometGroupId(Integer cometGroupId)
      Sets comet group id.
      Parameters:
      cometGroupId - the comet group id
    • getTemplateId

      public Integer getTemplateId()
      Gets template id.
      Returns:
      the template id
    • setTemplateId

      public void setTemplateId(Integer templateId)
      Sets template id.
      Parameters:
      templateId - the template id
    • getWidth

      public Double getWidth()
      Gets width.
      Returns:
      the width
    • setWidth

      public void setWidth(Double width)
      Sets width.
      Parameters:
      width - the width
    • getHeight

      public Double getHeight()
      Gets height.
      Returns:
      the height
    • setHeight

      public void setHeight(Double height)
      Sets height.
      Parameters:
      height - the height
    • getCreatedOn

      public Date getCreatedOn()
      Gets created on.
      Returns:
      the created on
    • setCreatedOn

      public void setCreatedOn(Date createdOn)
      Sets created on.
      Parameters:
      createdOn - the created on
    • getCreatedBy

      public String getCreatedBy()
      Gets created by.
      Returns:
      the created by
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      Sets created by.
      Parameters:
      createdBy - the created by
    • getUpdatedOn

      public Date getUpdatedOn()
      Gets updated on.
      Returns:
      the updated on
    • setUpdatedOn

      public void setUpdatedOn(Date updatedOn)
      Sets updated on.
      Parameters:
      updatedOn - the updated on
    • getUpdatedBy

      public String getUpdatedBy()
      Gets updated by.
      Returns:
      the updated by
    • setUpdatedBy

      public void setUpdatedBy(String updatedBy)
      Sets updated by.
      Parameters:
      updatedBy - the updated by
    • getPublicationPlannerRootPublicationId

      public String getPublicationPlannerRootPublicationId()
      Gets publication planner root publication id.
      Returns:
      the publication planner root publication id
    • setPublicationPlannerRootPublicationId

      public void setPublicationPlannerRootPublicationId(String publicationPlannerRootPublicationId)
      Sets publication planner root publication id.
      Parameters:
      publicationPlannerRootPublicationId - the publication planner root publication id
    • getFileId

      public String getFileId()
      Gets file id.
      Returns:
      the file id
    • setFileId

      public void setFileId(String fileId)
      Sets file id.
      Parameters:
      fileId - the file id
    • getX

      public Double getX()
      Gets x.
      Returns:
      the x
    • setX

      public void setX(Double x)
      Sets x.
      Parameters:
      x - the x
    • getY

      public Double getY()
      Gets y.
      Returns:
      the y
    • setY

      public void setY(Double y)
      Sets y.
      Parameters:
      y - the y
    • getLabel

      public String getLabel()
      Gets label.
      Returns:
      the label
    • setLabel

      public void setLabel(String label)
      Sets label.
      Parameters:
      label - the label
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets description.
      Parameters:
      description - the description
    • getComponent

      public String getComponent()
      Gets component.
      Returns:
      the component
    • setComponent

      public void setComponent(String component)
      Sets component.
      Parameters:
      component - the component
    • getTargetgroup

      public String getTargetgroup()
      Gets targetgroup.
      Returns:
      the targetgroup
    • setTargetgroup

      public void setTargetgroup(String targetgroup)
      Sets targetgroup.
      Parameters:
      targetgroup - the targetgroup
    • getMarket

      public String getMarket()
      Gets market.
      Returns:
      the market
    • setMarket

      public void setMarket(String market)
      Sets market.
      Parameters:
      market - the market
    • getSnippetContext

      public String getSnippetContext()
      Gets snippet context.
      Returns:
      the snippet context
    • setSnippetContext

      public void setSnippetContext(String snippetContext)
      Sets snippet context.
      Parameters:
      snippetContext - the snippet context
    • getLayer

      public String getLayer()
      Gets layer.
      Returns:
      the layer
    • setLayer

      public void setLayer(String layer)
      Sets layer.
      Parameters:
      layer - the layer
    • getPageNumber

      public String getPageNumber()
      Gets page number.
      Returns:
      the page number
    • setPageNumber

      public void setPageNumber(String pageNumber)
      Sets page number.
      Parameters:
      pageNumber - the page number
    • getItemId

      public String getItemId()
      Gets item id.
      Returns:
      the itemId
    • setItemId

      public void setItemId(String itemId)
      Sets item id.
      Parameters:
      itemId - the itemId to set
    • getItemGroupId

      public String getItemGroupId()
      Gets item group id.
      Returns:
      the itemGroupId
    • setItemGroupId

      public void setItemGroupId(String itemGroupId)
      Sets item group id.
      Parameters:
      itemGroupId - the itemGroupId to set
    • getItemEntityId

      public String getItemEntityId()
      Gets item entity id.
      Returns:
      the itemEntityId
    • setItemEntityId

      public void setItemEntityId(String itemEntityId)
      Sets item entity id.
      Parameters:
      itemEntityId - the itemEntityId to set
    • getItemEntityClass

      public String getItemEntityClass()
      Gets item entity class.
      Returns:
      the itemEntityClass
    • setItemEntityClass

      public void setItemEntityClass(String itemEntityClass)
      Sets item entity class.
      Parameters:
      itemEntityClass - the itemEntityClass to set
    • updateWith

      public void updateWith(CometSnippet other)
      Update with.
      Parameters:
      other - the other
    • setOrVerifyDocumentParameters

      public void setOrVerifyDocumentParameters(String documentName, String documentPath, String publicationPlannerDocumentId, String publication, String publicationType) throws CometException
      Sets or verify document parameters.
      Parameters:
      documentName - the document name
      documentPath - the document path
      publicationPlannerDocumentId - the publication planner document id
      publication - the publication
      publicationType - the publication type
      Throws:
      CometException - the comet exception