public Object call() { return idFactory.createNodeId(uniqueID); }}, "createNodeId(String)", new Object[]{uniqueID}); }
public Object call() { return idFactory.createNodeId(uniqueID, path); }}, "createNodeId(String, Path)", new Object[]{uniqueID, path}); }
public Object call() { return idFactory.createNodeId(uniqueID); }}, "createNodeId(String)", new Object[]{uniqueID}); }
private NodeId getId() throws RepositoryException { if (uuid == null) { return IdFactoryImpl.getInstance().createNodeId((String) null, getPath()); } else { return IdFactoryImpl.getInstance().createNodeId(uuid); } }
private NodeId getId() throws RepositoryException { if (uuid == null) { return IdFactoryImpl.getInstance().createNodeId((String) null, getPath()); } else { return IdFactoryImpl.getInstance().createNodeId(uuid); } }
private NodeId getId(boolean wspId) throws RepositoryException { if (parent == null) { // shortcut for root return getIdFactory().createNodeId((String) null, getPathFactory().getRootPath()); } else if (uniqueID != null) { // shortcut for uniqueID based IDs return getIdFactory().createNodeId(uniqueID); } else { return buildNodeId(this, getPathFactory(), getIdFactory(), wspId); } }
private NodeId getId(boolean wspId) throws RepositoryException { if (parent == null) { // shortcut for root return getIdFactory().createNodeId((String) null, getPathFactory().getRootPath()); } else if (uniqueID != null) { // shortcut for uniqueID based IDs return getIdFactory().createNodeId(uniqueID); } else { return buildNodeId(this, getPathFactory(), getIdFactory(), wspId); } }
public Object next() { PropertyId propId = (PropertyId) propIds.next(); NodeId parentId = propId.getParentId(); idFactory.createNodeId( parentId.getUniqueID(), parentId.getPath()); return idFactory.createPropertyId( parentId, propId.getName()); } public void remove() {
public PropertyId next() { PropertyId propId = propIds.next(); NodeId parentId = propId.getParentId(); idFactory.createNodeId( parentId.getUniqueID(), parentId.getPath()); return idFactory.createPropertyId( parentId, propId.getName()); } public void remove() {
public PropertyId next() { PropertyId propId = propIds.next(); NodeId parentId = propId.getParentId(); idFactory.createNodeId( parentId.getUniqueID(), parentId.getPath()); return idFactory.createPropertyId( parentId, propId.getName()); } public void remove() {
public NodeState createRootState(NodeEntry entry) throws ItemNotFoundException, RepositoryException { IdFactory idFactory = service.getIdFactory(); PathFactory pf = service.getPathFactory(); return createNodeState(idFactory.createNodeId((String) null, pf.getRootPath()), entry); }
public QNodeDefinition getRootNodeDefinition() throws RepositoryException { if (rootNodeDefinition == null) { IdFactory idFactory = service.getIdFactory(); PathFactory pf = service.getPathFactory(); rootNodeDefinition = service.getNodeDefinition( sessionInfo, idFactory.createNodeId((String) null, pf.getRootPath())); } return rootNodeDefinition; }
public NodeState createRootState(NodeEntry entry) throws ItemNotFoundException, RepositoryException { IdFactory idFactory = service.getIdFactory(); PathFactory pf = service.getPathFactory(); return createNodeState(idFactory.createNodeId((String) null, pf.getRootPath()), entry); }
public QNodeDefinition getRootNodeDefinition() throws RepositoryException { if (rootNodeDefinition == null) { IdFactory idFactory = service.getIdFactory(); PathFactory pf = service.getPathFactory(); rootNodeDefinition = service.getNodeDefinition( sessionInfo, idFactory.createNodeId((String) null, pf.getRootPath())); } return rootNodeDefinition; }
private Path buildPath(String uniqueID) throws RepositoryException { String uri = uriResolver.getItemUri(getIdFactory().createNodeId(uniqueID), sessionInfo.getWorkspaceName(), sessionInfo); return uriResolver.getQPath(uri, sessionInfo); }
private NodeId getNodeId(String path) throws RepositoryException { return rs.getIdFactory().createNodeId((String) null, resolver.getQPath(path)); }
public NodeEntry getVersionHistoryEntry(NodeState versionableState) throws RepositoryException { PropertyState ps = versionableState.getPropertyState(NameConstants.JCR_VERSIONHISTORY); String uniqueID = ps.getValue().getString(); NodeId vhId = workspaceManager.getIdFactory().createNodeId(uniqueID); return workspaceManager.getHierarchyManager().getNodeEntry(vhId); } }
public NodeEntry getVersionHistoryEntry(NodeState versionableState) throws RepositoryException { PropertyState ps = versionableState.getPropertyState(NameConstants.JCR_VERSIONHISTORY); String uniqueID = ps.getValue().getString(); NodeId vhId = workspaceManager.getIdFactory().createNodeId(uniqueID); return workspaceManager.getHierarchyManager().getNodeEntry(vhId); } }
public NodeEntry getVersionableNodeEntry(NodeState versionState) throws RepositoryException { NodeState ns = versionState.getChildNodeState(NameConstants.JCR_FROZENNODE, Path.INDEX_DEFAULT); PropertyState ps = ns.getPropertyState(NameConstants.JCR_FROZENUUID); String uniqueID = ps.getValue().getString(); NodeId versionableId = workspaceManager.getIdFactory().createNodeId(uniqueID); return workspaceManager.getHierarchyManager().getNodeEntry(versionableId); }
public NodeEntry getVersionableNodeEntry(NodeState versionState) throws RepositoryException { NodeState ns = versionState.getChildNodeState(NameConstants.JCR_FROZENNODE, Path.INDEX_DEFAULT); PropertyState ps = ns.getPropertyState(NameConstants.JCR_FROZENUUID); String uniqueID = ps.getValue().getString(); NodeId versionableId = workspaceManager.getIdFactory().createNodeId(uniqueID); return workspaceManager.getHierarchyManager().getNodeEntry(versionableId); }