Class TreeNode
- java.lang.Object
-
- org.silverpeas.core.i18n.AbstractI18NBean<TreeNodeI18N>
-
- org.silverpeas.core.pdc.tree.model.TreeNode
-
- All Implemented Interfaces:
Serializable
,I18NBean<TreeNodeI18N>
,Translatable
,Nameable
- Direct Known Subclasses:
PdcValueType
,Value
public class TreeNode extends AbstractI18NBean<TreeNodeI18N> implements Serializable
Class declaration- Author:
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TreeNode()
Constructor declarationTreeNode(String id, String treeId, String name, String description, String creationDate, String creatorId, String path, int levelNumber, int orderNumber, String fatherId)
Constructor declarationTreeNode(TreeNodePersistence persistence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCreationDate()
Method declarationString
getCreatorId()
Method declarationString
getFatherId()
Method declarationint
getLevelNumber()
Method declarationint
getOrderNumber()
Method declarationString
getPath()
Method declarationTreeNodePK
getPK()
protected Class<TreeNodeI18N>
getTranslationType()
String
getTreeId()
boolean
hasFather()
void
setCreationDate(String date)
Method declarationvoid
setCreatorId(String creatorId)
Method declarationvoid
setFatherId(String fatherId)
Method declarationvoid
setLevelNumber(int levelNumber)
Method declarationvoid
setOrderNumber(int orderNumber)
Method declarationvoid
setPath(String path)
Method declarationvoid
setPK(TreeNodePK value)
void
setTranslationsFrom(Map<String,AxisHeaderI18N> translations)
void
setTreeId(String treeId)
-
Methods inherited from class org.silverpeas.core.i18n.AbstractI18NBean
addTranslation, getClonedTranslations, getDescription, getDescription, getLanguage, getLanguages, getLanguageToDisplay, getName, getName, getNextTranslation, getTranslation, getTranslationId, getTranslations, isRemoveTranslation, setDescription, setLanguage, setName, setRemoveTranslation, setTranslationId, setTranslations, setTranslations
-
-
-
-
Constructor Detail
-
TreeNode
public TreeNode()
Constructor declaration
-
TreeNode
public TreeNode(String id, String treeId, String name, String description, String creationDate, String creatorId, String path, int levelNumber, int orderNumber, String fatherId)
Constructor declaration- Parameters:
id
-name
-description
-creationDate
-creatorId
-path
-levelNumber
-fatherId
-
-
TreeNode
public TreeNode(TreeNodePersistence persistence)
-
-
Method Detail
-
getTranslationType
protected Class<TreeNodeI18N> getTranslationType()
- Specified by:
getTranslationType
in classAbstractI18NBean<TreeNodeI18N>
-
getPK
public TreeNodePK getPK()
-
setPK
public void setPK(TreeNodePK value)
-
getTreeId
public String getTreeId()
-
setTreeId
public void setTreeId(String treeId)
-
getCreationDate
public String getCreationDate()
Method declaration- Returns:
-
getCreatorId
public String getCreatorId()
Method declaration- Returns:
-
getPath
public String getPath()
Method declaration- Returns:
-
getLevelNumber
public int getLevelNumber()
Method declaration- Returns:
-
getOrderNumber
public int getOrderNumber()
Method declaration- Returns:
-
getFatherId
public String getFatherId()
Method declaration- Returns:
-
hasFather
public boolean hasFather()
-
setCreationDate
public void setCreationDate(String date)
Method declaration- Parameters:
date
-
-
setCreatorId
public void setCreatorId(String creatorId)
Method declaration- Parameters:
creatorId
-
-
setFatherId
public void setFatherId(String fatherId)
Method declaration- Parameters:
fatherId
-
-
setPath
public void setPath(String path)
Method declaration- Parameters:
path
-
-
setLevelNumber
public void setLevelNumber(int levelNumber)
Method declaration- Parameters:
levelNumber
-
-
setOrderNumber
public void setOrderNumber(int orderNumber)
Method declaration- Parameters:
orderNumber
-
-
setTranslationsFrom
public void setTranslationsFrom(Map<String,AxisHeaderI18N> translations)
-
-