Class TreeNodePersistence
- java.lang.Object
-
- org.silverpeas.core.persistence.jdbc.bean.SilverpeasBean
-
- org.silverpeas.core.pdc.tree.model.TreeNodePersistence
-
- All Implemented Interfaces:
Serializable
,SilverpeasBeanIntf
public class TreeNodePersistence extends SilverpeasBean implements Serializable
Class declaration- Author:
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TreeNodePersistence()
Constructor declarationTreeNodePersistence(String id, String treeId, String name, String description, String creationDate, String creatorId, String path, int levelNumber, int orderNumber, String fatherId)
Constructor declarationTreeNodePersistence(String id, String treeId, String name, String description, String creationDate, String creatorId, String path, int levelNumber, int orderNumber, String fatherId, String lang)
TreeNodePersistence(TreeNode node)
TreeNodePersistence(TreeNodePK pk, String treeId, String name, String description, String creationDate, String creatorId, String path, int levelNumber, int orderNumber, String fatherId)
Constructor declaration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
_getConnectionType()
determine the connection type to the databaseString
getCreationDate()
Method declarationString
getCreatorId()
Method declarationString
getDescription()
Method declarationString
getFatherId()
Method declarationString
getLang()
int
getLevelNumber()
Method declarationString
getName()
Method declarationint
getOrderNumber()
Method declarationString
getPath()
Method declarationString
getTreeId()
void
setCreationDate(String date)
Method declarationvoid
setCreatorId(String creatorId)
Method declarationvoid
setDescription(String description)
void
setFatherId(String fatherId)
Method declarationvoid
setLang(String lang)
void
setLevelNumber(int levelNumber)
Method declarationvoid
setName(String name)
void
setOrderNumber(int orderNumber)
Method declarationvoid
setPath(String path)
Method declarationvoid
setTreeId(String treeId)
String
toString()
Method declaration-
Methods inherited from class org.silverpeas.core.persistence.jdbc.bean.SilverpeasBean
_getDatasourceName, _getJdbcData, _getTableName, getPK, getSureString, setPK
-
-
-
-
Constructor Detail
-
TreeNodePersistence
public TreeNodePersistence()
Constructor declaration
-
TreeNodePersistence
public TreeNodePersistence(TreeNode node)
-
TreeNodePersistence
public TreeNodePersistence(TreeNodePK pk, String treeId, String name, String description, String creationDate, String creatorId, String path, int levelNumber, int orderNumber, String fatherId)
Constructor declaration- Parameters:
pk
-name
-description
-creationDate
-creatorId
-path
-levelNumber
-fatherId
-
-
TreeNodePersistence
public TreeNodePersistence(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
-
-
-
Method Detail
-
getTreeId
public String getTreeId()
-
setTreeId
public void setTreeId(String treeId)
-
getName
public String getName()
Method declaration- Returns:
-
getDescription
public String getDescription()
Method declaration- Returns:
-
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:
-
setName
public void setName(String name)
-
setDescription
public void setDescription(String description)
-
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
-
-
getLang
public String getLang()
-
setLang
public void setLang(String lang)
-
_getConnectionType
public int _getConnectionType()
determine the connection type to the database- Specified by:
_getConnectionType
in interfaceSilverpeasBeanIntf
- Overrides:
_getConnectionType
in classSilverpeasBean
-
-