Java Doc for QueryObjectModelFactory.java in  » 6.0-JDK-Modules » jsr-283 » javax » jcr » query » qom » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » jsr 283 » javax.jcr.query.qom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.jcr.query.qom.QueryObjectModelFactory

QueryObjectModelFactory
public interface QueryObjectModelFactory extends QueryObjectModelConstants(Code)
A QueryObjectModelFactory creates instances of the JCR query object model.

Refer to QueryObjectModel for a description of the query object model.
since:
   JCR 2.0





Method Summary
public  Andand(Constraint constraint1, Constraint constraint2)
     Performs a logical conjunction of two other constraints.
public  Orderingascending(DynamicOperand operand)
     Orders by the value of the specified operand, in ascending order.
public  BindVariableValuebindVariable(String bindVariableName)
     Evaluates to the value of a bind variable.
public  ChildNodechildNode(String path)
     Tests whether a node in the default selector is a child of a node reachable by a specified absolute path.
public  ChildNodechildNode(String selectorName, String path)
     Tests whether a node in the specified selector is a child of a node reachable by a specified absolute path.
public  ChildNodeJoinConditionchildNodeJoinCondition(String childSelectorName, String parentSelectorName)
     Tests whether a first selector's node is a child of a second selector's node.
public  Columncolumn(String propertyName)
     Identifies a property in the default selector to include in the tabular view of query results.
public  Columncolumn(String propertyName, String columnName)
     Identifies a property in the default selector to include in the tabular view of query results.
public  Columncolumn(String selectorName, String propertyName, String columnName)
     Identifies a property in the specified selector to include in the tabular view of query results.
public  Comparisoncomparison(DynamicOperand operand1, int operator, StaticOperand operand2)
     Filters node-tuples based on the outcome of a binary operation.
public  QueryObjectModelcreateQuery(Selector selector, Constraint constraint, Ordering[] orderings, Column[] columns)
     Creates a query with one selector.
public  QueryObjectModelcreateQuery(Source source, Constraint constraint, Ordering[] orderings, Column[] columns)
     Creates a query with one or more selectors.

If source is a selector, that selector is the default selector of the query.

public  DescendantNodedescendantNode(String path)
     Tests whether a node in the default selector is a descendant of a node reachable by a specified absolute path.
public  DescendantNodedescendantNode(String selectorName, String path)
     Tests whether a node in the specified selector is a descendant of a node reachable by a specified absolute path.
public  DescendantNodeJoinConditiondescendantNodeJoinCondition(String descendantSelectorName, String ancestorSelectorName)
     Tests whether a first selector's node is a descendant of a second selector's node.
public  Orderingdescending(DynamicOperand operand)
     Orders by the value of the specified operand, in descending order.
public  EquiJoinConditionequiJoinCondition(String selector1Name, String property1Name, String selector2Name, String property2Name)
     Tests whether the value of a property in a first selector is equal to the value of a property in a second selector.
public  FullTextSearchfullTextSearch(String propertyName, String fullTextSearchExpression)
     Performs a full-text search against the default selector.
public  FullTextSearchfullTextSearch(String selectorName, String propertyName, String fullTextSearchExpression)
     Performs a full-text search against the specified selector.
public  FullTextSearchScorefullTextSearchScore()
     Evaluates to a DOUBLE value equal to the full-text search score of a node in the default selector.
public  FullTextSearchScorefullTextSearchScore(String selectorName)
     Evaluates to a DOUBLE value equal to the full-text search score of a node in the specified selector.
public  Joinjoin(Source left, Source right, int joinType, JoinCondition joinCondition)
     Performs a join between two node-tuple sources.
public  Lengthlength(PropertyValue propertyValue)
     Evaluates to the length (or lengths, if multi-valued) of a property.
public  LowerCaselowerCase(DynamicOperand operand)
     Evaluates to the lower-case string value (or values, if multi-valued) of an operand.
public  NodeLocalNamenodeLocalName()
     Evaluates to a NAME value equal to the local (unprefixed) name of a node in the default selector.
