public class Node extends ContentNodeItem implements Serializable
ContentNodeItem.ItemType
Constructor and Description |
---|
Node()
Create empty instance
|
Modifier and Type | Method and Description |
---|---|
String |
getBinaryPublishDir()
Get the publish directory for binaries
|
Editor |
getContentEditor()
Editor to be used in the node.
|
Integer |
getContentRepositoryId()
ID of the assigned contentrepository
|
Integer |
getDefaultFileFolderId()
Default File Upload Folder ID
|
Integer |
getDefaultImageFolderId()
Default Image Upload Folder ID
|
Integer |
getEditorVersion()
Editor to be used in the node
Possible values are 0 for LiveEditor and 1 for Aloha editor.
|
Integer |
getFolderId()
ID of the root folder
|
String |
getHost()
Hostname for publishing into the Filesystem
|
List<Integer> |
getLanguagesId() |
Integer |
getMasterId()
The id of the master node if this is a channel.
|
String |
getPublishDir()
Publish directory
|
Boolean |
isDisablePublish()
True if publishing content modifications is disabled
|
Boolean |
isHttps()
True if secure https is enabled for this node
|
Boolean |
isPublishContentMap()
True if the node shall publish into a contentmap (if a contentrepository is assigned)
|
Boolean |
isPublishFs()
True if the node shall publish into the filesystem
|
Boolean |
isUtf8()
True if the node content should be encoded in UTF8
|
void |
setBinaryPublishDir(String binaryPublishDir)
Set the publish directory for binaries
|
void |
setContentEditor(Editor contentEditor)
Set the editor.
|
void |
setContentRepositoryId(Integer contentRepositoryId)
Set the contentrepository id
|
void |
setDefaultFileFolderId(Integer defaultFileFolderId)
Set the default file folder id
|
void |
setDefaultImageFolderId(Integer defaultImageFolderId)
Set the default image folder ID
|
void |
setDisablePublish(Boolean disablePublish)
Set true for disabling publishing content modifications
|
void |
setEditorVersion(Integer editorVersion)
Set the editor
Possible values are 0 for LiveEditor and 1 for Aloha editor.
|
void |
setFolderId(Integer folderId)
Set the root folder id
|
void |
setHost(String host)
Set the hostname
|
void |
setHttps(Boolean https)
Set whether secure https is enabled for the node
|
void |
setLanguagesId(List<Integer> languagesId) |
void |
setMasterId(Integer masterId)
Set the id of the master channel.
|
void |
setPublishContentMap(Boolean publishContentMap)
Set true for publishing into contentmap
|
void |
setPublishDir(String publishDir)
Set the publish directory
|
void |
setPublishFs(Boolean publishFs)
Set true for publishing into the filesystem
|
void |
setUtf8(Boolean utf8)
Set whether the node should be encoded in UTF8
|
getCdate, getCreator, getDeleted, getEdate, getEditor, getFolderDeleted, getGlobalId, getId, getMasterDeleted, getName, getType, setCdate, setCreator, setDeleted, setEdate, setEditor, setFolderDeleted, setGlobalId, setId, setMasterDeleted, setName, setType
public Integer getFolderId()
public void setFolderId(Integer folderId)
folderId
- ID of the root folderpublic String getPublishDir()
public void setPublishDir(String publishDir)
pubDir
- publish directorypublic String getBinaryPublishDir()
public void setBinaryPublishDir(String binaryPublishDir)
binaryPublishDir
- publish directory for binariespublic Boolean isHttps()
public void setHttps(Boolean https)
https
- public String getHost()
public void setHost(String host)
host
- hostnamepublic Boolean isUtf8()
public void setUtf8(Boolean utf8)
utf8
- public Boolean isPublishFs()
public void setPublishFs(Boolean publishFs)
publishFs
- public Boolean isPublishContentMap()
public void setPublishContentMap(Boolean publishContentMap)
publishContentMap
- public Integer getContentRepositoryId()
public void setContentRepositoryId(Integer contentRepositoryId)
contentRepositoryId
- public Boolean isDisablePublish()
public void setDisablePublish(Boolean disablePublish)
disablePublish
- public Integer getEditorVersion()
public void setEditorVersion(Integer editorVersion)
contentEditor
- public Editor getContentEditor()
getEditorVersion()
.getEditorVersion()
public void setContentEditor(Editor contentEditor)
setEditorVersion(java.lang.Integer)
.contentEditor
- The editor to be used.setEditorVersion(Integer)
public Integer getDefaultFileFolderId()
public void setDefaultFileFolderId(Integer defaultFileFolderId)
defaultFileFolderId
- public Integer getDefaultImageFolderId()
public void setDefaultImageFolderId(Integer defaultImageFolderId)
defaultImageFolderId
- public Integer getMasterId()
null
otherwise.public void setMasterId(Integer masterId)
masterId
- Set to the id of the master channel if this
is a channel, or to null
if this is a normal node.Copyright © 2015 Gentics Software. All rights reserved.