Issue Details (XML | Word | Printable)

Key: BCMS-42
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Savvas Triantafyllou
Reporter: Savvas Triantafyllou
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
BetaCMS

Provide the feature of parsing a String and creating Criterion instances

Created: 15/Apr/09 12:17 AM   Updated: 15/Apr/09 12:29 AM
Component/s: betacms-repository-model
Affects Version/s: 2.1.0.CR1
Fix Version/s: 2.1.0.CR1

Time Tracking:
Not Specified


 Description  « Hide
CriterionFactory must provide a method which will take a string as an argument and create one or more Criterion. This string must contain one or more restrictions of the form
      property operator value (title="My title").

Full use of parenthesis and conditions (AND, OR) must also be supported.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Savvas Triantafyllou added a comment - 15/Apr/09 12:29 AM
Add method
    Criterion parse(String expression)

in CriterionFactory.

See method documentation for full details about its use

Commited revision : 2627-2630