|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.ocm.manager.impl.CustomNodeTypeCreatorImpl
public class CustomNodeTypeCreatorImpl
Default implementation of the jackrabbit custom node creator.
Constructor Summary | |
---|---|
CustomNodeTypeCreatorImpl()
Creates a new instance of CustomNodeTypeCreatorImpl. |
|
CustomNodeTypeCreatorImpl(ObjectContentManagerImpl jcrSession)
Creates a new instance of CustomNodeTypeCreatorImpl with a jcr session. |
Method Summary | |
---|---|
boolean |
addJcrCustomNodeType()
Method to add a jcr custom node type to an existing jcr repository. |
boolean |
createInitialJcrCustomNodeTypes()
This method is supposed to create custom node types on repository setup. |
ObjectContentManager |
getJcrSession()
Getter for property jcrSession. |
void |
setJcrSession(ObjectContentManagerImpl jcrSession)
Setter for property jcrSession. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomNodeTypeCreatorImpl()
public CustomNodeTypeCreatorImpl(ObjectContentManagerImpl jcrSession)
jcrSession
- JcrSessionMethod Detail |
---|
public boolean createInitialJcrCustomNodeTypes() throws CustomNodeTypeCreationException
createInitialJcrCustomNodeTypes
in interface CustomNodeTypeCreator
CustomNodeTypeCreationException
public boolean addJcrCustomNodeType() throws CustomNodeTypeCreationException
addJcrCustomNodeType
in interface CustomNodeTypeCreator
CustomNodeTypeCreationException
public void setJcrSession(ObjectContentManagerImpl jcrSession)
setJcrSession
in interface CustomNodeTypeCreator
jcrSession
- JcrSessionpublic ObjectContentManager getJcrSession()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |