public class CometProduct extends Object
| Constructor and Description |
|---|
CometProduct() |
CometProduct(int id,
int id2,
int id3,
int imageId,
int classId,
String num,
String name,
boolean forceDelete,
int panelStatementId,
int docId,
String masterpage,
String grid,
String gridelement,
int gridId,
int gridelementId,
int pageitemId,
String stringId)
See: Doku_deDE/InDesign/Plugins/products.html#Rueckgabewerte Products are equal if all ID-1, ID-2, ID-3 and the
String-ID (case sensitive) are equal.
If String-IDs are used, every panelstatement has to specify the "hasstringids" setting. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getClassId()
Gets the classId value for this CometProduct.
|
int |
getDocId()
Gets the docId value for this CometProduct.
|
String |
getGrid()
Gets the grid value for this CometProduct.
|
String |
getGridelement()
Gets the gridelement value for this CometProduct.
|
int |
getGridelementId()
Gets the gridelementId value for this CometProduct.
|
int |
getGridId()
Gets the gridId value for this CometProduct.
|
int |
getId()
Gets the id value for this CometProduct.
|
int |
getId2()
Gets the id2 value for this CometProduct.
|
int |
getId3()
Gets the id3 value for this CometProduct.
|
int |
getImageId()
Gets the imageId value for this CometProduct.
|
String |
getMasterpage()
Gets the masterpage value for this CometProduct.
|
String |
getName()
Gets the name value for this CometProduct.
|
String |
getNum()
Gets the num value for this CometProduct.
|
int |
getPageitemId()
Gets the pageitemId value for this CometProduct.
|
int |
getPanelStatementId()
Gets the panelStatementId value for this CometProduct.
|
String |
getStringId()
Gets the stringId value for this CometProduct.
|
int |
hashCode() |
boolean |
isForceDelete()
Gets the forceDelete value for this CometProduct.
|
void |
setClassId(int classId)
Sets the classId value for this CometProduct.
|
void |
setDocId(int docId)
Sets the docId value for this CometProduct.
|
void |
setForceDelete(boolean forceDelete)
Sets the forceDelete value for this CometProduct.
|
void |
setGrid(String grid)
Sets the grid value for this CometProduct.
|
void |
setGridelement(String gridelement)
Sets the gridelement value for this CometProduct.
|
void |
setGridelementId(int gridelementId)
Sets the gridelementId value for this CometProduct.
|
void |
setGridId(int gridId)
Sets the gridId value for this CometProduct.
|
void |
setId(int id)
Sets the id value for this CometProduct.
|
void |
setId2(int id2)
Sets the id2 value for this CometProduct.
|
void |
setId3(int id3)
Sets the id3 value for this CometProduct.
|
void |
setImageId(int imageId)
Sets the imageId value for this CometProduct.
|
void |
setMasterpage(String masterpage)
Sets the masterpage value for this CometProduct.
|
void |
setName(String name)
Sets the name value for this CometProduct.
|
void |
setNum(String num)
Sets the num value for this CometProduct.
|
void |
setPageitemId(int pageitemId)
Sets the pageitemId value for this CometProduct.
|
void |
setPanelStatementId(int panelStatementId)
Sets the panelStatementId value for this CometProduct.
|
void |
setStringId(String stringId)
Sets the stringId value for this CometProduct.
|
String |
toString() |
public CometProduct()
public CometProduct(int id,
int id2,
int id3,
int imageId,
int classId,
String num,
String name,
boolean forceDelete,
int panelStatementId,
int docId,
String masterpage,
String grid,
String gridelement,
int gridId,
int gridelementId,
int pageitemId,
String stringId)
id - ID-1 (>0)id2 - ID-2 (>0)id3 - ID-3 (>0)imageId - ID of the icon that represents this product (the ID/position within the icon-library) (see:
Doku_deDE/InDesign/Plugins/products.html#Rueckgabewerte)classId - Classifies placeholders and lists (3=product) (see: Doku_deDE/InDesign/Plugins/w2plugins.html#ClassID)num - Product numbername - Product nameforceDelete - true = Don't display the product. If it is already used in the document, it will be shown. If it is not
used in the document anymore, it will be deleted from the product list panelStatementId - Statement ID of the subordinated search request (has to be > 10000). 0 = no subordinated items/not
foldable.docId - (Unused. Should be 0) (optional. Used for product placing)masterpage - Name of the masterpage that shall be used if a new page has to be created for placing this product
(Prefix + hyphenate(-) + Name)grid - Name of the grid that shall be used to place this productgridelement - Name of the grid element in which to place this productgridId - ID of the grid that shall be used to place this productgridelementId - ID of the grid element in which to place this productpageitemId - ID of the template that shall be used to place this product. 0 = default template.stringId - String-IDpublic int getId()
public void setId(int id)
id - public int getId2()
public void setId2(int id2)
id2 - public int getId3()
public void setId3(int id3)
id3 - public int getImageId()
public void setImageId(int imageId)
imageId - public int getClassId()
public void setClassId(int classId)
classId - public String getNum()
public void setNum(String num)
num - public String getName()
public void setName(String name)
name - public boolean isForceDelete()
public void setForceDelete(boolean forceDelete)
forceDelete - public int getPanelStatementId()
public void setPanelStatementId(int panelStatementId)
panelStatementId - public int getDocId()
public void setDocId(int docId)
docId - public String getMasterpage()
public void setMasterpage(String masterpage)
masterpage - public String getGrid()
public void setGrid(String grid)
grid - public String getGridelement()
public void setGridelement(String gridelement)
gridelement - public int getGridId()
public void setGridId(int gridId)
gridId - public int getGridelementId()
public void setGridelementId(int gridelementId)
gridelementId - public int getPageitemId()
public void setPageitemId(int pageitemId)
pageitemId - public String getStringId()
public void setStringId(String stringId)
stringId - Copyright © 2017 SAP SE. All Rights Reserved.