public  NodeLocalNamenodeLocalName(String selectorName)
     Evaluates to a NAME value equal to the local (unprefixed) name of a node in the specified selector.
public  NodeNamenodeName()
     Evaluates to a NAME value equal to the prefix-qualified name of a node in the default selector.
public  NodeNamenodeName(String selectorName)
     Evaluates to a NAME value equal to the prefix-qualified name of a node in the specified selector.
public  Notnot(Constraint constraint)
     Performs a logical negation of another constraint.
public  Oror(Constraint constraint1, Constraint constraint2)
     Performs a logical disjunction of two other constraints.
public  PropertyExistencepropertyExistence(String propertyName)
     Tests the existence of a property in the default selector.
public  PropertyExistencepropertyExistence(String selectorName, String propertyName)
     Tests the existence of a property in the specified selector.
public  PropertyValuepropertyValue(String propertyName)
     Evaluates to the value (or values, if multi-valued) of a property of the default selector.
public  PropertyValuepropertyValue(String selectorName, String propertyName)
     Evaluates to the value (or values, if multi-valued) of a property in the specified selector.
public  SameNodesameNode(String path)
     Tests whether a node in the default selector is reachable by a specified absolute path.
public  SameNodesameNode(String selectorName, String path)
     Tests whether a node in the specified selector is reachable by a specified absolute path.
public  SameNodeJoinConditionsameNodeJoinCondition(String selector1Name, String selector2Name)
     Tests whether a first selector's node is the same as a second selector's node.
public  SameNodeJoinConditionsameNodeJoinCondition(String selector1Name, String selector2Name, String selector2Path)
     Tests whether a first selector's node is the same as a node identified by relative path from a second selector's node.
public  Selectorselector(String nodeTypeName)
     Selects a subset of the nodes in the repository based on node type.
public  Selectorselector(String nodeTypeName, String selectorName)
     Selects a subset of the nodes in the repository based on node type.
public  UpperCaseupperCase(DynamicOperand operand)
     Evaluates to the upper-case string value (or values, if multi-valued) of an operand.



Method Detail
and
public And and(Constraint constraint1, Constraint constraint2) throws InvalidQueryException, RepositoryException(Code)
Performs a logical conjunction of two other constraints.
Parameters:
  constraint1 - the first constraint; non-null
Parameters:
  constraint2 - the second constraint; non-null the And constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



ascending
public Ordering ascending(DynamicOperand operand) throws InvalidQueryException, RepositoryException(Code)
Orders by the value of the specified operand, in ascending order.
Parameters:
  operand - the operand by which to order; non-null the ordering
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



bindVariable
public BindVariableValue bindVariable(String bindVariableName) throws InvalidQueryException, RepositoryException(Code)
Evaluates to the value of a bind variable.
Parameters:
  bindVariableName - the bind variable name; non-null the operand; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



childNode
public ChildNode childNode(String path) throws InvalidQueryException, RepositoryException(Code)
Tests whether a node in the default selector is a child of a node reachable by a specified absolute path.
Parameters:
  path - an absolute path; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query has no default selectoror is otherwise invalid
throws:
  RepositoryException - if the operation otherwise fails



childNode
public ChildNode childNode(String selectorName, String path) throws InvalidQueryException, RepositoryException(Code)
Tests whether a node in the specified selector is a child of a node reachable by a specified absolute path.
Parameters:
  selectorName - the selector name; non-null
Parameters:
  path - an absolute path; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



childNodeJoinCondition
public ChildNodeJoinCondition childNodeJoinCondition(String childSelectorName, String parentSelectorName) throws InvalidQueryException, RepositoryException(Code)
Tests whether a first selector's node is a child of a second selector's node.
Parameters:
  childSelectorName - the name of the child selector; non-null
Parameters:
  parentSelectorName - the name of the parent selector; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



column
public Column column(String propertyName) throws InvalidQueryException, RepositoryException(Code)
Identifies a property in the default selector to include in the tabular view of query results.

The column name is the property name.
Parameters:
  propertyName - the property name, or null to include a columnfor each single-value non-residual property ofthe selector's node type the column; non-null
throws:
  InvalidQueryException - if the query has no default selectoror is otherwise invalid
