|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.configuration.channel.BlueprintService
public class BlueprintService
Field Summary | |
---|---|
static String |
SUBSITE_TEMPLATES_PATH
|
Constructor Summary | |
---|---|
BlueprintService(javax.jcr.Node blueprint)
|
Method Summary | |
---|---|
Channel |
createChannel()
Creates a new channel with ID 'null'. |
String |
getContentRoot()
The contentRoot must start with a / and be a valid jcr path |
String |
getDescription()
|
String |
getId()
Unique id for this blueprint |
String |
getName()
The name of the blue print as provided in the property hst:name, if the property doesn't exist, the id (node name) is returned as the name. |
javax.jcr.Node |
getNode(javax.jcr.Session session)
|
boolean |
hasContentPrototype()
Does the blueprint have a content prototype. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SUBSITE_TEMPLATES_PATH
Constructor Detail |
---|
public BlueprintService(javax.jcr.Node blueprint) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Method Detail |
---|
public String getId()
Blueprint
getId
in interface Blueprint
public String getName()
Blueprint
getName
in interface Blueprint
public String getDescription()
getDescription
in interface Blueprint
null
if the property doesn't exist.public String getContentRoot()
Blueprint
getContentRoot
in interface Blueprint
null
if the property doesn't exist.public Channel createChannel()
Blueprint
ChannelManager.persist(java.lang.String, org.hippoecm.hst.configuration.channel.Channel)
.
createChannel
in interface Blueprint
public javax.jcr.Node getNode(javax.jcr.Session session) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public boolean hasContentPrototype()
Blueprint
hasContentPrototype
in interface Blueprint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |