|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.cms.CmsNode
public class CmsNode
Models a cms node
Constructor Summary | |
---|---|
CmsNode(java.lang.String namein,
java.lang.String pathin,
java.lang.String versionin,
java.lang.String uuidin,
java.lang.String typein)
Constructor of the class useful to create a node setting its name, path, current version name, uuid and type |
|
CmsNode(java.lang.String namein,
java.lang.String pathin,
java.lang.String versionin,
java.lang.String uuidin,
java.lang.String typein,
java.io.InputStream contin)
Constructor of the class useful to create a node setting its name, path, current version name, uuid, type and content |
|
CmsNode(java.lang.String namein,
java.lang.String pathin,
java.lang.String versionin,
java.lang.String uuidin,
java.lang.String typein,
java.util.List childsin,
java.util.List propsin,
java.util.List versin)
Constructor of the class useful to create a node setting its name, path, current version name, uuid, type, list of childs, list of properties and list of versions |
|
CmsNode(java.lang.String namein,
java.lang.String pathin,
java.lang.String versionin,
java.lang.String uuidin,
java.lang.String typein,
java.util.List childsin,
java.util.List propsin,
java.util.List versin,
java.io.InputStream contin)
Constructor of the class useful to create a node setting its name, path, current version name, uuid, type, list of childs, list of properties, list of versions and content |
Method Summary | |
---|---|
java.util.List |
getChilds()
Gets the list of the node childs |
java.io.InputStream |
getContent()
Gets the content of the node |
java.lang.String |
getName()
Gets the name of the node |
java.lang.String |
getPath()
Gets the path of the node |
java.util.List |
getProperties()
Gets the list of the node properties |
java.lang.String |
getType()
Gets the type of the node |
java.lang.String |
getUuid()
Gets the uuid of the node |
java.lang.String |
getVersion()
Gets the current version name |
java.util.List |
getVersions()
Gets the list of the node versions |
void |
setChilds(java.util.List childs)
Sets the childs list |
void |
setContent(java.io.InputStream content)
Sets the content of the node |
void |
setName(java.lang.String name)
Sets the name of the node |
void |
setPath(java.lang.String path)
Sets the path of the node |
void |
setProperties(java.util.List properties)
Sets the list of node properties |
void |
setType(java.lang.String type)
Sets the type |
void |
setUuid(java.lang.String uuid)
Sets the uuid |
void |
setVersion(java.lang.String version)
Sets tbe name of the current version |
void |
setVersions(java.util.List versions)
Sets the list of the node versions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsNode(java.lang.String namein, java.lang.String pathin, java.lang.String versionin, java.lang.String uuidin, java.lang.String typein)
namein
- the name of the nodepathin
- the path of the nodeversionin
- the current version nameuuidin
- the uuid of the nodetypein
- the type of the nodepublic CmsNode(java.lang.String namein, java.lang.String pathin, java.lang.String versionin, java.lang.String uuidin, java.lang.String typein, java.io.InputStream contin)
namein
- the name of the nodepathin
- the path of the nodeversionin
- the current version nameuuidin
- the uuid of the nodetypein
- the type of the nodecontin
- the InputStream content of the nodepublic CmsNode(java.lang.String namein, java.lang.String pathin, java.lang.String versionin, java.lang.String uuidin, java.lang.String typein, java.util.List childsin, java.util.List propsin, java.util.List versin, java.io.InputStream contin)
namein
- the name of the nodepathin
- the path of the nodeversionin
- the current version nameuuidin
- the uuid of the nodetypein
- the type of the nodechidsin
- the list of the node childs
Each child must be of type it.eng.spago.cms.CmsNodepropsin
- the list of the node properties
Each property must be of type it.eng.spago.cms.CmsPropertyverin
- the list of the node versions
Each version must be of type it.eng.spago.cms.CmsVersioncontin
- the InputStream content of the nodepublic CmsNode(java.lang.String namein, java.lang.String pathin, java.lang.String versionin, java.lang.String uuidin, java.lang.String typein, java.util.List childsin, java.util.List propsin, java.util.List versin)
namein
- the name of the nodepathin
- the path of the nodeversionin
- the current version nameuuidin
- the uuid of the nodetypein
- the type of the nodechidsin
- the list of the node childs
Each child must be of type it.eng.spago.cms.CmsNodepropsin
- the list of the node properties
Each property must be of type it.eng.spago.cms.CmsPropertyverin
- the list of the node versions
Each version must be of type it.eng.spago.cms.CmsVersionMethod Detail |
---|
public java.util.List getChilds()
public void setChilds(java.util.List childs)
childs
- The childs list. Each child must be an instance of
type it.eng.spago.cms.CmsChildpublic java.io.InputStream getContent()
public void setContent(java.io.InputStream content)
content
- The content of the nodepublic java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the nodepublic java.lang.String getPath()
public void setPath(java.lang.String path)
path
- The path of the nodepublic java.util.List getProperties()
public void setProperties(java.util.List properties)
properties
- The list of node properties. Each property mmust be an
instance of type it.eng.spago.cms.CmsPropertypublic java.lang.String getType()
public void setType(java.lang.String type)
type
- The type of the nodepublic java.lang.String getUuid()
public void setUuid(java.lang.String uuid)
uuid
- The uuid of the nodepublic java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- The name of the current versionpublic java.util.List getVersions()
public void setVersions(java.util.List versions)
versions
- The list of the node versions. Each version must be an
instance of the type it.eng.spago.cms.CmsVersion
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |