Class Product
- java.lang.Object
-
- com.priint.pubserver.comet.bridge.entitydata.Comet3EntityData
-
- com.priint.pubserver.comet.bridge.entitydata.Product
-
- All Implemented Interfaces:
java.io.Serializable
public class Product extends Comet3EntityData
The type Product.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProduct.PageTypeThe enum Page type.static classProduct.ProductAttributeAttributes 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 classProduct.ProductTypeThe enum Product type.static classProduct.Targettarget for the info1 and info2.
-
Constructor Summary
Constructors Constructor Description Product()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAdParams()Gets ad params.Comet3Attribute[]getAttributes()Get attributes comet 3 attribute [ ].intgetClassId()Gets class id.java.lang.StringgetColumn1()Gets column 1.java.lang.StringgetColumn2()Gets column 2.java.lang.StringgetContent()Gets content.java.lang.StringgetDocid()Gets docid.intgetDocumentPosition()Gets document position.intgetEnd()Gets end.booleangetForceDelete()Gets force delete.intgetGridElementId()Gets grid element id.java.lang.StringgetGridElementName()Gets grid element name.intgetGridId()Gets grid id.java.lang.StringgetGridName()Gets grid name.booleangetHasChildren()Gets has children.intgetIconId()Gets icon id.java.lang.StringgetIconUrl()Gets icon url.intgetId()Gets id.intgetId2()Gets id 2.intgetId3()Gets id 3.java.lang.StringgetInfo1()Product.TargetgetInfo1Target()java.lang.StringgetInfo2()Product.TargetgetInfo2Target()java.lang.StringgetMasterPage()Gets master page.intgetPageItemId()Gets page item id.intgetPageTemplateElementId()Gets page template element id.intgetPageTemplateId()Gets page template id.Product.PageTypegetPageType()Gets page type.intgetPostRuleId()Gets post rule id.java.lang.StringgetPostRuleParams()Gets post rule params.intgetPreRuleId()Gets pre rule id.java.lang.StringgetPreRuleParams()Gets pre rule params.java.lang.StringgetSnippetAttribute()Gets snippet attribute.intgetStart()Gets start.java.lang.StringgetStringId()Gets string id.intgetTagId1()Gets tag id 1.intgetTagId2()Gets tag id 2.Product.ProductTypegetType()Gets type.booleanisToDelete()Is to delete boolean.voidsetAdParams(java.lang.String adParams)Sets ad params.voidsetClassId(int classId)Sets class id.voidsetColumn1(java.lang.String column1)Sets column 1.voidsetColumn2(java.lang.String column2)Sets column 2.voidsetContent(java.lang.String content)Sets content.voidsetDocid(java.lang.String docid)Sets 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(java.lang.String gridElementName)Sets grid element name.voidsetGridId(int gridId)Sets grid id.voidsetGridName(java.lang.String gridName)Sets grid name.voidsetHasChildren(boolean hasChildren)Sets has children.voidsetHierarchy(CometFindStatement.Hierarchy type)Sets hierarchy.voidsetIconId(int iconId)Sets icon id.voidsetIconUrl(java.lang.String iconUrl)Sets icon url.voidsetId(int id)Sets id.voidsetId2(int id2)Sets id 2.voidsetId3(int id3)Sets id 3.voidsetInfo1(java.lang.String info1)voidsetInfo1(java.lang.String info1, Product.Target target)voidsetInfo1Target(Product.Target target)voidsetInfo2(java.lang.String info2)voidsetInfo2(java.lang.String info2, Product.Target target)voidsetInfo2Target(Product.Target target)voidsetMasterPage(java.lang.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(java.lang.String postRuleParams)Sets post rule params.voidsetPreRuleId(int preRuleId)Sets pre rule id.voidsetPreRuleParams(java.lang.String preRuleParams)Sets pre rule params.voidsetSnippetAttribute(java.lang.String snippetAttribute)Sets snippet attribute.voidsetStart(int start)Sets start.voidsetStringId(java.lang.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
-
-
-
-
Method Detail
-
getAttributes
public Comet3Attribute[] 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
public java.lang.String getColumn1()
Gets column 1.- Returns:
- the column 1
-
setColumn1
public void setColumn1(java.lang.String column1)
Sets column 1.- Parameters:
column1- the column 1
-
getColumn2
public java.lang.String getColumn2()
Gets column 2.- Returns:
- the column 2
-
setColumn2
public void setColumn2(java.lang.String column2)
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
public void setHierarchy(CometFindStatement.Hierarchy type)
Sets hierarchy.- Parameters:
type- the type
-
getDocid
public java.lang.String getDocid()
Gets docid.- Returns:
- the docid
-
setDocid
public void setDocid(java.lang.String docid)
Sets docid.- Parameters:
docid- the docid
-
getMasterPage
public java.lang.String getMasterPage()
Gets master page.- Returns:
- the master page
-
setMasterPage
public void setMasterPage(java.lang.String masterPage)
Sets master page.- Parameters:
masterPage- the master page
-
getGridName
@Obsolete(reason="In Comet3 page templates are used rather than grids") public java.lang.String getGridName()
Gets grid name.- Returns:
- the grid name
-
setGridName
@Obsolete(reason="In Comet3 page templates are used rather than grids") public void setGridName(java.lang.String gridName)
Sets grid name.- Parameters:
gridName- the grid name
-
getGridElementName
@Obsolete(reason="In Comet3 page templates are used rather than grids") public java.lang.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(java.lang.String gridElementName)
Sets grid element name.- Parameters:
gridElementName- the grid element name
-
setIconUrl
public void setIconUrl(java.lang.String iconUrl)
Sets icon url.- Parameters:
iconUrl- the icon url
-
getIconUrl
public java.lang.String getIconUrl()
Gets icon url.- Returns:
- the icon url
-
getGridId
@Obsolete(reason="In Comet3 page templates are used rather than grids") public int 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
public java.lang.String getStringId()
Gets string id.- Returns:
- the string id
-
setStringId
public void setStringId(java.lang.String stringId)
Sets string id.- Parameters:
stringId- the string id
-
getContent
public java.lang.String getContent()
Description copied from class:Comet3EntityDataGets content.- Specified by:
getContentin classComet3EntityData- Returns:
- the content
-
setContent
public void setContent(java.lang.String content)
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
public Product.ProductType getType()
Gets type.- Returns:
- the type
-
setType
public void setType(Product.ProductType type)
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
public Product.PageType getPageType()
Gets page type.- Returns:
- the page type
-
setPageType
public void setPageType(Product.PageType pageType)
Sets page type.- Parameters:
pageType- the page type
-
getPreRuleParams
public java.lang.String getPreRuleParams()
Gets pre rule params.- Returns:
- the pre rule params
-
setPreRuleParams
public void setPreRuleParams(java.lang.String preRuleParams)
Sets pre rule params.- Parameters:
preRuleParams- the pre rule params
-
getPostRuleParams
public java.lang.String getPostRuleParams()
Gets post rule params.- Returns:
- the post rule params
-
setPostRuleParams
public void setPostRuleParams(java.lang.String postRuleParams)
Sets post rule params.- Parameters:
postRuleParams- the post rule params
-
getAdParams
public java.lang.String getAdParams()
Gets ad params.- Returns:
- the ad params
-
setAdParams
public void setAdParams(java.lang.String adParams)
Sets ad params.- Parameters:
adParams- the ad params
-
getSnippetAttribute
public java.lang.String getSnippetAttribute()
Gets snippet attribute.- Returns:
- the snippet attribute
-
setSnippetAttribute
public void setSnippetAttribute(java.lang.String snippetAttribute)
Sets snippet attribute.- Parameters:
snippetAttribute- the snippet attribute
-
setInfo1
public void setInfo1(java.lang.String info1, Product.Target target)
-
setInfo2
public void setInfo2(java.lang.String info2, Product.Target target)
-
getInfo1
public java.lang.String getInfo1()
-
setInfo1
public void setInfo1(java.lang.String info1)
-
getInfo2
public java.lang.String getInfo2()
-
setInfo2
public void setInfo2(java.lang.String info2)
-
getInfo1Target
public Product.Target getInfo1Target()
-
setInfo1Target
public void setInfo1Target(Product.Target target)
-
getInfo2Target
public Product.Target getInfo2Target()
-
setInfo2Target
public void setInfo2Target(Product.Target target)
-
-