Class CometSnippet

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class CometSnippet
    extends java.lang.Object
    implements java.io.Serializable
    The type Comet snippet.
    See Also:
    Serialized Form
    • Field Detail

      • FIND_BY_DOCUMENT_ID

        public static final java.lang.String FIND_BY_DOCUMENT_ID
        The constant FIND_BY_DOCUMENT_ID.
        See Also:
        Constant Field Values
      • FIND_BY_OBJECT_ID

        public static final java.lang.String FIND_BY_OBJECT_ID
        The constant FIND_BY_OBJECT_ID.
        See Also:
        Constant Field Values
      • FIND_BY_DOCUMENT_PATH_AND_NAME

        public static final java.lang.String FIND_BY_DOCUMENT_PATH_AND_NAME
        The constant FIND_BY_DOCUMENT_PATH_AND_NAME.
        See Also:
        Constant Field Values
      • FIND_BY_PUBLICATION_TYPE

        public static final java.lang.String FIND_BY_PUBLICATION_TYPE
        The constant FIND_BY_PUBLICATION_TYPE.
        See Also:
        Constant Field Values
      • FIND_BY_PUBLICATION_ROOT_ID

        public static final java.lang.String FIND_BY_PUBLICATION_ROOT_ID
        The constant FIND_BY_PUBLICATION_ROOT_ID.
        See Also:
        Constant Field Values
      • FIND_BY_DOCUMENT_ID_AND_TEMPLATE

        public static final java.lang.String FIND_BY_DOCUMENT_ID_AND_TEMPLATE
        The constant FIND_BY_DOCUMENT_ID_AND_TEMPLATE.
        See Also:
        Constant Field Values
      • FIND_BY_TEMPLATE

        public static final java.lang.String FIND_BY_TEMPLATE
        The constant FIND_BY_TEMPLATE.
        See Also:
        Constant Field Values
      • FIND_BY_DOCUMENT_PATH_AND_NAME_AND_TEMPLATE

        public static final java.lang.String FIND_BY_DOCUMENT_PATH_AND_NAME_AND_TEMPLATE
        The constant FIND_BY_DOCUMENT_PATH_AND_NAME_AND_TEMPLATE.
        See Also:
        Constant Field Values
      • FIND_BY_PUBLICATION_TYPE_AND_TEMPLATE

        public static final java.lang.String FIND_BY_PUBLICATION_TYPE_AND_TEMPLATE
        The constant FIND_BY_PUBLICATION_TYPE_AND_TEMPLATE.
        See Also:
        Constant Field Values
      • FIND_BY_PUBLICATION_ROOT_ID_AND_TEMPLATE

        public static final java.lang.String FIND_BY_PUBLICATION_ROOT_ID_AND_TEMPLATE
        The constant FIND_BY_PUBLICATION_ROOT_ID_AND_TEMPLATE.
        See Also:
        Constant Field Values
      • IDENTIFY_SNIPPET

        public static final java.lang.String IDENTIFY_SNIPPET
        The constant IDENTIFY_SNIPPET.
        See Also:
        Constant Field Values
      • FIND_BY_ID

        public static final java.lang.String FIND_BY_ID
        The constant FIND_BY_ID.
        See Also:
        Constant Field Values
      • FIND_BY_ITEM_ID_AND_CONTEXT

        public static final java.lang.String FIND_BY_ITEM_ID_AND_CONTEXT
        The constant FIND_BY_ITEM_ID_AND_CONTEXT.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CometSnippet

        public CometSnippet()
    • Method Detail

      • bindSnippet

        public static javax.persistence.Query bindSnippet​(javax.persistence.Query result,
                                                          CometSnippet snippet,
                                                          java.lang.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 java.lang.Integer getId()
        Gets id.
        Returns:
        the id
      • setId

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

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

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

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

        public void setDocumentName​(java.lang.String documentName)
        Sets document name.
        Parameters:
        documentName - the document name
      • getDocumentPath

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public void setItemEntityClass​(java.lang.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​(java.lang.String documentName,
                                                  java.lang.String documentPath,
                                                  java.lang.String publicationPlannerDocumentId,
                                                  java.lang.String publication,
                                                  java.lang.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