throws:
  RepositoryException - if the operation otherwise fails




column
public Column column(String propertyName, String columnName) throws InvalidQueryException, RepositoryException(Code)
Identifies a property in the default selector to include in the tabular view of query results.
Parameters:
  propertyName - the property name, or null to include a columnfor each single-value non-residual property ofthe selector's node type
Parameters:
  columnName - the column name; must be null ifpropertyName is null the column; non-null
throws:
  InvalidQueryException - if the query has no default selectoror is otherwise invalid
throws:
  RepositoryException - if the operation otherwise fails



column
public Column column(String selectorName, String propertyName, String columnName) throws InvalidQueryException, RepositoryException(Code)
Identifies a property in the specified selector to include in the tabular view of query results.
Parameters:
  selectorName - the selector name; non-null
Parameters:
  propertyName - the property name, or null to include a columnfor each single-value non-residual property ofthe selector's node type
Parameters:
  columnName - the column name; if null, defaults topropertyName; must be null ifpropertyName is null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



comparison
public Comparison comparison(DynamicOperand operand1, int operator, StaticOperand operand2) throws InvalidQueryException, RepositoryException(Code)
Filters node-tuples based on the outcome of a binary operation.
Parameters:
  operand1 - the first operand; non-null
Parameters:
  operator - the operator; either
Parameters:
  operand2 - the second operand; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



createQuery
public QueryObjectModel createQuery(Selector selector, Constraint constraint, Ordering[] orderings, Column[] columns) throws InvalidQueryException, RepositoryException(Code)
Creates a query with one selector.

The specified selector will be the default selector of the query.
Parameters:
  selector - the selector; non-null
Parameters:
  constraint - the constraint, or null if none
Parameters:
  orderings - zero or more orderings; null is equivalent to azero-length array
Parameters:
  columns - the columns; null is equivalent to a zero-lengtharray the query; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails




createQuery
public QueryObjectModel createQuery(Source source, Constraint constraint, Ordering[] orderings, Column[] columns) throws InvalidQueryException, RepositoryException(Code)
Creates a query with one or more selectors.

If source is a selector, that selector is the default selector of the query. Otherwise the query does not have a default selector.
Parameters:
  source - the node-tuple source; non-null
Parameters:
  constraint - the constraint, or null if none
Parameters:
  orderings - zero or more orderings; null is equivalent to azero-length array
Parameters:
  columns - the columns; null is equivalent to a zero-lengtharray the query; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails




descendantNode
public DescendantNode descendantNode(String path) throws InvalidQueryException, RepositoryException(Code)
Tests whether a node in the default selector is a descendant of a node reachable by a specified absolute path.
Parameters:
  path - an absolute path; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query has no default selectoror is otherwise invalid
throws:
  RepositoryException - if the operation otherwise fails



descendantNode
public DescendantNode descendantNode(String selectorName, String path) throws InvalidQueryException, RepositoryException(Code)
Tests whether a node in the specified selector is a descendant of a node reachable by a specified absolute path.
Parameters:
  selectorName - the selector name; non-null
Parameters:
  path - an absolute path; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



descendantNodeJoinCondition
public DescendantNodeJoinCondition descendantNodeJoinCondition(String descendantSelectorName, String ancestorSelectorName) throws InvalidQueryException, RepositoryException(Code)
Tests whether a first selector's node is a descendant of a second selector's node.
Parameters:
  descendantSelectorName - the name of the descendant selector; non-null
Parameters:
  ancestorSelectorName - the name of the ancestor selector; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



descending
public Ordering descending(DynamicOperand operand) throws InvalidQueryException, RepositoryException(Code)
Orders by the value of the specified operand, in descending order.
Parameters:
  operand - the operand by which to order; non-null the ordering
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



equiJoinCondition
public EquiJoinCondition equiJoinCondition(String selector1Name, String property1Name, String selector2Name, String property2Name) throws InvalidQueryException, RepositoryException(Code)
Tests whether the value of a property in a first selector is equal to the value of a property in a second selector.
Parameters:
  selector1Name - the name of the first selector; non-null
Parameters:
  property1Name - the property name in the first selector; non-null
Parameters:
  selector2Name - the name of the second selector; non-null
Parameters:
  property2Name - the property name in the second selector; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



fullTextSearch
public FullTextSearch fullTextSearch(String propertyName, String fullTextSearchExpression) throws InvalidQueryException, RepositoryException(Code)
Performs a full-text search against the default selector.
Parameters:
  propertyName - the property name, or null to search allfull-text indexed properties of the node(or node subtree, in some implementations)
Parameters:
  fullTextSearchExpression - the full-text search expression; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query has no default selectoror is otherwise invalid
throws:
  RepositoryException - if the operation otherwise fails



fullTextSearch
public FullTextSearch fullTextSearch(String selectorName, String propertyName, String fullTextSearchExpression) throws InvalidQueryException, RepositoryException(Code)
Performs a full-text search against the specified selector.
Parameters:
  selectorName - the selector name; non-null
Parameters:
  propertyName - the property name, or null to search allfull-text indexed properties of the node(or node subtree, in some implementations)
Parameters:
  fullTextSearchExpression - the full-text search expression; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



fullTextSearchScore
public FullTextSearchScore fullTextSearchScore() throws InvalidQueryException, RepositoryException(Code)
Evaluates to a DOUBLE value equal to the full-text search score of a node in the default selector. the operand; non-null
throws:
  InvalidQueryException - if the query has no default selectoror is otherwise invalid
throws:
  RepositoryException - if the operation otherwise fails



fullTextSearchScore
public FullTextSearchScore fullTextSearchScore(String selectorName) throws InvalidQueryException, RepositoryException(Code)
Evaluates to a DOUBLE value equal to the full-text search score of a node in the specified selector.
Parameters:
  selectorName - the selector name; non-null the operand; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



join
public Join join(Source left, Source right, int joinType, JoinCondition joinCondition) throws InvalidQueryException, RepositoryException(Code)
Performs a join between two node-tuple sources.
Parameters:
  left - the left node-tuple source; non-null
Parameters:
  right - the right node-tuple source; non-null
Parameters:
  joinType - either
Parameters:
  joinCondition - the join condition; non-null the join; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



length
public Length length(PropertyValue propertyValue) throws InvalidQueryException, RepositoryException(Code)
Evaluates to the length (or lengths, if multi-valued) of a property.
Parameters:
  propertyValue - the property value for which to compute the length;non-null the operand; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



lowerCase
public LowerCase lowerCase(DynamicOperand operand) throws InvalidQueryException, RepositoryException(Code)
Evaluates to the lower-case string value (or values, if multi-valued) of an operand.
Parameters:
  operand - the operand whose value is converted to alower-case string; non-null the operand; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



nodeLocalName
public NodeLocalName nodeLocalName() throws InvalidQueryException, RepositoryException(Code)
Evaluates to a NAME value equal to the local (unprefixed) name of a node in the default selector. the operand; non-null
throws:
  InvalidQueryException - if the query has no default selectoror is otherwise invalid
throws:
  RepositoryException - if the operation otherwise fails



nodeLocalName
public NodeLocalName nodeLocalName(String selectorName) throws InvalidQueryException, RepositoryException(Code)
Evaluates to a NAME value equal to the local (unprefixed) name of a node in the specified selector.
Parameters:
  selectorName - the selector name; non-null the operand; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



nodeName
public NodeName nodeName() throws InvalidQueryException, RepositoryException(Code)
Evaluates to a NAME value equal to the prefix-qualified name of a node in the default selector. the operand; non-null
throws:
  InvalidQueryException - if the query has no default selectoror is otherwise invalid
throws:
  RepositoryException - if the operation otherwise fails



nodeName
public NodeName nodeName(String selectorName) throws InvalidQueryException, RepositoryException(Code)
Evaluates to a NAME value equal to the prefix-qualified name of a node in the specified selector.
Parameters:
  selectorName - the selector name; non-null the operand; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



not
public Not not(Constraint constraint) throws InvalidQueryException, RepositoryException(Code)
Performs a logical negation of another constraint.
Parameters:
  constraint - the constraint to be negated; non-null the Not constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



