Class CometSnippet
java.lang.Object
com.priint.pubserver.comet.bridge.snippet.CometSnippet
- All Implemented Interfaces:
Serializable
The type Comet snippet.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe enum Query parameter. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe constant FIND_BY_DOCUMENT_ID.static final StringThe constant FIND_BY_DOCUMENT_ID_AND_TEMPLATE.static final StringThe constant FIND_BY_DOCUMENT_PATH_AND_NAME.static final StringThe constant FIND_BY_DOCUMENT_PATH_AND_NAME_AND_TEMPLATE.static final StringThe constant FIND_BY_ID.static final StringThe constant FIND_BY_ITEM_ID_AND_CONTEXT.static final StringThe constant FIND_BY_OBJECT_ID.static final StringThe constant FIND_BY_PUBLICATION_ROOT_ID.static final StringThe constant FIND_BY_PUBLICATION_ROOT_ID_AND_TEMPLATE.static final StringThe constant FIND_BY_PUBLICATION_TYPE.static final StringThe constant FIND_BY_PUBLICATION_TYPE_AND_TEMPLATE.static final StringThe constant FIND_BY_TEMPLATE.static final StringThe constant IDENTIFY_SNIPPET. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAfter read from jpa.voidAfter read from xml.static jakarta.persistence.QuerybindSnippet(jakarta.persistence.Query result, CometSnippet snippet, String namedQuery) Bind snippet query.Gets assortment.Gets comet group id.Gets component.Gets country.Gets created by.Gets created on.Gets description.Gets document labelGets document name.Gets document path.Gets file id.Gets height.getId()Gets id.Gets item entity class.Gets item entity id.Gets item group id.Gets item id.getLabel()Gets label.Gets language.getLayer()Gets layer.Gets market.Gets object entity class.Gets object entity id.Gets object group id.Gets object id.Gets page number.Gets parent object entity class.Gets parent object entity id.Gets parent object group id.Gets parent object id.Gets project.Gets publication.Gets publication planner document id.Gets publication planner root publication id.Gets publication type.Gets record id.Gets record id 2.Gets record id 3.Gets record string id.Gets snippet context.Gets targetgroup.Gets template id.Gets updated by.Gets updated on.getWell()Gets well.getWidth()Gets width.getX()Gets x.getY()Gets y.voidsetAssortment(String assortment) Sets assortment.voidsetCometGroupId(Integer cometGroupId) Sets comet group id.voidsetComponent(String component) Sets component.voidsetCountry(String country) Sets country.voidsetCreatedBy(String createdBy) Sets created by.voidsetCreatedOn(Date createdOn) Sets created on.voidsetDescription(String description) Sets description.voidsetDocumentLabel(String documentLabel) Sets document label.voidsetDocumentName(String documentName) Sets document name.voidsetDocumentPath(String documentPath) Sets document path.voidSets file id.voidSets height.voidSets id.voidsetItemEntityClass(String itemEntityClass) Sets item entity class.voidsetItemEntityId(String itemEntityId) Sets item entity id.voidsetItemGroupId(String itemGroupId) Sets item group id.voidSets item id.voidSets label.voidsetLanguage(String language) Sets language.voidSets layer.voidSets market.voidsetObjectEntityClass(String objectEntityClass) Sets object entity class.voidsetObjectEntityId(String objectEntityId) Sets object entity id.voidsetObjectGroupId(String objectGroupId) Sets object group id.voidsetObjectId(String objectId) Sets object id.voidsetOrVerifyDocumentParameters(String documentName, String documentPath, String publicationPlannerDocumentId, String publication, String publicationType) Sets or verify document parameters.voidsetPageNumber(String pageNumber) Sets page number.voidsetParentObjectEntityClass(String parentObjectEntityClass) Sets parent object entity class.voidsetParentObjectEntityId(String parentObjectEntityId) Sets parent object entity id.voidsetParentObjectGroupId(String parentObjectGroupId) Sets parent object group id.voidsetParentObjectId(String parentObjectId) Sets parent object id.voidsetProject(String project) Sets project.voidsetPublication(String publication) Sets publication.voidsetPublicationPlannerDocumentId(String publicationPlannerDocumentId) Sets publication planner document id.voidsetPublicationPlannerRootPublicationId(String publicationPlannerRootPublicationId) Sets publication planner root publication id.voidsetPublicationType(String publicationType) Sets publication type.voidsetRecordId(Integer recordId) Sets record id.voidsetRecordId2(Integer recordId2) Sets record id 2.voidsetRecordId3(Integer recordId3) Sets record id 3.voidsetRecordStringId(String recordStringId) Sets record string id.voidsetSnippetContext(String snippetContext) Sets snippet context.voidsetTargetgroup(String targetgroup) Sets targetgroup.voidsetTemplateId(Integer templateId) Sets template id.voidsetUpdatedBy(String updatedBy) Sets updated by.voidsetUpdatedOn(Date updatedOn) Sets updated on.voidSets well.voidSets width.voidSets x.voidSets y.voidupdateWith(CometSnippet other) Update with.
-
Field Details
-
FIND_BY_DOCUMENT_ID
The constant FIND_BY_DOCUMENT_ID.- See Also:
-
FIND_BY_OBJECT_ID
The constant FIND_BY_OBJECT_ID.- See Also:
-
FIND_BY_DOCUMENT_PATH_AND_NAME
The constant FIND_BY_DOCUMENT_PATH_AND_NAME.- See Also:
-
FIND_BY_PUBLICATION_TYPE
The constant FIND_BY_PUBLICATION_TYPE.- See Also:
-
FIND_BY_PUBLICATION_ROOT_ID
The constant FIND_BY_PUBLICATION_ROOT_ID.- See Also:
-
FIND_BY_DOCUMENT_ID_AND_TEMPLATE
The constant FIND_BY_DOCUMENT_ID_AND_TEMPLATE.- See Also:
-
FIND_BY_TEMPLATE
The constant FIND_BY_TEMPLATE.- See Also:
-
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
The constant FIND_BY_PUBLICATION_TYPE_AND_TEMPLATE.- See Also:
-
FIND_BY_PUBLICATION_ROOT_ID_AND_TEMPLATE
The constant FIND_BY_PUBLICATION_ROOT_ID_AND_TEMPLATE.- See Also:
-
IDENTIFY_SNIPPET
The constant IDENTIFY_SNIPPET.- See Also:
-
FIND_BY_ID
The constant FIND_BY_ID.- See Also:
-
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 resultsnippet- the snippetnamedQuery- the named query- Returns:
- the query
-
afterReadFromJPA
public void afterReadFromJPA()After read from jpa. -
afterReadFromXML
public void afterReadFromXML()After read from xml. -
getId
Gets id.- Returns:
- the id
-
setId
Sets id.- Parameters:
id- the id
-
getProject
Gets project.- Returns:
- the project
-
setProject
Sets project.- Parameters:
project- the project
-
getDocumentName
Gets document name.- Returns:
- the document name
-
setDocumentName
Sets document name.- Parameters:
documentName- the document name
-
getDocumentLabel
Gets document label- Returns:
- the document label
-
setDocumentLabel
Sets document label.- Parameters:
documentLabel- the document label
-
getDocumentPath
Gets document path.- Returns:
- the document path
-
setDocumentPath
Sets document path.- Parameters:
documentPath- the document path
-
getPublication
Gets publication.- Returns:
- the publication
-
setPublication
Sets publication.- Parameters:
publication- the publication
-
getPublicationPlannerDocumentId
Gets publication planner document id.- Returns:
- the publication planner document id
-
setPublicationPlannerDocumentId
Sets publication planner document id.- Parameters:
publicationPlannerDocumentId- the publication planner document id
-
getPublicationType
Gets publication type.- Returns:
- the publication type
-
setPublicationType
Sets publication type.- Parameters:
publicationType- the publication type
-
getRecordId
Gets record id.- Returns:
- the record id
-
setRecordId
Sets record id.- Parameters:
recordId- the record id
-
getRecordId2
Gets record id 2.- Returns:
- the record id 2
-
setRecordId2
Sets record id 2.- Parameters:
recordId2- the record id 2
-
getRecordId3
Gets record id 3.- Returns:
- the record id 3
-
setRecordId3
Sets record id 3.- Parameters:
recordId3- the record id 3
-
getRecordStringId
Gets record string id.- Returns:
- the record string id
-
setRecordStringId
Sets record string id.- Parameters:
recordStringId- the record string id
-
getObjectId
Gets object id.- Returns:
- the object id
-
setObjectId
Sets object id.- Parameters:
objectId- the object id
-
getObjectGroupId
Gets object group id.- Returns:
- the object group id
-
setObjectGroupId
Sets object group id.- Parameters:
objectGroupId- the object group id
-
getObjectEntityId
Gets object entity id.- Returns:
- the object entity id
-
setObjectEntityId
Sets object entity id.- Parameters:
objectEntityId- the object entity id
-
getObjectEntityClass
Gets object entity class.- Returns:
- the object entity class
-
setObjectEntityClass
Sets object entity class.- Parameters:
objectEntityClass- the object entity class
-
getParentObjectId
Gets parent object id.- Returns:
- the parent object id
-
setParentObjectId
Sets parent object id.- Parameters:
parentObjectId- the parent object id
-
getParentObjectGroupId
Gets parent object group id.- Returns:
- the parent object group id
-
setParentObjectGroupId
Sets parent object group id.- Parameters:
parentObjectGroupId- the parent object group id
-
getParentObjectEntityId
Gets parent object entity id.- Returns:
- the parent object entity id
-
setParentObjectEntityId
Sets parent object entity id.- Parameters:
parentObjectEntityId- the parent object entity id
-
getParentObjectEntityClass
Gets parent object entity class.- Returns:
- the parent object entity class
-
setParentObjectEntityClass
Sets parent object entity class.- Parameters:
parentObjectEntityClass- the parent object entity class
-
getLanguage
Gets language.- Returns:
- the language
-
setLanguage
Sets language.- Parameters:
language- the language
-
getCountry
Gets country.- Returns:
- the country
-
setCountry
Sets country.- Parameters:
country- the country
-
getWell
Gets well.- Returns:
- the well
-
setWell
Sets well.- Parameters:
well- the well
-
getAssortment
Gets assortment.- Returns:
- the assortment
-
setAssortment
Sets assortment.- Parameters:
assortment- the assortment
-
getCometGroupId
Gets comet group id.- Returns:
- the comet group id
-
setCometGroupId
Sets comet group id.- Parameters:
cometGroupId- the comet group id
-
getTemplateId
Gets template id.- Returns:
- the template id
-
setTemplateId
Sets template id.- Parameters:
templateId- the template id
-
getWidth
Gets width.- Returns:
- the width
-
setWidth
Sets width.- Parameters:
width- the width
-
getHeight
Gets height.- Returns:
- the height
-
setHeight
Sets height.- Parameters:
height- the height
-
getCreatedOn
Gets created on.- Returns:
- the created on
-
setCreatedOn
Sets created on.- Parameters:
createdOn- the created on
-
getCreatedBy
Gets created by.- Returns:
- the created by
-
setCreatedBy
Sets created by.- Parameters:
createdBy- the created by
-
getUpdatedOn
Gets updated on.- Returns:
- the updated on
-
setUpdatedOn
Sets updated on.- Parameters:
updatedOn- the updated on
-
getUpdatedBy
Gets updated by.- Returns:
- the updated by
-
setUpdatedBy
Sets updated by.- Parameters:
updatedBy- the updated by
-
getPublicationPlannerRootPublicationId
Gets publication planner root publication id.- Returns:
- the publication planner root publication id
-
setPublicationPlannerRootPublicationId
Sets publication planner root publication id.- Parameters:
publicationPlannerRootPublicationId- the publication planner root publication id
-
getFileId
Gets file id.- Returns:
- the file id
-
setFileId
Sets file id.- Parameters:
fileId- the file id
-
getX
Gets x.- Returns:
- the x
-
setX
Sets x.- Parameters:
x- the x
-
getY
Gets y.- Returns:
- the y
-
setY
Sets y.- Parameters:
y- the y
-
getLabel
Gets label.- Returns:
- the label
-
setLabel
Sets label.- Parameters:
label- the label
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description- the description
-
getComponent
Gets component.- Returns:
- the component
-
setComponent
Sets component.- Parameters:
component- the component
-
getTargetgroup
Gets targetgroup.- Returns:
- the targetgroup
-
setTargetgroup
Sets targetgroup.- Parameters:
targetgroup- the targetgroup
-
getMarket
Gets market.- Returns:
- the market
-
setMarket
Sets market.- Parameters:
market- the market
-
getSnippetContext
Gets snippet context.- Returns:
- the snippet context
-
setSnippetContext
Sets snippet context.- Parameters:
snippetContext- the snippet context
-
getLayer
Gets layer.- Returns:
- the layer
-
setLayer
Sets layer.- Parameters:
layer- the layer
-
getPageNumber
Gets page number.- Returns:
- the page number
-
setPageNumber
Sets page number.- Parameters:
pageNumber- the page number
-
getItemId
Gets item id.- Returns:
- the itemId
-
setItemId
Sets item id.- Parameters:
itemId- the itemId to set
-
getItemGroupId
Gets item group id.- Returns:
- the itemGroupId
-
setItemGroupId
Sets item group id.- Parameters:
itemGroupId- the itemGroupId to set
-
getItemEntityId
Gets item entity id.- Returns:
- the itemEntityId
-
setItemEntityId
Sets item entity id.- Parameters:
itemEntityId- the itemEntityId to set
-
getItemEntityClass
Gets item entity class.- Returns:
- the itemEntityClass
-
setItemEntityClass
Sets item entity class.- Parameters:
itemEntityClass- the itemEntityClass to set
-
updateWith
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 namedocumentPath- the document pathpublicationPlannerDocumentId- the publication planner document idpublication- the publicationpublicationType- the publication type- Throws:
CometException- the comet exception
-