Operation |
Details |
private addContentTypeCriterions( ArrayList contentT):void |
Sequential Tags: | throws=TechnicalException
| Notes: | Add content type criteria to the query. | |
public addCriterion( MetadataSearchCriterion criterion):void |
Sequential |
private generateNodeWithCriterion( CQLNode node, MetadataSearchCriterion criterion):CQLNode |
Sequential Tags: | throws=CQLParseException,IOException,ParseException,TechnicalException
| Notes: | Generate a three node tree with a criterion and a existing node. The existing node will be attached to a newly created node and a new root node above the two will be returned. @return root node of the two node tree | |
public getCqlNode():CQLNode |
Sequential Tags: | throws=CQLParseException,IOException,ParseException,TechnicalException
| Notes: | Returns a cql root node with the whole cql query in the tree. @return root node of cql query tree | |
public getCqlQuery():String |
Sequential Tags: | throws=CQLParseException,IOException,ParseException,TechnicalException
| |
public getCqlString():String |
Sequential Tags: | throws=ParseException,TechnicalException
| Notes: | Get the cql query as string. @return cql query string | |
private isQueryValid():boolean |
Sequential Notes: | Checks if a set of criteria can be transformed into a cql query. If a query has more than one criteria, the following criteria must have a logical operator, otherwise no valid cql query can be created. @return true if query is valid, false if not | |
public MetadataSearchQuery( ArrayList contentTypes): |
Sequential Tags: | throws=TechnicalException
| Notes: | Creates a query with a list of content types. | |
public MetadataSearchQuery( ArrayList contentTypes, ArrayList criteria): |
Sequential Tags: | throws=TechnicalException
| Notes: | Creates a query with a list of content types and a list of search criteria. | |