Class TagCloud
- java.lang.Object
-
- org.silverpeas.core.tagcloud.model.TagCloud
-
- All Implemented Interfaces:
Serializable
public class TagCloud extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_FORUM
static int
TYPE_MESSAGE
static int
TYPE_PUBLICATION
static int
TYPE_UNDEFINED
Elements types which can contains tagclouds.
-
Constructor Summary
Constructors Constructor Description TagCloud(int id, String tag, String label, String instanceId, String externalId, int externalType)
TagCloud(String instanceId, String externalId, int externalType)
TagCloud(String tag, String label, String instanceId, String externalId, int externalType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
String
getExternalId()
int
getExternalType()
int
getId()
String
getInstanceId()
String
getLabel()
String
getTag()
void
incrementCount()
void
setCount(int count)
void
setExternalId(String externalId)
void
setExternalType(int externalType)
void
setId(int id)
void
setInstanceId(String instanceId)
void
setLabel(String label)
void
setTag(String tag)
String
toString()
-
-
-
Field Detail
-
TYPE_UNDEFINED
public static final int TYPE_UNDEFINED
Elements types which can contains tagclouds.- See Also:
- Constant Field Values
-
TYPE_PUBLICATION
public static final int TYPE_PUBLICATION
- See Also:
- Constant Field Values
-
TYPE_FORUM
public static final int TYPE_FORUM
- See Also:
- Constant Field Values
-
TYPE_MESSAGE
public static final int TYPE_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setId
public void setId(int id)
-
getId
public int getId()
-
setTag
public void setTag(String tag)
-
getTag
public String getTag()
-
setLabel
public void setLabel(String label)
-
getLabel
public String getLabel()
-
setInstanceId
public void setInstanceId(String instanceId)
-
getInstanceId
public String getInstanceId()
-
setExternalId
public void setExternalId(String externalId)
-
getExternalId
public String getExternalId()
-
setExternalType
public void setExternalType(int externalType)
-
getExternalType
public int getExternalType()
-
setCount
public void setCount(int count)
-
getCount
public int getCount()
-
incrementCount
public void incrementCount()
-
-