Class Product
java.lang.Object
com.priint.pubserver.comet.bridge.entitydata.Comet3EntityData
com.priint.pubserver.comet.bridge.entitydata.Product
- All Implemented Interfaces:
Serializable
The type Product.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe enum Page type.static enumAttributes for the Comet3 Product type.
CAUTION! Do not change the order of these attributes or add or remove attributes, otherwise the InDesign Comet Plug-Ins and other clients will misinterpret the data sent from the Publishing Server.static enumThe enum Product type.static enumtarget for the info1 and info2. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets ad params.Get attributes comet 3 attribute [ ].intGets class id.Gets column 1.Gets column 2.Gets content.getDocid()Gets docid.intGets document position.intgetEnd()Gets end.booleanGets force delete.intGets grid element id.Gets grid element name.intGets grid id.Gets grid name.booleanGets has children.intGets icon id.Gets icon url.intgetId()Gets id.intgetId2()Gets id 2.intgetId3()Gets id 3.getInfo1()getInfo2()Gets master page.intGets page item id.intGets page template element id.intGets page template id.Gets page type.intGets post rule id.Gets post rule params.intGets pre rule id.Gets pre rule params.Gets snippet attribute.intgetStart()Gets start.Gets string id.intGets tag id 1.intGets tag id 2.getType()Gets type.booleanIs to delete boolean.voidsetAdParams(String adParams) Sets ad params.voidsetClassId(int classId) Sets class id.voidsetColumn1(String column1) Sets column 1.voidsetColumn2(String column2) Sets column 2.voidsetContent(String content) Sets content.voidSets docid.voidsetDocumentPosition(int documentPosition) Sets document position.voidsetEnd(int end) Sets end.voidsetForceDelete(boolean forceDelete) Sets force delete.voidsetGridElementId(int gridElementId) Sets grid element id.voidsetGridElementName(String gridElementName) Sets grid element name.voidsetGridId(int gridId) Sets grid id.voidsetGridName(String gridName) Sets grid name.voidsetHasChildren(boolean hasChildren) Sets has children.voidSets hierarchy.voidsetIconId(int iconId) Sets icon id.voidsetIconUrl(String iconUrl) Sets icon url.voidsetId(int id) Sets id.voidsetId2(int id2) Sets id 2.voidsetId3(int id3) Sets id 3.voidvoidsetInfo1(String info1, Product.Target target) voidsetInfo1Target(Product.Target target) voidvoidsetInfo2(String info2, Product.Target target) voidsetInfo2Target(Product.Target target) voidsetMasterPage(String masterPage) Sets master page.voidsetPageItemId(int pageItemId) Sets page item id.voidsetPageTemplateElementId(int pageTemplateElementId) Sets page template element id.voidsetPageTemplateId(int pageTemplateId) Sets page template id.voidsetPageType(Product.PageType pageType) Sets page type.voidsetPostRuleId(int postRuleId) Sets post rule id.voidsetPostRuleParams(String postRuleParams) Sets post rule params.voidsetPreRuleId(int preRuleId) Sets pre rule id.voidsetPreRuleParams(String preRuleParams) Sets pre rule params.voidsetSnippetAttribute(String snippetAttribute) Sets snippet attribute.voidsetStart(int start) Sets start.voidsetStringId(String stringId) Sets string id.voidsetTagId1(int tagId1) Sets tag id 1.voidsetTagId2(int tagId2) Sets tag id 2.voidsetToDelete(boolean toDelete) Sets to delete.voidsetType(Product.ProductType type) Sets type.Methods inherited from class com.priint.pubserver.comet.bridge.entitydata.Comet3EntityData
get, getAsObject, set, setAsObject, toStringList
-
Constructor Details
-
Product
public Product()
-
-
Method Details
-
getAttributes
Description copied from class:Comet3EntityDataGet attributes comet 3 attribute [ ].- Specified by:
getAttributesin classComet3EntityData- Returns:
- the comet 3 attribute [ ]
-
getId
public int getId()Gets id.- Returns:
- the id
-
setId
public void setId(int id) Sets id.- Parameters:
id- the id
-
getId2
public int getId2()Gets id 2.- Returns:
- the id 2
-
setId2
public void setId2(int id2) Sets id 2.- Parameters:
id2- the id 2
-
getId3
public int getId3()Gets id 3.- Returns:
- the id 3
-
setId3
public void setId3(int id3) Sets id 3.- Parameters:
id3- the id 3
-
getClassId
public int getClassId()Gets class id.- Returns:
- the class id
-
setIconId
public void setIconId(int iconId) Sets icon id.- Parameters:
iconId- the icon id
-
getIconId
public int getIconId()Gets icon id.- Returns:
- the icon id
-
setClassId
public void setClassId(int classId) Sets class id.- Parameters:
classId- the class id
-
getColumn1
Gets column 1.- Returns:
- the column 1
-
setColumn1
Sets column 1.- Parameters:
column1- the column 1
-
getColumn2
Gets column 2.- Returns:
- the column 2
-
setColumn2
Sets column 2.- Parameters:
column2- the column 2
-
getForceDelete
public boolean getForceDelete()Gets force delete.- Returns:
- the force delete
-
setForceDelete
public void setForceDelete(boolean forceDelete) Sets force delete.- Parameters:
forceDelete- the force delete
-
getHasChildren
public boolean getHasChildren()Gets has children.- Returns:
- the has children
-
setHasChildren
public void setHasChildren(boolean hasChildren) Sets has children.- Parameters:
hasChildren- the has children
-
setHierarchy
Sets hierarchy.- Parameters:
type- the type
-
getDocid
Gets docid.- Returns:
- the docid
-
setDocid
Sets docid.- Parameters:
docid- the docid
-
getMasterPage
Gets master page.- Returns:
- the master page
-
setMasterPage
Sets master page.- Parameters:
masterPage- the master page
-
getGridName
Gets grid name.- Returns:
- the grid name
-
setGridName
@Obsolete(reason="In Comet3 page templates are used rather than grids") public void setGridName(String gridName) Sets grid name.- Parameters:
gridName- the grid name
-
getGridElementName
@Obsolete(reason="In Comet3 page templates are used rather than grids") public String getGridElementName()Gets grid element name.- Returns:
- the grid element name
-
setGridElementName
@Obsolete(reason="In Comet3 page templates are used rather than grids") public void setGridElementName(String gridElementName) Sets grid element name.- Parameters:
gridElementName- the grid element name
-
setIconUrl
Sets icon url.- Parameters:
iconUrl- the icon url
-
getIconUrl
Gets icon url.- Returns:
- the icon url
-
getGridId
Gets grid id.- Returns:
- the grid id
-
setGridId
@Obsolete(reason="In Comet3 page templates are used rather than grids") public void setGridId(int gridId) Sets grid id.- Parameters:
gridId- the grid id
-
getGridElementId
public int getGridElementId()Gets grid element id.- Returns:
- the grid element id
-
setGridElementId
@Obsolete(reason="In Comet3 page templates are used rather than grids") public void setGridElementId(int gridElementId) Sets grid element id.- Parameters:
gridElementId- the grid element id
-
setPageTemplateElementId
public void setPageTemplateElementId(int pageTemplateElementId) Sets page template element id.- Parameters:
pageTemplateElementId- the page template element id
-
getPageTemplateElementId
public int getPageTemplateElementId()Gets page template element id.- Returns:
- the page template element id
-
setPageTemplateId
public void setPageTemplateId(int pageTemplateId) Sets page template id.- Parameters:
pageTemplateId- the page template id
-
getPageTemplateId
public int getPageTemplateId()Gets page template id.- Returns:
- the page template id
-
getPageItemId
public int getPageItemId()Gets page item id.- Returns:
- the page item id
-
setPageItemId
public void setPageItemId(int pageItemId) Sets page item id.- Parameters:
pageItemId- the page item id
-
getStringId
Gets string id.- Returns:
- the string id
-
setStringId
Sets string id.- Parameters:
stringId- the string id
-
getContent
Description copied from class:Comet3EntityDataGets content.- Specified by:
getContentin classComet3EntityData- Returns:
- the content
-
setContent
Description copied from class:Comet3EntityDataSets content.- Specified by:
setContentin classComet3EntityData- Parameters:
content- the content
-
getPreRuleId
public int getPreRuleId()Gets pre rule id.- Returns:
- the pre rule id
-
setPreRuleId
public void setPreRuleId(int preRuleId) Sets pre rule id.- Parameters:
preRuleId- the pre rule id
-
getPostRuleId
public int getPostRuleId()Gets post rule id.- Returns:
- the post rule id
-
setPostRuleId
public void setPostRuleId(int postRuleId) Sets post rule id.- Parameters:
postRuleId- the post rule id
-
getDocumentPosition
public int getDocumentPosition()Gets document position.- Returns:
- the document position
-
setDocumentPosition
public void setDocumentPosition(int documentPosition) Sets document position.- Parameters:
documentPosition- the document position
-
isToDelete
public boolean isToDelete()Is to delete boolean.- Returns:
- the boolean
-
setToDelete
public void setToDelete(boolean toDelete) Sets to delete.- Parameters:
toDelete- the to delete
-
getStart
public int getStart()Gets start.- Returns:
- the start
-
setStart
public void setStart(int start) Sets start.- Parameters:
start- the start
-
getEnd
public int getEnd()Gets end.- Returns:
- the end
-
setEnd
public void setEnd(int end) Sets end.- Parameters:
end- the end
-
getType
Gets type.- Returns:
- the type
-
setType
Sets type.- Parameters:
type- the type
-
getTagId1
public int getTagId1()Gets tag id 1.- Returns:
- the tag id 1
-
setTagId1
public void setTagId1(int tagId1) Sets tag id 1.- Parameters:
tagId1- the tag id 1
-
getTagId2
public int getTagId2()Gets tag id 2.- Returns:
- the tag id 2
-
setTagId2
public void setTagId2(int tagId2) Sets tag id 2.- Parameters:
tagId2- the tag id 2
-
getPageType
Gets page type.- Returns:
- the page type
-
setPageType
Sets page type.- Parameters:
pageType- the page type
-
getPreRuleParams
Gets pre rule params.- Returns:
- the pre rule params
-
setPreRuleParams
Sets pre rule params.- Parameters:
preRuleParams- the pre rule params
-
getPostRuleParams
Gets post rule params.- Returns:
- the post rule params
-
setPostRuleParams
Sets post rule params.- Parameters:
postRuleParams- the post rule params
-
getAdParams
Gets ad params.- Returns:
- the ad params
-
setAdParams
Sets ad params.- Parameters:
adParams- the ad params
-
getSnippetAttribute
Gets snippet attribute.- Returns:
- the snippet attribute
-
setSnippetAttribute
Sets snippet attribute.- Parameters:
snippetAttribute- the snippet attribute
-
setInfo1
-
setInfo2
-
getInfo1
-
setInfo1
-
getInfo2
-
setInfo2
-
getInfo1Target
-
setInfo1Target
-
getInfo2Target
-
setInfo2Target
-