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
|
Integer |
getInheritedFromId()
Return id of the node or channel which inherits the node.
|
Boolean |
getInsecurePreviewUrl()
Whether insecure connections to the preview URL are allowed.
|
List<Integer> |
getLanguagesId() |
Integer |
getMasterId()
The id of the master node if this is a channel.
|
Integer |
getMasterNodeId()
Return the id of the master node of the node.
|
String |
getMeshPreviewUrl()
Preview URL of Mesh Portal
|
String |
getMeshProject()
Mesh Project, this node publishes into
|
Boolean |
getOmitPageExtension() |
PageLanguageCode |
getPageLanguageCode() |
Boolean |
getPublishContentMapFiles()
True if to publish files to the content repository
|
Boolean |
getPublishContentMapFolders()
True if to publish folders to the content repository
|
Boolean |
getPublishContentMapPages()
True if to publish pages to the content repository
|
String |
getPublishDir()
Publish directory
|
Boolean |
getPublishFsFiles()
True if the node shall publish files into the file system
|
Boolean |
getPublishFsPages()
True if the node shall publish pages into the file system
|
Integer |
getUrlRenderWayFiles()
How URLs are rendered for files in this node
|
Integer |
getUrlRenderWayPages()
How URLs are rendered for pages in this node
|
Boolean |
isDisablePublish()
True if publishing content modifications is disabled
|
Boolean |
isHttps()
True if secure https is enabled for this node
|
Boolean |
isPubDirSegment()
True if the publish directories are created from segments defined for the folders.
|
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()
Deprecated.
No longer used since Aloha editor requires UTF-8.
|
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 |
setInheritedFromId(Integer inheritedFromId)
Set the id of the node or channel which inherits the node.
|
void |
setInsecurePreviewUrl(Boolean insecurePreviewUrl)
Set whether insecure connections to the preview URL are allowed.
|
void |
setLanguagesId(List<Integer> languagesId) |
void |
setMasterId(Integer masterId)
Set the id of the master channel.
|
void |
setMasterNodeId(Integer masterNodeId)
Set the id of the master node of the node.
|
void |
setMeshPreviewUrl(String meshPreviewUrl)
Set the Mesh Preview URL
|
void |
setMeshProject(String meshProject)
Set the mesh project
|
void |
setOmitPageExtension(Boolean omitPageExtension) |
void |
setPageLanguageCode(PageLanguageCode pageLanguageCode) |
void |
setPubDirSegment(Boolean pubDirSegment)
Set flag for publish directory segments
|
void |
setPublishContentMap(Boolean publishContentMap)
Set true for publishing into contentmap
Calling this also automatically enables/disables publishing for the
individual object types (pages, files).
|
void |
setPublishContentMapFiles(Boolean publishContentMapFiles)
Set whether to publish files to the content repository
|
void |
setPublishContentMapFolders(Boolean publishContentMapFolders)
Set whether to publish folders to the content repository
|
void |
setPublishContentMapPages(Boolean publishContentMapPages)
Set whether to publish pages to the content repository
|
void |
setPublishDir(String publishDir)
Set the publish directory
|
void |
setPublishFs(Boolean publishFs)
Set true for publishing into the filesystem
Calling this also automatically enables/disables publishing for the
individual object types (pages, files).
|
void |
setPublishFsFiles(Boolean publishFsFiles)
Set true for publishing files into the content repository
|
void |
setPublishFsPages(Boolean publishFsPages)
Set true for publishing pages into the content repository
|
void |
setUrlRenderWayFiles(Integer value)
Set how URLs are rendered for pages in this node.
|
void |
setUrlRenderWayPages(Integer value)
Set how URLs are rendered for pages in this node.
|
void |
setUtf8(Boolean utf8)
Deprecated.
|
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)
publishDir
- publish directorypublic String getBinaryPublishDir()
public void setBinaryPublishDir(String binaryPublishDir)
binaryPublishDir
- publish directory for binariespublic Boolean isPubDirSegment()
public void setPubDirSegment(Boolean pubDirSegment)
pubDirSegment
- flagpublic Boolean isHttps()
public void setHttps(Boolean https)
https
- public String getHost()
public void setHost(String host)
host
- hostname@Deprecated public Boolean isUtf8()
@Deprecated public void setUtf8(Boolean utf8)
utf8
- public Boolean isPublishFs()
public void setPublishFs(Boolean publishFs)
publishFs
- public Boolean getPublishFsPages()
public void setPublishFsPages(Boolean publishFsPages)
publishFsPages
- Set to true for publishing pages into the content repositorypublic Boolean getPublishFsFiles()
public void setPublishFsFiles(Boolean publishFsFiles)
publishFsFiles
- public Boolean isPublishContentMap()
public void setPublishContentMap(Boolean publishContentMap)
publishContentMap
- public Boolean getPublishContentMapPages()
public void setPublishContentMapPages(Boolean publishContentMapPages)
publishContentMapPages
- public Boolean getPublishContentMapFiles()
public void setPublishContentMapFiles(Boolean publishContentMapFiles)
publishContentMapFiles
- public Boolean getPublishContentMapFolders()
public void setPublishContentMapFolders(Boolean publishContentMapFolders)
publishContentMapFolders
- 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)
editorVersion
- 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.public Integer getInheritedFromId()
public void setInheritedFromId(Integer inheritedFromId)
inheritedFromId
- public Integer getMasterNodeId()
public void setMasterNodeId(Integer masterNodeId)
masterNodeId
- public Integer getUrlRenderWayPages()
public void setUrlRenderWayPages(Integer value)
value
- A value of UrlRenderWaypublic Integer getUrlRenderWayFiles()
public void setUrlRenderWayFiles(Integer value)
value
- A value of UrlRenderWaypublic String getMeshPreviewUrl()
public void setMeshPreviewUrl(String meshPreviewUrl)
meshPreviewUrl
- URLpublic Boolean getInsecurePreviewUrl()
true
when insecure connections to the preview URL are allowedpublic void setInsecurePreviewUrl(Boolean insecurePreviewUrl)
insecurePreviewUrl
- Whether insecure connections to the preview URL are allowedpublic String getMeshProject()
public void setMeshProject(String meshProject)
meshProject
- mesh projectpublic Boolean getOmitPageExtension()
public void setOmitPageExtension(Boolean omitPageExtension)
public PageLanguageCode getPageLanguageCode()
public void setPageLanguageCode(PageLanguageCode pageLanguageCode)
Copyright © 2024 Gentics Software. All rights reserved.