| Modifier and Type | Field and Description |
|---|---|
static Name[] |
Name.EMPTY_ARRAY
Empty array of
Name |
| Modifier and Type | Method and Description |
|---|---|
Name |
NameFactory.create(String nameString)
Returns a
Name holding the value of the specified
string. |
Name |
NameFactory.create(String namespaceURI,
String localName)
Returns a
Name with the given namespace URI and
local part and validates the given parameters. |
Name |
QItemDefinition.getDeclaringNodeType()
Gets the name of the declaring node type.
|
Name |
QNodeDefinition.getDefaultPrimaryType()
Returns the name of the default primary type.
|
Name[] |
NodeInfo.getMixins() |
Name[] |
Event.getMixinTypeNames() |
Name |
QValue.getName()
Returns a
Name representation of this value. |
Name |
QNodeTypeDefinition.getName()
Returns the name of the node type being defined or
null if not set. |
Name |
QItemDefinition.getName()
Gets the name of the child item.
|
Name |
PropertyId.getName()
Returns the
Name of the property identified by this id. |
Name |
PrivilegeDefinition.getName() |
Name |
Path.getName()
Returns the name of the last path element, or
null
for an identifier. |
Name |
Path.Element.getName()
Returns the name of this path element.
|
Name |
ChildInfo.getName()
Returns the name of the child
Node. |
Name |
NodeInfo.getNodetype() |
Name |
QNodeTypeDefinition.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. |
Name |
Event.getPrimaryNodeTypeName() |
Name[] |
QNodeDefinition.getRequiredPrimaryTypes()
Returns the array of names of the required primary types.
|
Name[] |
QNodeTypeDefinition.getSupertypes()
Returns an array containing the names of the supertypes.
|
Name[] |
QNodeTypeDefinition.getSupportedMixinTypes()
Returns an array containing the names of additional mixin types
supported on this node type.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Name> |
PrivilegeDefinition.getDeclaredAggregateNames() |
Collection<Name> |
QNodeTypeDefinition.getDependencies()
Returns a collection of node type
Names that are being
referenced by this node type definition (e.g. |
Map<Name,QValue> |
Event.getInfo()
Returns the information map associated with this event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Batch.addNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid)
Add a new node to the persistent layer.
|
void |
Batch.addProperty(NodeId parentId,
Name propertyName,
QValue value)
Add a new property to the persistent layer.
|
void |
Batch.addProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Add a new multi-valued property to the persistent layer.
|
void |
RepositoryService.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel)
Add the given version label in the persistent layer.
|
void |
RepositoryService.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting)
Clone the subtree identified by the given
srcNodeId
in workspace named srcWorkspaceName to the destination
in the workspace specified by the given SessionInfo. |
void |
RepositoryService.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Clone the subtree identified by the given
srcNodeId
in workspace named srcWorkspaceName to the destination
in the workspace specified by the given SessionInfo. |
QValue |
QValueFactory.create(Name value)
Create a new
QValue with type PropertyType.NAME. |
Path |
PathFactory.create(Name name)
Creates a relative path based on a
Name. |
Path |
PathFactory.create(Name name,
int index)
Creates a relative path based on a
Name and a normalized index. |
Path |
PathFactory.create(Path parent,
Name name,
boolean normalize)
Creates a new
Path out of the given parent path
and the give name. |
Path |
PathFactory.create(Path parent,
Name name,
int index,
boolean normalize)
Creates a new
Path out of the given parent |
Path.Element |
PathFactory.createElement(Name name)
Creates a path element from the given
name. |
Path.Element |
PathFactory.createElement(Name name,
int index)
Same as
PathFactory.createElement(Name) except that an explicit index can be
specified. |
EventFilter |
RepositoryService.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuid,
Name[] nodeTypeName,
boolean noLocal)
Creates an event filter.
|
PropertyId |
IdFactory.createPropertyId(NodeId parentId,
Name propertyName)
Creates a new
PropertyId from the given parent id and
property name. |
Iterator<QNodeTypeDefinition> |
RepositoryService.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames)
Retrieve
QNodeTypeDefinitions for the given names. |
Iterator<PropertyId> |
RepositoryService.getReferences(SessionInfo sessionInfo,
NodeId nodeId,
Name propertyName,
boolean weakReferences)
Returns the
Ids of the properties that are referencing
the node identified by the given nodeId. |
void |
Batch.move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Move the node identified by the given
srcNodeId to the
new parent identified by destParentNodeId and change its
name to destName. |
void |
RepositoryService.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Moves the node identified by the given
srcNodeId (and its
entire subtree) to the new location defined by destParentNodeId
and a new name (destName). |
void |
RepositoryService.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label)
Remove the given version label in the persistent layer.
|
void |
Batch.setMixins(NodeId nodeId,
Name[] mixinNodeTypeNames)
Modify the set of mixin node types present on the node identified by the
given id.
|
void |
Batch.setPrimaryType(NodeId nodeId,
Name primaryNodeTypeName)
Change the primary type of the node identified by the given
nodeId. |
void |
RepositoryService.unregisterNodeTypes(SessionInfo sessionInfo,
Name[] nodeTypeNames)
Unregisters the node types with the specified
names. |
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.