org.apache.jackrabbit.core
Class NodeTypeInstanceHandler
java.lang.Object
org.apache.jackrabbit.core.NodeTypeInstanceHandler
public class NodeTypeInstanceHandler
- extends Object
The NodeTypeInstanceHandler
is used to provide or initialize
system protected properties (or child nodes).
Field Summary |
static String |
DEFAULT_USERID
Default user id in the case where the creating user cannot be determined. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_USERID
public static final String DEFAULT_USERID
- Default user id in the case where the creating user cannot be determined.
- See Also:
- Constant Field Values
NodeTypeInstanceHandler
public NodeTypeInstanceHandler(String userId)
- Creates a new node type instance handler.
- Parameters:
userId
- the user id. if null
, "system" is used.
computeSystemGeneratedPropertyValues
public InternalValue[] computeSystemGeneratedPropertyValues(NodeState parent,
QPropertyDefinition def)
- Computes the values of well-known system (i.e. protected) properties.
- Parameters:
parent
- the parent node statedef
- the definition of the property to compute
- Returns:
- the computed values
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.