|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use QName | |
org.apache.jackrabbit.core | Contains the core classes that provide the implementation of the JCR API. |
org.apache.jackrabbit.core.nodetype | |
org.apache.jackrabbit.core.nodetype.virtual | |
org.apache.jackrabbit.core.query | |
org.apache.jackrabbit.core.query.lucene | |
org.apache.jackrabbit.core.query.sql | |
org.apache.jackrabbit.core.state | |
org.apache.jackrabbit.core.state.mem | |
org.apache.jackrabbit.core.value | |
org.apache.jackrabbit.core.version | The versioning framework in jackrabbit consists of 3 layers. |
org.apache.jackrabbit.core.virtual | |
org.apache.jackrabbit.core.xml | |
org.apache.jackrabbit.name | |
org.apache.jackrabbit.util |
Uses of QName in org.apache.jackrabbit.core |
Fields in org.apache.jackrabbit.core declared as QName | |
protected QName |
NodeImpl.primaryTypeName
same as ((NodeState) state).getNodeTypeName(); cached to avoid type casts |
Methods in org.apache.jackrabbit.core that return QName | |
QName |
HierarchyManagerImpl.getName(ItemId itemId)
Returns the name of the specified item. |
QName |
CachingHierarchyManager.getName(ItemId id)
Returns the name of the specified item. |
abstract QName |
ItemImpl.getQName()
Same as except that
this method returns a QName instead of a
String . |
QName |
PathMap.Element.getName()
Return the name of this element |
QName |
HierarchyManager.getName(ItemId id)
Returns the name of the specified item. |
QName |
NamespaceRegistryImpl.getQName(String name)
|
QName |
NodeImpl.getQName()
|
QName |
PropertyImpl.getQName()
Same as except that
this method returns a QName instead of a
String . |
QName |
PropertyId.getName()
Returns the qualified name of the property. |
Methods in org.apache.jackrabbit.core with parameters of type QName | |
protected NodeState.ChildNodeEntry |
HierarchyManagerImpl.getChildNodeEntry(NodeState parent,
QName name,
int index)
Returns the ChildNodeEntry of parent with the
specified name and index or null
if there's no such entry. |
void |
CachingHierarchyManager.nodeAdded(NodeState state,
QName name,
int index,
NodeId id)
Called when a child node has been added |
void |
CachingHierarchyManager.nodeRemoved(NodeState state,
QName name,
int index,
NodeId id)
Called when a child node has been removed |
protected NodeState.ChildNodeEntry |
ZombieHierarchyManager.getChildNodeEntry(NodeState parent,
QName name,
int index)
Returns the ChildNodeEntry of parent with the
specified name and index or null
if there's no such entry.
Low-level hook provided for specialized derived classes.
Also allows for removed/renamed child node entries. |
String |
NamespaceRegistryImpl.getJCRName(QName name)
|
protected InternalValue[] |
NodeImpl.computeSystemGeneratedPropertyValues(QName name,
PropertyDefinitionImpl def)
Computes the values of well-known system (i.e. |
protected PropertyImpl |
NodeImpl.getOrCreateProperty(QName name,
int type,
boolean multiValued,
boolean exactTypeMatch,
BitSet status)
|
protected PropertyImpl |
NodeImpl.createChildProperty(QName name,
int type,
PropertyDefinitionImpl def)
|
protected NodeImpl |
NodeImpl.createChildNode(QName name,
NodeDefinitionImpl def,
NodeTypeImpl nodeType,
NodeId id)
|
protected void |
NodeImpl.renameChildNode(QName oldName,
int index,
NodeId id,
QName newName)
|
protected void |
NodeImpl.removeChildProperty(QName propName)
|
protected void |
NodeImpl.removeChildNode(QName nodeName,
int index)
|
protected NodeImpl |
NodeImpl.internalAddChildNode(QName nodeName,
NodeTypeImpl nodeType)
|
protected NodeImpl |
NodeImpl.internalAddChildNode(QName nodeName,
NodeTypeImpl nodeType,
NodeId id)
|
protected NodeDefinitionImpl |
NodeImpl.getApplicableChildNodeDefinition(QName nodeName,
QName nodeTypeName)
Returns the applicable child node definition for a child node with the specified name and node type. |
protected PropertyDefinitionImpl |
NodeImpl.getApplicablePropertyDefinition(QName propertyName,
int type,
boolean multiValued,
boolean exactTypeMatch)
Returns the applicable property definition for a property with the specified name and type. |
void |
NodeImpl.addMixin(QName mixinName)
Same as Node.addMixin(String) except that it takes a
QName instead of a String . |
void |
NodeImpl.removeMixin(QName mixinName)
Same as Node.removeMixin(String) except that it takes a
QName instead of a String . |
boolean |
NodeImpl.isNodeType(QName ntName)
Same as Node.isNodeType(String) except that it takes a
QName instead of a String . |
protected Property |
NodeImpl.internalSetProperty(QName name,
InternalValue value)
Sets the internal value of a property without checking any constraints. |
protected Property |
NodeImpl.internalSetProperty(QName name,
InternalValue[] values)
Sets the internal value of a property without checking any constraints. |
protected Property |
NodeImpl.internalSetProperty(QName name,
InternalValue[] values,
int type)
Sets the internal value of a property without checking any constraints. |
NodeImpl |
NodeImpl.getNode(QName name)
Returns the child node of this node with the specified
name . |
NodeImpl |
NodeImpl.getNode(QName name,
int index)
Returns the child node of this node with the specified
name . |
boolean |
NodeImpl.hasNode(QName name)
Indicates whether a child node with the specified name exists. |
boolean |
NodeImpl.hasNode(QName name,
int index)
Indicates whether a child node with the specified name exists. |
PropertyImpl |
NodeImpl.getProperty(QName name)
Returns the property of this node with the specified
name . |
boolean |
NodeImpl.hasProperty(QName name)
Indicates whether a property with the specified name exists. |
NodeImpl |
NodeImpl.addNode(QName nodeName,
QName nodeTypeName,
UUID uuid)
Same as except that
this method takes QName arguments instead of
String s and has an additional uuid argument. |
PropertyImpl |
NodeImpl.setProperty(QName name,
Value[] values)
Same as except that
this method takes a QName name argument instead of a
String . |
PropertyImpl |
NodeImpl.setProperty(QName name,
Value[] values,
int type)
Same as except
that this method takes a QName name argument instead of a
String . |
PropertyImpl |
NodeImpl.setProperty(QName name,
Value value)
Same as except that
this method takes a QName name argument instead of a
String . |
void |
PropertyImpl.setValue(QName name)
Same as except that
this method takes a QName instead of a String
value. |
void |
PropertyImpl.setValue(QName[] names)
Same as except that
this method takes an array of QName instead of
String values. |
void |
BatchedItemOperations.checkAddNode(NodeState parentState,
QName nodeName,
QName nodeTypeName,
int options)
Checks if adding a child node called nodeName of node type
nodeTypeName to the given parent node is allowed in the
current context. |
NodeDef |
BatchedItemOperations.findApplicableNodeDefinition(QName name,
QName nodeTypeName,
NodeState parentState)
Helper method that finds the applicable definition for a child node with the given name and node type in the parent node's node type and mixin types. |
PropDef |
BatchedItemOperations.findApplicablePropertyDefinition(QName name,
int type,
boolean multiValued,
NodeState parentState)
Helper method that finds the applicable definition for a property with the given name, type and multiValued characteristic in the parent node's node type and mixin types. |
PropDef |
BatchedItemOperations.findApplicablePropertyDefinition(QName name,
int type,
NodeState parentState)
Helper method that finds the applicable definition for a property with the given name, type in the parent node's node type and mixin types. |
NodeState |
BatchedItemOperations.createNodeState(NodeState parent,
QName nodeName,
QName nodeTypeName,
QName[] mixinNames,
NodeId id)
Creates a new node. |
NodeState |
BatchedItemOperations.createNodeState(NodeState parent,
QName nodeName,
QName nodeTypeName,
QName[] mixinNames,
NodeId id,
NodeDef def)
Creates a new node based on the given definition. |
PropertyState |
BatchedItemOperations.createPropertyState(NodeState parent,
QName propName,
int type,
int numValues)
Creates a new property. |
PropertyState |
BatchedItemOperations.createPropertyState(NodeState parent,
QName propName,
int type,
PropDef def)
Creates a new property based on the given definition. |
Constructors in org.apache.jackrabbit.core with parameters of type QName | |
PropertyId(NodeId parentId,
QName propName)
Creates a property identifier instance for the identified property. |
Uses of QName in org.apache.jackrabbit.core.nodetype |
Fields in org.apache.jackrabbit.core.nodetype declared as QName | |
static QName |
ItemDef.ANY_NAME
The special wildcard name used as the name of residual item definitions. |
protected QName |
ItemDefImpl.declaringNodeType
The name of the declaring node type. |
Methods in org.apache.jackrabbit.core.nodetype that return QName | |
QName |
NodeDefImpl.getDefaultPrimaryType()
Returns the name of the default primary type. |
QName[] |
NodeDefImpl.getRequiredPrimaryTypes()
Returns the array of names of the required primary types. |
QName[] |
NodeTypeRegistry.getRegisteredNodeTypes()
Returns the names of all registered node types. |
QName |
ItemDef.getName()
Gets the name of the child item. |
QName |
ItemDef.getDeclaringNodeType()
Gets the name of the declaring node type. |
QName |
NodeTypeImpl.getQName()
Returns the 'internal', i.e. |
QName |
NodeTypeDef.getName()
Returns the name of the node type being defined or null if not set. |
QName[] |
NodeTypeDef.getSupertypes()
Returns an array containing the names of the supertypes or null if not set. |
QName |
NodeTypeDef.getPrimaryItemName()
Returns the name of the primary item (one of the child items of the node's of this node type) or null if not set. |
QName[] |
EffectiveNodeType.getMergedNodeTypes()
|
QName[] |
EffectiveNodeType.getInheritedNodeTypes()
|
QName[] |
EffectiveNodeType.getAllNodeTypes()
|
QName |
NodeDef.getDefaultPrimaryType()
Returns the name of the default primary type. |
QName[] |
NodeDef.getRequiredPrimaryTypes()
Returns the array of names of the required primary types. |
QName |
ItemDefImpl.getDeclaringNodeType()
Gets the name of the declaring node type. |
QName |
ItemDefImpl.getName()
Gets the name of the child item. |
Methods in org.apache.jackrabbit.core.nodetype with parameters of type QName | |
void |
NodeTypeRegistryListener.nodeTypeRegistered(QName ntName)
Called when a node type has been registered. |
void |
NodeTypeRegistryListener.nodeTypeReRegistered(QName ntName)
Called when a node type has been re-registered. |
void |
NodeTypeRegistryListener.nodeTypeUnregistered(QName ntName)
Called when a node type has been deregistered. |
void |
NodeDefImpl.setDefaultPrimaryType(QName defaultNodeType)
Sets the name of default primary type. |
void |
NodeDefImpl.setRequiredPrimaryTypes(QName[] requiredPrimaryTypes)
Sets the names of the required primary types. |
void |
NodeDefImpl.setDeclaringNodeType(QName declaringNodeType)
Sets the name of declaring node type. |
void |
NodeDefImpl.setName(QName name)
Sets the name of the child item. |
boolean |
NodeTypeDefStore.remove(QName name)
|
boolean |
NodeTypeDefStore.contains(QName name)
|
NodeTypeDef |
NodeTypeDefStore.get(QName name)
|
void |
PropDefImpl.setDeclaringNodeType(QName declaringNodeType)
Sets the name of declaring node type. |
void |
PropDefImpl.setName(QName name)
Sets the name of the child item. |
EffectiveNodeType |
NodeTypeRegistry.getEffectiveNodeType(QName ntName,
org.apache.jackrabbit.core.nodetype.EffectiveNodeTypeCache anEntCache,
Map aRegisteredNTDefCache)
|
EffectiveNodeType |
NodeTypeRegistry.getEffectiveNodeType(QName[] ntNames,
org.apache.jackrabbit.core.nodetype.EffectiveNodeTypeCache anEntCache,
Map aRegisteredNTDefCache)
|
EffectiveNodeType |
NodeTypeRegistry.getEffectiveNodeType(QName ntName)
|
EffectiveNodeType |
NodeTypeRegistry.getEffectiveNodeType(QName[] ntNames)
|
void |
NodeTypeRegistry.unregisterNodeType(QName ntName)
Unregisters the specified node type. |
Set |
NodeTypeRegistry.getDependentNodeTypes(QName nodeTypeName)
Returns the names of those registered node types that have dependencies on the given node type. |
NodeTypeDef |
NodeTypeRegistry.getNodeTypeDef(QName nodeTypeName)
Returns the node type definition of the node type with the given name. |
boolean |
NodeTypeRegistry.isRegistered(QName nodeTypeName)
|
boolean |
NodeTypeRegistry.isBuiltIn(QName nodeTypeName)
|
protected void |
NodeTypeRegistry.checkForReferencesInContent(QName nodeTypeName)
Checks whether there is existing content that directly or indirectly refers to the specified node type. |
boolean |
NodeTypeImpl.isDerivedFrom(QName nodeTypeName)
Checks if this node type is directly or indirectly derived from the specified node type. |
void |
NodeTypeDef.setName(QName name)
Sets the name of the node type being defined. |
void |
NodeTypeDef.setSupertypes(QName[] names)
Sets the supertypes. |
void |
NodeTypeDef.setPrimaryItemName(QName primaryItemName)
Sets the name of the primary item (one of the child items of the node's of this node type) |
boolean |
EffectiveNodeType.hasNamedItemDef(QName name)
|
ItemDef[] |
EffectiveNodeType.getNamedItemDefs(QName name)
|
NodeDef[] |
EffectiveNodeType.getNamedNodeDefs(QName name)
|
PropDef[] |
EffectiveNodeType.getNamedPropDefs(QName name)
|
boolean |
EffectiveNodeType.includesNodeType(QName nodeTypeName)
Determines whether this effective node type representation includes (either through inheritance or aggregation) the given node type. |
void |
EffectiveNodeType.checkAddNodeConstraints(QName name)
|
void |
EffectiveNodeType.checkAddNodeConstraints(QName name,
QName nodeTypeName)
|
NodeDef |
EffectiveNodeType.getApplicableChildNodeDef(QName name,
QName nodeTypeName)
Returns the applicable child node definition for a child node with the specified name and node type. |
PropDef |
EffectiveNodeType.getApplicablePropertyDef(QName name,
int type,
boolean multiValued)
Returns the applicable property definition for a property with the specified name, type and multiValued characteristic. |
PropDef |
EffectiveNodeType.getApplicablePropertyDef(QName name,
int type)
Returns the applicable property definition for a property with the specified name and type. |
void |
EffectiveNodeType.checkRemoveItemConstraints(QName name)
|
void |
EffectiveNodeType.checkRequiredPrimaryType(QName nodeTypeName,
QName[] requiredPrimaryTypes)
|
void |
ItemDefImpl.setDeclaringNodeType(QName declaringNodeType)
Sets the name of declaring node type. |
void |
ItemDefImpl.setName(QName name)
Sets the name of the child item. |
NodeTypeImpl |
NodeTypeManagerImpl.getNodeType(QName name)
|
void |
NodeTypeManagerImpl.nodeTypeRegistered(QName ntName)
Called when a node type has been registered. |
void |
NodeTypeManagerImpl.nodeTypeReRegistered(QName ntName)
Called when a node type has been re-registered. |
void |
NodeTypeManagerImpl.nodeTypeUnregistered(QName ntName)
Called when a node type has been deregistered. |
Uses of QName in org.apache.jackrabbit.core.nodetype.virtual |
Methods in org.apache.jackrabbit.core.nodetype.virtual with parameters of type QName | |
void |
VirtualNodeTypeStateManager.nodeTypeRegistered(QName ntName)
Called when a node type has been registered. |
void |
VirtualNodeTypeStateManager.nodeTypeReRegistered(QName ntName)
Called when a node type has been re-registered. |
void |
VirtualNodeTypeStateManager.nodeTypeUnregistered(QName ntName)
Called when a node type has been deregistered. |
void |
VirtualNodeTypeStateProvider.onNodeTypeAdded(QName ntName)
{@inheritDoc} |
void |
VirtualNodeTypeStateProvider.onNodeTypeModified(QName ntName)
{@inheritDoc} |
void |
VirtualNodeTypeStateProvider.onNodeTypeRemoved(QName ntName)
{@inheritDoc} |
Uses of QName in org.apache.jackrabbit.core.query |
Fields in org.apache.jackrabbit.core.query declared as QName | |
static QName |
LocationStepQueryNode.EMPTY_NAME
The empty name used in matching the root node. |
Methods in org.apache.jackrabbit.core.query that return QName | |
QName |
DerefQueryNode.getRefProperty()
Returns the name of the reference property or null if
none is set. |
QName |
RelationQueryNode.getProperty()
Returns the name of the property in this relation query node. |
QName |
ExactQueryNode.getPropertyName()
Returns the name of the property to match. |
QName |
ExactQueryNode.getValue()
Returns the value of the property to match. |
QName |
LocationStepQueryNode.getNameTest()
Returns the label of the node for this location step, or null
if the name test is '*'. |
QName |
OrderQueryNode.OrderSpec.getProperty()
Returns the name of the property. |
QName[] |
QueryRootNode.getSelectProperties()
Returns an array of select properties. |
QName |
TextsearchQueryNode.getPropertyName()
Returns a property name if the scope is limited to just a single property or null if the scope is spawned across all properties of a
node. |
Methods in org.apache.jackrabbit.core.query with parameters of type QName | |
void |
DerefQueryNode.setRefProperty(QName propertyName)
Sets a new name for the reference property. |
void |
RelationQueryNode.setProperty(QName name)
Sets a new property name for this relation query node. |
PropertyTypeRegistry.TypeMapping[] |
PropertyTypeRegistry.getPropertyTypes(QName propName)
Returns an array of type mappings for a given property name propName . |
void |
PropertyTypeRegistry.nodeTypeRegistered(QName ntName)
|
void |
PropertyTypeRegistry.nodeTypeReRegistered(QName ntName)
|
void |
PropertyTypeRegistry.nodeTypeUnregistered(QName ntName)
|
void |
LocationStepQueryNode.setNameTest(QName nameTest)
Sets a new name test. |
void |
OrderQueryNode.addOrderSpec(QName property,
boolean ascending)
Adds an order specification to this query node. |
void |
QueryRootNode.addSelectProperty(QName propName)
Adds a new select property to the query. |
void |
TextsearchQueryNode.setPropertyName(QName property)
Sets a new name as the search scope for this fulltext query. |
Constructors in org.apache.jackrabbit.core.query with parameters of type QName | |
NodeTypeQueryNode(QueryNode parent,
QName nodeType)
Creates a new NodeTypeQueryNode . |
|
DerefQueryNode(QueryNode parent,
QName nameTest,
boolean descendants)
Creates a new DerefQueryNode without a name set for the
reference property. |
|
RelationQueryNode(QueryNode parent,
QName property,
long value,
int operation)
Creates a new RelationQueryNode with a long
value and an operation type. |
|
RelationQueryNode(QueryNode parent,
QName property,
double value,
int operation)
Creates a new RelationQueryNode with a double
value and an operation type. |
|
RelationQueryNode(QueryNode parent,
QName property,
Date value,
int operation)
Creates a new RelationQueryNode with a Date
value and an operation type. |
|
RelationQueryNode(QueryNode parent,
QName property,
String value,
int operation)
Creates a new RelationQueryNode with a String
value and an operation type. |
|
ExactQueryNode(QueryNode parent,
QName property,
QName value)
Creates a new ExactQueryNode instance. |
|
LocationStepQueryNode(QueryNode parent,
QName nameTest,
boolean descendants)
Creates a new LocationStepQueryNode with a reference to
its parent . |
|
OrderQueryNode.OrderSpec(QName property,
boolean ascending)
Creates a new OrderSpec for property . |
|
TextsearchQueryNode(QueryNode parent,
String query,
QName propertyName)
Creates a new TextsearchQueryNode with a parent
and a textsearch query statement. |
Uses of QName in org.apache.jackrabbit.core.query.lucene |
Methods in org.apache.jackrabbit.core.query.lucene that return QName | |
protected QName[] |
QueryImpl.getSelectProperties()
Returns the select properties for this query. |
Methods in org.apache.jackrabbit.core.query.lucene with parameters of type QName | |
QueryHits |
SearchIndex.executeQuery(QueryImpl queryImpl,
org.apache.lucene.search.Query query,
QName[] orderProps,
boolean[] orderSpecs)
Executes the query on the search index. |
protected org.apache.lucene.search.SortField[] |
SearchIndex.createSortFields(QName[] orderProps,
boolean[] orderSpecs)
Creates the SortFields for the order properties. |
Constructors in org.apache.jackrabbit.core.query.lucene with parameters of type QName | |
QueryResultImpl(ItemManager itemMgr,
NodeId[] ids,
Float[] scores,
QName[] selectProps,
NamespaceResolver resolver,
boolean docOrder)
Creates a new query result. |
|
WorkspaceTraversalResult(Session session,
QName[] properties,
NamespaceResolver resolver)
Creates a new WorkspaceTraversalResult . |
Uses of QName in org.apache.jackrabbit.core.query.sql |
Methods in org.apache.jackrabbit.core.query.sql that return QName | |
QName |
ASTIdentifier.getName()
|
QName |
ASTPredicate.getIdentifier()
|
QName |
ASTContainsExpression.getPropertyName()
|
Methods in org.apache.jackrabbit.core.query.sql with parameters of type QName | |
void |
ASTIdentifier.setName(QName name)
|
void |
ASTPredicate.setIdentifier(QName identifier)
|
void |
ASTContainsExpression.setPropertyName(QName property)
|
Uses of QName in org.apache.jackrabbit.core.state |
Methods in org.apache.jackrabbit.core.state that return QName | |
QName |
NodeState.getNodeTypeName()
Returns the name of this node's node type. |
QName |
NodeState.ChildNodeEntry.getName()
|
QName |
PropertyState.getName()
Returns the name of this property. |
Methods in org.apache.jackrabbit.core.state with parameters of type QName | |
NodeState |
SessionItemStateManager.createNew(NodeId id,
QName nodeTypeName,
NodeId parentId)
Creates a NodeState instance representing new,
i.e. not yet existing state. Call UpdatableItemStateManager.store(org.apache.jackrabbit.core.state.ItemState)
on the returned object to make it persistent. |
PropertyState |
SessionItemStateManager.createNew(QName propName,
NodeId parentId)
Creates a PropertyState instance representing new,
i.e. not yet existing state. Call UpdatableItemStateManager.store(org.apache.jackrabbit.core.state.ItemState)
on the returned object to make it persistent. |
NodeState |
SessionItemStateManager.createTransientNodeState(NodeId id,
QName nodeTypeName,
NodeId parentId,
int initialStatus)
|
PropertyState |
SessionItemStateManager.createTransientPropertyState(NodeId parentId,
QName propName,
int initialStatus)
|
boolean |
NodeState.hasChildNodeEntry(QName name)
Determines if there is a ChildNodeEntry with the
specified name . |
boolean |
NodeState.hasChildNodeEntry(QName name,
int index)
Determines if there is a ChildNodeEntry with the
specified name and index . |
boolean |
NodeState.hasPropertyName(QName propName)
Determines if there is a property entry with the specified QName . |
NodeState.ChildNodeEntry |
NodeState.getChildNodeEntry(QName nodeName,
int index)
Returns the ChildNodeEntry with the specified name and index
or null if there's no matching entry. |
List |
NodeState.getChildNodeEntries(QName nodeName)
Returns a list of ChildNodeEntry s with the specified name. |
NodeState.ChildNodeEntry |
NodeState.addChildNodeEntry(QName nodeName,
NodeId id)
Adds a new ChildNodeEntry . |
boolean |
NodeState.renameChildNodeEntry(QName oldName,
int index,
QName newName)
Renames a new ChildNodeEntry . |
boolean |
NodeState.removeChildNodeEntry(QName nodeName,
int index)
Removes a ChildNodeEntry . |
void |
NodeState.addPropertyName(QName propName)
Adds a property name entry. |
boolean |
NodeState.removePropertyName(QName propName)
Removes a property name entry. |
void |
NodeState.setNodeTypeName(QName nodeTypeName)
Set the node type name. |
void |
NodeStateListener.nodeAdded(NodeState state,
QName name,
int index,
NodeId id)
Called when a child node has been added |
void |
NodeStateListener.nodeRemoved(NodeState state,
QName name,
int index,
NodeId id)
Called when a child node has been removed |
NodeState |
UpdatableItemStateManager.createNew(NodeId id,
QName nodeTypeName,
NodeId parentId)
Creates a NodeState instance representing new,
i.e. |
PropertyState |
UpdatableItemStateManager.createNew(QName propName,
NodeId parentId)
Creates a PropertyState instance representing new,
i.e. |
NodeState |
LocalItemStateManager.createNew(NodeId id,
QName nodeTypeName,
NodeId parentId)
Creates a NodeState instance representing new,
i.e. not yet existing state. Call UpdatableItemStateManager.store(org.apache.jackrabbit.core.state.ItemState)
on the returned object to make it persistent. |
PropertyState |
LocalItemStateManager.createNew(QName propName,
NodeId parentId)
Creates a PropertyState instance representing new,
i.e. not yet existing state. Call UpdatableItemStateManager.store(org.apache.jackrabbit.core.state.ItemState)
on the returned object to make it persistent. |
Constructors in org.apache.jackrabbit.core.state with parameters of type QName | |
NodeState(NodeId id,
QName nodeTypeName,
NodeId parentId,
int initialStatus,
boolean isTransient)
Constructs a new node state that is not connected. |
Uses of QName in org.apache.jackrabbit.core.state.mem |
Methods in org.apache.jackrabbit.core.state.mem with parameters of type QName | |
protected static String |
InMemPersistenceManager.buildBlobFilePath(String parentUUID,
QName propName,
int index)
|
Uses of QName in org.apache.jackrabbit.core.value |
Methods in org.apache.jackrabbit.core.value with parameters of type QName | |
static InternalValue |
InternalValue.create(QName value)
|
static InternalValue[] |
InternalValue.create(QName[] values)
|
Uses of QName in org.apache.jackrabbit.core.version |
Methods in org.apache.jackrabbit.core.version that return QName | |
QName |
InternalVersion.getName()
Returns the name of this version. |
QName[] |
InternalVersion.getLabels()
returns the labels that are assigned to this version |
QName |
InternalFreeze.getName()
returns the name of the node. |
QName |
InternalFrozenNode.getFrozenPrimaryType()
Returns the name of frozen primary type. |
QName[] |
InternalFrozenNode.getFrozenMixinTypes()
Returns the list of names of the frozen mixin types. |
QName[] |
InternalVersionHistory.getVersionLabels()
Returns a string iterator over all version labels that exist in this version history |
Methods in org.apache.jackrabbit.core.version with parameters of type QName | |
boolean |
InternalVersion.hasLabel(QName label)
Checks, if this version has the given label assosiated |
void |
VersionManager.removeVersion(VersionHistory history,
QName versionName)
Removes the specified version from the given version history. |
Version |
VersionManager.setVersionLabel(VersionHistory history,
QName version,
QName label,
boolean move)
Sets the version label to the given version . |
void |
XAVersionManager.removeVersion(VersionHistory history,
QName versionName)
Removes the specified version from the given version history. |
Version |
XAVersionManager.setVersionLabel(VersionHistory history,
QName version,
QName label,
boolean move)
Sets the version label to the given version .
If the label is already assigned to another version, a VersionException is
thrown unless move is true . If version
is null , the label is removed from the respective version.
In either case, the version the label was previously assigned is returned,
or null of the label was not moved. |
VirtualPropertyState |
XAVersionManager.createPropertyState(VirtualNodeState parent,
QName name,
int type,
boolean multiValued)
Creats a new virtual property state |
VirtualNodeState |
XAVersionManager.createNodeState(VirtualNodeState parent,
QName name,
NodeId id,
QName nodeTypeName)
Creates a new virtual node state |
protected void |
XAVersionManager.removeVersion(org.apache.jackrabbit.core.version.InternalVersionHistoryImpl history,
QName name)
Removes the specified version from the history Before modifying version history given, make a local copy of it. |
protected InternalVersion |
XAVersionManager.setVersionLabel(org.apache.jackrabbit.core.version.InternalVersionHistoryImpl history,
QName version,
QName label,
boolean move)
Set version label on the specified version. Before modifying version history given, make a local copy of it. |
void |
VersionManagerImpl.removeVersion(VersionHistory history,
QName name)
Removes the specified version from the given version history. This method must not be synchronized since it could cause deadlocks with item-reading listeners in the observation thread. |
Version |
VersionManagerImpl.setVersionLabel(VersionHistory history,
QName version,
QName label,
boolean move)
Sets the version label to the given version .
If the label is already assigned to another version, a VersionException is
thrown unless move is true . If version
is null , the label is removed from the respective version.
In either case, the version the label was previously assigned is returned,
or null of the label was not moved.
This method must not be synchronized since it could cause deadlocks with
item-reading listeners in the observation thread. |
InternalVersion |
InternalVersionHistory.getVersion(QName versionName)
Equivalalent to VersionHistory.getVersion(java.lang.String) . |
boolean |
InternalVersionHistory.hasVersion(QName versionName)
Checks if the version with the given name exists in this version history. |
InternalVersion |
InternalVersionHistory.getVersionByLabel(QName label)
Equivalalent to VersionHistory.getVersionByLabel(java.lang.String)
but returns null if the version does not exists. |
Uses of QName in org.apache.jackrabbit.core.virtual |
Methods in org.apache.jackrabbit.core.virtual with parameters of type QName | |
InternalValue[] |
VirtualValueProvider.getVirtualValues(QName propName)
Returns the values for the given name |
InternalValue[] |
VirtualNodeState.getPropertyValues(QName name)
Returns the values of the given property of null |
InternalValue |
VirtualNodeState.getPropertyValue(QName name)
Returns the value of the given property or null |
VirtualPropertyState |
VirtualNodeState.getProperty(QName name)
returns the property state of the given name |
void |
VirtualNodeState.setPropertyValue(QName name,
InternalValue value)
Sets the property value |
void |
VirtualNodeState.setPropertyValues(QName name,
int type,
InternalValue[] values)
Sets the property values |
void |
VirtualNodeState.setPropertyValues(QName name,
int type,
InternalValue[] values,
boolean multiple)
Sets the property values |
protected VirtualPropertyState |
VirtualNodeState.getOrCreatePropertyState(QName name,
int type,
boolean multiValued)
Retrieves or creates a new property state as child property of this node |
void |
VirtualNodeState.setMixinNodeTypes(QName[] mixins)
sets the mixing node type and adds the respective property |
VirtualPropertyState |
VirtualItemStateProvider.createPropertyState(VirtualNodeState parent,
QName name,
int type,
boolean multiValued)
Creats a new virtual property state |
VirtualNodeState |
VirtualItemStateProvider.createNodeState(VirtualNodeState parent,
QName name,
NodeId id,
QName nodeTypeName)
Creates a new virtual node state |
VirtualPropertyState |
AbstractVISProvider.createPropertyState(VirtualNodeState parent,
QName name,
int type,
boolean multiValued)
Creats a new virtual property state |
VirtualNodeState |
AbstractVISProvider.createNodeState(VirtualNodeState parent,
QName name,
NodeId id,
QName nodeTypeName)
Creates a new virtual node state |
protected PropDef |
AbstractVISProvider.getApplicablePropertyDef(NodeState parent,
QName propertyName,
int type,
boolean multiValued)
retrieves the property definition for the given contraints |
protected NodeDef |
AbstractVISProvider.getApplicableChildNodeDef(NodeState parent,
QName nodeName,
QName nodeTypeName)
Retrieves the node definition for the given contraints. |
Constructors in org.apache.jackrabbit.core.virtual with parameters of type QName | |
VirtualNodeState(AbstractVISProvider stateMgr,
NodeId parentId,
NodeId id,
QName nodeTypeName,
QName[] mixins)
creates a new virtual node state |
Uses of QName in org.apache.jackrabbit.core.xml |
Methods in org.apache.jackrabbit.core.xml that return QName | |
QName |
Importer.NodeInfo.getName()
|
QName |
Importer.NodeInfo.getNodeTypeName()
|
QName[] |
Importer.NodeInfo.getMixinNames()
|
QName |
Importer.PropInfo.getName()
|
Methods in org.apache.jackrabbit.core.xml with parameters of type QName | |
protected NodeImpl |
SessionImporter.createNode(NodeImpl parent,
QName nodeName,
QName nodeTypeName,
QName[] mixinNames,
NodeId id)
|
void |
Importer.NodeInfo.setName(QName name)
|
void |
Importer.NodeInfo.setNodeTypeName(QName nodeTypeName)
|
void |
Importer.NodeInfo.setMixinNames(QName[] mixinNames)
|
void |
Importer.PropInfo.setName(QName name)
|
Constructors in org.apache.jackrabbit.core.xml with parameters of type QName | |
Importer.NodeInfo(QName name,
QName nodeTypeName,
QName[] mixinNames,
NodeId id)
|
|
Importer.PropInfo(QName name,
int type,
Importer.TextValue[] values)
|
Uses of QName in org.apache.jackrabbit.name |
Fields in org.apache.jackrabbit.name declared as QName | |
static QName |
QName.JCR_SYSTEM
jcr:system |
static QName |
QName.JCR_NODETYPES
jcr:nodeTypes |
static QName |
QName.JCR_UUID
jcr:uuid |
static QName |
QName.JCR_PRIMARYTYPE
jcr:primaryType |
static QName |
QName.JCR_MIXINTYPES
jcr:mixinTypes |
static QName |
QName.JCR_CREATED
jcr:created |
static QName |
QName.JCR_LASTMODIFIED
jcr:lastModified |
static QName |
QName.JCR_ENCODING
jcr:encoding |
static QName |
QName.JCR_MIMETYPE
jcr:mimeType |
static QName |
QName.JCR_DATA
jcr:data |
static QName |
QName.JCR_CONTENT
jcr:content |
static QName |
QName.JCR_ROOT
jcr:root (dummy name for root node used in XML serialization) |
static QName |
QName.JCR_XMLTEXT
jcr:xmltext |
static QName |
QName.JCR_XMLCHARACTERS
jcr:xmlcharacters |
static QName |
QName.JCR_SCORE
jcr:score |
static QName |
QName.JCR_PATH
jcr:path |
static QName |
QName.JCR_STATEMENT
jcr:statement |
static QName |
QName.JCR_LANGUAGE
jcr:language |
static QName |
QName.JCR_LOCKOWNER
jcr:lockOwner |
static QName |
QName.JCR_LOCKISDEEP
jcr:lockIsDeep |
static QName |
QName.JCR_VERSIONSTORAGE
jcr:versionStorage |
static QName |
QName.JCR_MERGEFAILED
jcr:mergeFailed |
static QName |
QName.JCR_FROZENNODE
jcr:frozenNode |
static QName |
QName.JCR_FROZENUUID
jcr:frozenUuid |
static QName |
QName.JCR_FROZENPRIMARYTYPE
jcr:frozenPrimaryType |
static QName |
QName.JCR_FROZENMIXINTYPES
jcr:frozenMixinTypes |
static QName |
QName.JCR_PREDECESSORS
jcr:predecessors |
static QName |
QName.JCR_VERSIONLABELS
jcr:versionLabels |
static QName |
QName.JCR_SUCCESSORS
jcr:successors |
static QName |
QName.JCR_ISCHECKEDOUT
jcr:isCheckedOut |
static QName |
QName.JCR_VERSIONHISTORY
jcr:versionHistory |
static QName |
QName.JCR_BASEVERSION
jcr:baseVersion |
static QName |
QName.JCR_CHILDVERSIONHISTORY
jcr:childVersionHistory |
static QName |
QName.JCR_ROOTVERSION
jcr:rootVersion |
static QName |
QName.JCR_VERSIONABLEUUID
jcr:versionableUuid |
static QName |
QName.JCR_NODETYPENAME
jcr:nodeTypeName |
static QName |
QName.JCR_HASORDERABLECHILDNODES
jcr:hasOrderableChildNodes |
static QName |
QName.JCR_ISMIXIN
jcr:isMixin |
static QName |
QName.JCR_SUPERTYPES
jcr:supertypes |
static QName |
QName.JCR_PROPERTYDEFINITION
jcr:propertyDefinition |
static QName |
QName.JCR_NAME
jcr:name |
static QName |
QName.JCR_MANDATORY
jcr:mandatory |
static QName |
QName.JCR_PROTECTED
jcr:protected |
static QName |
QName.JCR_REQUIREDTYPE
jcr:requiredType |
static QName |
QName.JCR_ONPARENTVERSION
jcr:onParentVersion |
static QName |
QName.JCR_PRIMARYITEMNAME
jcr:primaryItemName |
static QName |
QName.JCR_MULTIPLE
jcr:multiple |
static QName |
QName.JCR_VALUECONSTRAINTS
jcr:valueConstraints |
static QName |
QName.JCR_DEFAULTVALUES
jcr:defaultValues |
static QName |
QName.JCR_AUTOCREATED
jcr:autoCreated |
static QName |
QName.JCR_CHILDNODEDEFINITION
jcr:childNodeDefinition |
static QName |
QName.JCR_SAMENAMESIBLINGS
jcr:sameNameSiblings |
static QName |
QName.JCR_DEFAULTPRIMARYTYPE
jcr:defaultPrimaryType |
static QName |
QName.JCR_REQUIREDPRIMARYTYPES
jcr:requiredPrimaryTypes |
static QName |
QName.REP_ROOT
rep:root |
static QName |
QName.REP_SYSTEM
rep:system |
static QName |
QName.REP_VERSIONSTORAGE
rep:versionStorage |
static QName |
QName.REP_NODETYPES
rep:versionStorage |
static QName |
QName.NT_UNSTRUCTURED
nt:unstructured |
static QName |
QName.NT_BASE
nt:base |
static QName |
QName.NT_HIERARCHYNODE
nt:hierarchyNode |
static QName |
QName.NT_RESOURCE
nt:resource |
static QName |
QName.NT_FILE
nt:file |
static QName |
QName.NT_FOLDER
nt:folder |
static QName |
QName.NT_QUERY
nt:query |
static QName |
QName.MIX_REFERENCEABLE
mix:referenceable |
static QName |
QName.MIX_LOCKABLE
mix:referenceable |
static QName |
QName.MIX_VERSIONABLE
mix:versionable |
static QName |
QName.NT_VERSIONHISTORY
nt:versionHistory |
static QName |
QName.NT_VERSION
nt:version |
static QName |
QName.NT_VERSIONLABELS
nt:versionLabels |
static QName |
QName.NT_VERSIONEDCHILD
nt:versionedChild |
static QName |
QName.NT_FROZENNODE
nt:frozenNode |
static QName |
QName.NT_NODETYPE
nt:nodeType |
static QName |
QName.NT_PROPERTYDEFINITION
nt:propertyDefinition |
static QName |
QName.NT_CHILDNODEDEFINITION
nt:childNodeDefinition |
static QName[] |
QName.EMPTY_ARRAY
|
Methods in org.apache.jackrabbit.name that return QName | |
QName |
NamespaceResolver.getQName(String name)
Parses the given prefixed JCR name into a qualified name. |
QName |
AbstractNamespaceResolver.getQName(String name)
|
QName |
Path.PathElement.getName()
Returns the qualified name of this path element. |
static QName |
QName.fromJCRName(String rawName,
NamespaceResolver resolver)
Parses the given prefixed JCR name into a qualified name using the given namespace resolver. |
static QName |
QName.valueOf(String s)
Returns a QName holding the value of the specified
string. |
Methods in org.apache.jackrabbit.name with parameters of type QName | |
String |
NamespaceResolver.getJCRName(QName name)
Returns the qualified name in the prefixed JCR name format. |
String |
AbstractNamespaceResolver.getJCRName(QName name)
|
static Path |
Path.create(Path parent,
QName name,
boolean normalize)
Creates a new Path out of the given parent |
static Path |
Path.create(Path parent,
QName name,
int index,
boolean normalize)
Creates a new Path out of the given parent |
static Path |
Path.create(QName name,
int index)
Creates a relative path based on a QName and an index. |
void |
Path.PathBuilder.addFirst(QName name)
Inserts the element at the beginning of the path to be built. |
void |
Path.PathBuilder.addFirst(QName name,
int index)
Inserts the element at the beginning of the path to be built. |
void |
Path.PathBuilder.addLast(QName name)
Inserts the element at the end of the path to be built. |
void |
Path.PathBuilder.addLast(QName name,
int index)
Inserts the element at the end of the path to be built. |
Uses of QName in org.apache.jackrabbit.util |
Methods in org.apache.jackrabbit.util that return QName | |
static QName |
ISO9075.encode(QName name)
Encodes the local part of name as specified in ISO 9075. |
static QName |
ISO9075.decode(QName name)
Decodes the name . |
Methods in org.apache.jackrabbit.util with parameters of type QName | |
static QName |
ISO9075.encode(QName name)
Encodes the local part of name as specified in ISO 9075. |
static QName |
ISO9075.decode(QName name)
Decodes the name . |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |