public class JahiaNodeTypeInstanceHandler
extends org.apache.jackrabbit.core.NodeTypeInstanceHandler
| Constructor and Description |
|---|
JahiaNodeTypeInstanceHandler(String userId)
Creates a new node type instance handler.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.core.value.InternalValue[] |
computeSystemGeneratedPropertyValues(org.apache.jackrabbit.core.state.NodeState parent,
org.apache.jackrabbit.spi.QPropertyDefinition def) |
void |
setCreated(Calendar created) |
void |
setCreatedBy(String createdBy) |
void |
setDefaultValues(org.apache.jackrabbit.core.state.PropertyState property,
org.apache.jackrabbit.core.state.NodeState parent,
org.apache.jackrabbit.spi.QPropertyDefinition def) |
void |
setLastModified(Calendar lastModified) |
void |
setLastModifiedBy(String lastModifiedBy) |
public JahiaNodeTypeInstanceHandler(String userId)
userId - the user id. if null, is used.public void setCreated(Calendar created)
public void setLastModified(Calendar lastModified)
public void setCreatedBy(String createdBy)
public void setLastModifiedBy(String lastModifiedBy)
public org.apache.jackrabbit.core.value.InternalValue[] computeSystemGeneratedPropertyValues(org.apache.jackrabbit.core.state.NodeState parent,
org.apache.jackrabbit.spi.QPropertyDefinition def)
computeSystemGeneratedPropertyValues in class org.apache.jackrabbit.core.NodeTypeInstanceHandlerpublic void setDefaultValues(org.apache.jackrabbit.core.state.PropertyState property,
org.apache.jackrabbit.core.state.NodeState parent,
org.apache.jackrabbit.spi.QPropertyDefinition def)
throws javax.jcr.RepositoryException
setDefaultValues in class org.apache.jackrabbit.core.NodeTypeInstanceHandlerjavax.jcr.RepositoryExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.