or
public Or or(Constraint constraint1, Constraint constraint2) throws InvalidQueryException, RepositoryException(Code)
Performs a logical disjunction of two other constraints.
Parameters:
  constraint1 - the first constraint; non-null
Parameters:
  constraint2 - the second constraint; non-null the Or constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



propertyExistence
public PropertyExistence propertyExistence(String propertyName) throws InvalidQueryException, RepositoryException(Code)
Tests the existence of a property in the default selector.
Parameters:
  propertyName - the property name; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query has no default selectoror is otherwise invalid
throws:
  RepositoryException - if the operation otherwise fails



propertyExistence
public PropertyExistence propertyExistence(String selectorName, String propertyName) throws InvalidQueryException, RepositoryException(Code)
Tests the existence of a property in the specified selector.
Parameters:
  selectorName - the selector name; non-null
Parameters:
  propertyName - the property name; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



propertyValue
public PropertyValue propertyValue(String propertyName) throws InvalidQueryException, RepositoryException(Code)
Evaluates to the value (or values, if multi-valued) of a property of the default selector.
Parameters:
  propertyName - the property name; non-null the operand; non-null
throws:
  InvalidQueryException - if the query has no default selectoror is otherwise invalid
throws:
  RepositoryException - if the operation otherwise fails



propertyValue
public PropertyValue propertyValue(String selectorName, String propertyName) throws InvalidQueryException, RepositoryException(Code)
Evaluates to the value (or values, if multi-valued) of a property in the specified selector.
Parameters:
  selectorName - the selector name; non-null
Parameters:
  propertyName - the property name; non-null the operand; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



sameNode
public SameNode sameNode(String path) throws InvalidQueryException, RepositoryException(Code)
Tests whether a node in the default selector is reachable by a specified absolute path.
Parameters:
  path - an absolute path; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query has no default selectoror is otherwise invalid
throws:
  RepositoryException - if the operation otherwise fails



sameNode
public SameNode sameNode(String selectorName, String path) throws InvalidQueryException, RepositoryException(Code)
Tests whether a node in the specified selector is reachable by a specified absolute path.
Parameters:
  selectorName - the selector name; non-null
Parameters:
  path - an absolute path; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



sameNodeJoinCondition
public SameNodeJoinCondition sameNodeJoinCondition(String selector1Name, String selector2Name) throws InvalidQueryException, RepositoryException(Code)
Tests whether a first selector's node is the same as a second selector's node.
Parameters:
  selector1Name - the name of the first selector; non-null
Parameters:
  selector2Name - the name of the second selector; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



sameNodeJoinCondition
public SameNodeJoinCondition sameNodeJoinCondition(String selector1Name, String selector2Name, String selector2Path) throws InvalidQueryException, RepositoryException(Code)
Tests whether a first selector's node is the same as a node identified by relative path from a second selector's node.
Parameters:
  selector1Name - the name of the first selector; non-null
Parameters:
  selector2Name - the name of the second selector; non-null
Parameters:
  selector2Path - the path relative to the second selector; non-null the constraint; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



selector
public Selector selector(String nodeTypeName) throws InvalidQueryException, RepositoryException(Code)
Selects a subset of the nodes in the repository based on node type.

The selector name is the node type name.
Parameters:
  nodeTypeName - the name of the required node type; non-null the selector; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails




selector
public Selector selector(String nodeTypeName, String selectorName) throws InvalidQueryException, RepositoryException(Code)
Selects a subset of the nodes in the repository based on node type.
Parameters:
  nodeTypeName - the name of the required node type; non-null
Parameters:
  selectorName - the selector name; non-null the selector; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



upperCase
public UpperCase upperCase(DynamicOperand operand) throws InvalidQueryException, RepositoryException(Code)
Evaluates to the upper-case string value (or values, if multi-valued) of an operand.
Parameters:
  operand - the operand whose value is converted to aupper-case string; non-null the operand; non-null
throws:
  InvalidQueryException - if the query is invalid
throws:
  RepositoryException - if the operation otherwise fails



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.