com.stratelia.silverpeas.treeManager.model
Class TreeNodePersistence

java.lang.Object
  extended by com.stratelia.webactiv.persistence.SilverpeasBean
      extended by com.stratelia.silverpeas.treeManager.model.TreeNodePersistence
All Implemented Interfaces:
SilverpeasBeanIntf, Serializable

public class TreeNodePersistence
extends SilverpeasBean
implements Serializable

Class declaration

Author:
See Also:
Serialized Form

Constructor Summary
TreeNodePersistence()
          Constructor declaration
TreeNodePersistence(String id, String treeId, String name, String description, String creationDate, String creatorId, String path, int levelNumber, int orderNumber, String fatherId)
          Constructor declaration
TreeNodePersistence(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
 int _getConnectionType()
          determine the connection type to the database
 String getCreationDate()
          Method declaration
 String getCreatorId()
          Method declaration
 String getDescription()
          Method declaration
 String getFatherId()
          Method declaration
 String getLang()
           
 int getLevelNumber()
          Method declaration
 String getName()
          Method declaration
 int getOrderNumber()
          Method declaration
 String getPath()
          Method declaration
 String getTreeId()
           
 void setCreationDate(String date)
          Method declaration
 void setCreatorId(String creatorId)
          Method declaration
 void setDescription(String description)
           
 void setFatherId(String fatherId)
          Method declaration
 void setLang(String lang)
           
 void setLevelNumber(int levelNumber)
          Method declaration
 void setName(String name)
           
 void setOrderNumber(int orderNumber)
          Method declaration
 void setPath(String path)
          Method declaration
 void setTreeId(String treeId)
           
 String toString()
          Method declaration
 
Methods inherited from class com.stratelia.webactiv.persistence.SilverpeasBean
_getDatasourceName, _getJdbcData, _getTableName, getPK, getSureString, setPK
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeNodePersistence

public TreeNodePersistence()
Constructor declaration

See Also:

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 -
See Also:

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 -
See Also:

TreeNodePersistence

public TreeNodePersistence(String id,
                           String treeId,
                           String name,
                           String description,
                           String creationDate,
                           String creatorId,
                           String path,
                           int levelNumber,
                           int orderNumber,
                           String fatherId,
                           String lang)
Method Detail

getTreeId

public String getTreeId()

setTreeId

public void setTreeId(String treeId)

getName

public String getName()
Method declaration

Returns:
See Also:

getDescription

public String getDescription()
Method declaration

Returns:
See Also:

getCreationDate

public String getCreationDate()
Method declaration

Returns:
See Also:

getCreatorId

public String getCreatorId()
Method declaration

Returns:
See Also:

getPath

public String getPath()
Method declaration

Returns:
See Also:

getLevelNumber

public int getLevelNumber()
Method declaration

Returns:
See Also:

getOrderNumber

public int getOrderNumber()
Method declaration

Returns:
See Also:

getFatherId

public String getFatherId()
Method declaration

Returns:
See Also:

setName

public void setName(String name)

setDescription

public void setDescription(String description)

setCreationDate

public void setCreationDate(String date)
Method declaration

Parameters:
date -
See Also:

setCreatorId

public void setCreatorId(String creatorId)
Method declaration

Parameters:
creatorId -
See Also:

setFatherId

public void setFatherId(String fatherId)
Method declaration

Parameters:
fatherId -
See Also:

setPath

public void setPath(String path)
Method declaration

Parameters:
path -
See Also:

setLevelNumber

public void setLevelNumber(int levelNumber)
Method declaration

Parameters:
levelNumber -
See Also:

setOrderNumber

public void setOrderNumber(int orderNumber)
Method declaration

Parameters:
levelNumber -
See Also:

getLang

public String getLang()

setLang

public void setLang(String lang)

toString

public String toString()
Method declaration

Overrides:
toString in class Object
Returns:
See Also:

_getConnectionType

public int _getConnectionType()
determine the connection type to the database

Specified by:
_getConnectionType in interface SilverpeasBeanIntf
Overrides:
_getConnectionType in class SilverpeasBean


Copyright © 2016 Silverpeas. All Rights Reserved.