public class Blueprint extends Object
ChannelManager
,
and is defined by the node type hst:blueprint
. Please see the hst.cnd
for the node type definitionConstructor and Description |
---|
Blueprint() |
Modifier and Type | Method and Description |
---|---|
String |
getContentRoot()
Get the
Blueprint content root must start with a / and be a valid JCR path |
String |
getDescription()
|
boolean |
getHasContentPrototype()
Does the
Blueprint have a content prototype. |
String |
getId()
Get
Blueprint id |
String |
getName()
Get the name of the
Blueprint as provided in the property hst:name , if the property doesn't
exist, the id (node name) is returned as the name |
String |
getPath()
Get the normalized absolute path
|
Channel |
getPrototypeChannel()
Get prototype
Channel |
void |
setContentRoot(String contentRoot)
Set
Blueprint content root |
void |
setDescription(String description)
Set the
Blueprint description |
void |
setHasContentPrototype(boolean hasContentPrototype)
Set whether a
Blueprint has content prototype or not |
void |
setId(String id)
Set
Blueprint id |
void |
setName(String name)
Set the
Blueprint name |
void |
setPath(String path)
Set the normalized absolute path
|
void |
setPrototypeChannel(Channel prototypeChannel)
Set the prototype
Channel |
public String getName()
Blueprint
as provided in the property hst:name
, if the property doesn't
exist, the id
(node name) is returned as the nameBlueprint
public void setName(String name)
Blueprint
namename
- - The Blueprint
name to setpublic void setDescription(String description)
Blueprint
descriptiondescription
- The Blueprint
description to setpublic String getContentRoot()
Blueprint
content root must start with a /
and be a valid JCR pathhst:contentRoot
of the Blueprint
if available, null
otherwisepublic void setContentRoot(String contentRoot)
Blueprint
content rootcontentRoot
- - The Blueprint
content root to setpublic boolean getHasContentPrototype()
Blueprint
have a content prototype. If so, it will be used to create a content structuretrue
if a prototype exists, false
otherwisepublic void setHasContentPrototype(boolean hasContentPrototype)
Blueprint
has content prototype or nothasContentPrototype
- - The Blueprint
getHasContentPrototype
flag value to setpublic Channel getPrototypeChannel()
Channel
Channel
public void setPrototypeChannel(Channel prototypeChannel)
Channel
prototypeChannel
- - The prototype Channel
to setpublic String getPath()
public void setPath(String path)
path
- - The normalized absolute path to setCopyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.