public class NodeLocation extends ItemLocation
isSystemSession, path, repository, uuid, workspace| Constructor and Description |
|---|
NodeLocation()
Instantiates a new node location.
|
NodeLocation(ItemLocation location)
Instantiates a new node location.
|
NodeLocation(String repository,
String workspace,
String path)
Instantiates a new node location.
|
NodeLocation(String repository,
String workspace,
String path,
String uuid)
Instantiates a new node location.
|
NodeLocation(String repository,
String workspace,
String path,
String uuid,
boolean isSystem)
Instantiates a new node location.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
equalsString(String st1,
String st2) |
List<NodeLocation> |
getChildren() |
static String |
getExpressionByNode(javax.jcr.Node node)
Get node's expression by a node.
|
static String |
getExpressionByNodeLocation(NodeLocation location)
Get node's expression by a NodeLocation.
|
static List<NodeLocation> |
getLocationsByIterator(javax.jcr.NodeIterator nodeIterator)
returns the list of node location from the node iterator
|
static List |
getLocationsByNodeList(List nodeList)
returns the list of node location from the node list
|
static javax.jcr.Node |
getNodeByExpression(String expression)
Get a node by an expression.
|
static javax.jcr.Node |
getNodeByLocation(NodeLocation nodeLocation)
Get a node by a NodeLocation object.
|
static List |
getNodeListByLocationList(List locationList)
gets a Node list from a NodeLocation list
|
static NodeLocation |
getNodeLocationByExpression(String exp)
Get an NodeLocation object by an expression.
|
static NodeLocation |
getNodeLocationByNode(javax.jcr.Node node)
Get an NodeLocation object by a node.
|
boolean |
hasChildren() |
int |
hashCode() |
void |
setChildren(List<NodeLocation> children) |
String |
toString() |
getItemByLocation, getItemLocationByItem, getPath, getRepository, getUUID, getWorkspace, isSystemSession, setPath, setRepository, setSystemSession, setUUID, setWorkspacepublic NodeLocation()
public NodeLocation(String repository, String workspace, String path, String uuid, boolean isSystem)
repository - the repositoryworkspace - the workspacepath - the pathuuid - the uuidisSystem - if the node session is systempublic NodeLocation(String repository, String workspace, String path, String uuid)
repository - the repositoryworkspace - the workspacepath - the pathuuid - the uuidpublic NodeLocation(String repository, String workspace, String path)
repository - the repositoryworkspace - the workspacepath - the pathpublic NodeLocation(ItemLocation location)
public List<NodeLocation> getChildren()
public void setChildren(List<NodeLocation> children)
public boolean hasChildren()
public static final NodeLocation getNodeLocationByExpression(String exp)
exp - the expression with pattern repository:workspace:pathpublic static final NodeLocation getNodeLocationByNode(javax.jcr.Node node)
node - the nodepublic static final javax.jcr.Node getNodeByLocation(NodeLocation nodeLocation)
nodeLocation - the NodeLocation objectpublic static final List getNodeListByLocationList(List locationList)
locationList - NodeLocation listpublic static final List getLocationsByNodeList(List nodeList)
nodeList - the node listpublic static final List<NodeLocation> getLocationsByIterator(javax.jcr.NodeIterator nodeIterator)
nodeIterator - the Node iteratorpublic static final javax.jcr.Node getNodeByExpression(String expression)
expression - the expressionpublic static final String getExpressionByNode(javax.jcr.Node node)
node - the node to get expressionpublic static final String getExpressionByNodeLocation(NodeLocation location)
location - locationCopyright © 2003–2019 eXo Platform SAS. All rights reserved.