}
public WOComponent pushRelease() {
EOEditingContext ec = session().defaultEditingContext();
EOEnterpriseObject user = currentUser(ec);
ERDQueryPageInterface qpi = (ERDQueryPageInterface) pageForConfigurationNamed("QueryBugForPush", session());
qpi.setQueryMatchForKey(new NSArray(State.BUILD), ERXPrimaryKeyListQualifier.IsContainedInArraySelectorName, Bug.Key.STATE);
Release release = Release.clazz.defaultRelease(ec);
if(release != null) {
qpi.setQueryMatchForKey(new NSArray(release), ERXPrimaryKeyListQualifier.IsContainedInArraySelectorName, Bug.Key.TARGET_RELEASE);
}
qpi.setNextPageDelegate(new NextPageDelegate() {
public WOComponent nextPage(WOComponent sender2) {
QueryPageInterface qpi2 = (QueryPageInterface) sender2;
WOComponent bugList = sender2.pageWithName("GroupedBugsByRelease");
//bugList.takeValueForKey(qpi2.queryDataSource().fetchObjects(), "bugsInBuild");
return bugList;