get list of rules

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2009 03:29 AM
Hi,
Iam trying to get list of rules under a perticular node. i use this script,
here Title and description always null, but this "currentRule.getNodeRef().getId()" display the value correctly.
can any please help me how to get the title and description of the rule ?
thanks
vinkk
Iam trying to get list of rules under a perticular node. i use this script,
List<Rule> lists = ruleService.getRules(nodeRef); for (Iterator<Rule> rule = lists.iterator();rule.hasNext(); ) { Rule currentRule = rule.next(); System.out.println("current rule" + currentRule.getTitle()); System.out.println("current rule" + currentRule.getDescription()); System.out.println("rule id" + currentRule.getNodeRef().getId()); }
here Title and description always null, but this "currentRule.getNodeRef().getId()" display the value correctly.
can any please help me how to get the title and description of the rule ?
thanks
vinkk
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2009 12:07 PM
is it a bug, because i get all the values except title and description, i tried from the the node,
i get all the values correctly.including title and description.
please help
vin k k
i get all the values correctly.including title and description.
please help
vin k k
