public class

Node

extends DrupalEntity
java.lang.Object
   ↳ org.mule.modules.drupal.model.DrupalEntity
     ↳ org.mule.modules.drupal.model.Node

Class Overview

Class that represents a Node. Node are usually the pages and articles or any custom content type.

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class org.mule.modules.drupal.model.DrupalEntity
Fields
private CustomField body Mutidimensional map that represents the body of the node
private Integer changed The Unix timestamp when the node was most recently saved.
private Integer cid The comment.cid of the last comment.
private Integer comment Whether comments are allowed on this node: 0 = no, 1 = closed (read only), 2 = open (read/write).
private Integer commentCount The total number of comments on this node.
private Integer created The Unix timestamp when the node was created.
private String data Data
private String language The languages.language of this node.
private String lastCommentName The name of the latest author to post a comment on this node, from comment.name.
private Integer lastCommentTimestamp The timestamp of the last comment that was posted within this node, from comment.changed.
private Integer lastCommentUid The user ID of the latest author to post a comment on this node, from comment.uid.
private String name Name
private Integer nid The primary identifier for a node.
private String path The path of the node
private String picture Picture
private Integer promote Boolean indicating whether the node should be displayed on the front page.
private Integer revisionTimestamp A Unix timestamp indicating when this version was created.
private Integer revisionUid The users.uid that created this version.
private Integer status Boolean indicating whether the node is published (visible to non-administrators).
private Integer sticky Boolean indicating whether the node should be displayed at the top of lists in which it appears.
private String title The title of this node, always treated as non-markup plain text.
private Integer tnid The translation set id for this node, which equals the node id of the source post in each set.
private Integer translated A boolean indicating whether this translation page needs to be updated.
private String type The machine-readable name of this type of this node
private Integer uid The users uid that owns this node; initially, this is the user that created it.
private Integer vid The current node revision id version identifier.
[Expand]
Inherited Fields
From class org.mule.modules.drupal.model.DrupalEntity
Public Constructors
Node()
Public Methods
CustomField getBody()
Integer getChanged()
Integer getCid()
Integer getComment()
Integer getCommentCount()
Integer getCreated()
String getData()
String getLanguage()
String getLastCommentName()
Integer getLastCommentTimestamp()
Integer getLastCommentUid()
String getName()
Integer getNid()
String getPath()
String getPicture()
Integer getPromote()
Integer getRevisionTimestamp()
Integer getRevisionUid()
Integer getStatus()
Integer getSticky()
String getTitle()
Integer getTnid()
Integer getTranslated()
String getType()
Integer getUid()
Integer getVid()
void setBody(CustomField body)
void setChanged(Integer changed)
void setCid(Integer cid)
void setComment(Integer comment)
void setCommentCount(Integer commentCount)
void setCreated(Integer created)
void setData(String data)
void setLanguage(String language)
void setLastCommentName(String lastCommentName)
void setLastCommentTimestamp(Integer lastCommentTimestamp)
void setLastCommentUid(Integer lastCommentUid)
void setName(String name)
void setNid(Integer nid)
void setPath(String path)
void setPicture(String picture)
void setPromote(Integer promote)
void setRevisionTimestamp(Integer revisionTimestamp)
void setRevisionUid(Integer revisionUid)
void setStatus(Integer status)
void setSticky(Integer sticky)
void setTitle(String title)
void setTnid(Integer tnid)
void setTranslated(Integer translated)
void setType(String type)
void setUid(Integer uid)
void setVid(Integer vid)
[Expand]
Inherited Methods
From class org.mule.modules.drupal.model.DrupalEntity
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: -5132168862185097644 (0xb8c6df9c7a22f654)

Fields

private CustomField body

Mutidimensional map that represents the body of the node

private Integer changed

The Unix timestamp when the node was most recently saved.

private Integer cid

The comment.cid of the last comment.

private Integer comment

Whether comments are allowed on this node: 0 = no, 1 = closed (read only), 2 = open (read/write).

private Integer commentCount

The total number of comments on this node.

private Integer created

The Unix timestamp when the node was created.

private String data

Data

private String language

The languages.language of this node.

private String lastCommentName

The name of the latest author to post a comment on this node, from comment.name.

private Integer lastCommentTimestamp

The timestamp of the last comment that was posted within this node, from comment.changed.

private Integer lastCommentUid

The user ID of the latest author to post a comment on this node, from comment.uid.

private String name

Name

private Integer nid

The primary identifier for a node.

private String path

The path of the node

private String picture

Picture

private Integer promote

Boolean indicating whether the node should be displayed on the front page.

private Integer revisionTimestamp

A Unix timestamp indicating when this version was created.

private Integer revisionUid

The users.uid that created this version. See User.

private Integer status

Boolean indicating whether the node is published (visible to non-administrators).

private Integer sticky

Boolean indicating whether the node should be displayed at the top of lists in which it appears.

private String title

The title of this node, always treated as non-markup plain text.

private Integer tnid

The translation set id for this node, which equals the node id of the source post in each set.

private Integer translated

A boolean indicating whether this translation page needs to be updated.

private String type

The machine-readable name of this type of this node

private Integer uid

The users uid that owns this node; initially, this is the user that created it. See User

private Integer vid

The current node revision id version identifier.

Public Constructors

public Node ()

Public Methods

public CustomField getBody ()

public Integer getChanged ()

public Integer getCid ()

public Integer getComment ()

public Integer getCommentCount ()

public Integer getCreated ()

public String getData ()

public String getLanguage ()

public String getLastCommentName ()

public Integer getLastCommentTimestamp ()

public Integer getLastCommentUid ()

public String getName ()

public Integer getNid ()

public String getPath ()

public String getPicture ()

public Integer getPromote ()

public Integer getRevisionTimestamp ()

public Integer getRevisionUid ()

public Integer getStatus ()

public Integer getSticky ()

public String getTitle ()

public Integer getTnid ()

public Integer getTranslated ()

public String getType ()

public Integer getUid ()

public Integer getVid ()

public void setBody (CustomField body)

Parameters
body

public void setChanged (Integer changed)

Parameters
changed

public void setCid (Integer cid)

Parameters
cid

public void setComment (Integer comment)

Parameters
comment

public void setCommentCount (Integer commentCount)

Parameters
commentCount

public void setCreated (Integer created)

Parameters
created

public void setData (String data)

Parameters
data

public void setLanguage (String language)

Parameters
language

public void setLastCommentName (String lastCommentName)

Parameters
lastCommentName

public void setLastCommentTimestamp (Integer lastCommentTimestamp)

Parameters
lastCommentTimestamp

public void setLastCommentUid (Integer lastCommentUid)

Parameters
lastCommentUid

public void setName (String name)

Parameters
name

public void setNid (Integer nid)

Parameters
nid

public void setPath (String path)

Parameters
path

public void setPicture (String picture)

Parameters
picture

public void setPromote (Integer promote)

Parameters
promote

public void setRevisionTimestamp (Integer revisionTimestamp)

Parameters
revisionTimestamp

public void setRevisionUid (Integer revisionUid)

Parameters
revisionUid

public void setStatus (Integer status)

Parameters
status

public void setSticky (Integer sticky)

Parameters
sticky

public void setTitle (String title)

Parameters
title

public void setTnid (Integer tnid)

Parameters
tnid

public void setTranslated (Integer translated)

Parameters
translated

public void setType (String type)

Parameters
type

public void setUid (Integer uid)

Parameters
uid

public void setVid (Integer vid)

Parameters
vid