/** Execute issue filter from existing filter with optional overridable parameters */
 public IssueFilterResult execute(Long issueFilterId, Map<String, Object> overrideProps) {
   DefaultIssueFilter issueFilter = issueFilterService.find(issueFilterId, UserSession.get());
   Map<String, Object> props = issueFilterService.deserializeIssueFilterQuery(issueFilter);
   overrideProps(props, overrideProps);
   IssueQuery issueQuery = PublicRubyIssueService.toQuery(props);
   return issueFilterService.execute(issueQuery);
 }
 public boolean isUserAuthorized(DefaultIssueFilter issueFilter) {
   try {
     UserSession userSession = UserSession.get();
     String user = issueFilterService.getLoggedLogin(userSession);
     issueFilterService.verifyCurrentUserCanReadFilter(issueFilter, user);
     return true;
   } catch (Exception e) {
     return false;
   }
 }
 public boolean toggleFavouriteIssueFilter(Long issueFilterId) {
   return issueFilterService.toggleFavouriteIssueFilter(issueFilterId, UserSession.get());
 }
 public List<DefaultIssueFilter> findFavouriteIssueFiltersForCurrentUser() {
   return issueFilterService.findFavoriteFilters(UserSession.get());
 }
 public List<DefaultIssueFilter> findSharedFiltersForCurrentUser() {
   return issueFilterService.findSharedFiltersWithoutUserFilters(UserSession.get());
 }
 /** Copy issue filter */
 public DefaultIssueFilter copyIssueFilter(
     Long issueFilterIdToCopy, Map<String, String> parameters) {
   DefaultIssueFilter result = createIssueFilterResultForCopy(parameters);
   return issueFilterService.copy(issueFilterIdToCopy, result, UserSession.get());
 }
 /** Delete issue filter */
 public void deleteIssueFilter(Long issueFilterId) {
   issueFilterService.delete(issueFilterId, UserSession.get());
 }
 /** Update issue filter data */
 public DefaultIssueFilter updateIssueFilterQuery(Long issueFilterId, Map<String, Object> data) {
   return issueFilterService.updateFilterQuery(issueFilterId, data, UserSession.get());
 }
 /** Update issue filter */
 public DefaultIssueFilter updateIssueFilter(Map<String, String> parameters) {
   DefaultIssueFilter result = createIssueFilterResultForUpdate(parameters);
   return issueFilterService.update(result, UserSession.get());
 }
 /** List user issue filter */
 public List<DefaultIssueFilter> findIssueFiltersForCurrentUser() {
   return issueFilterService.findByUser(UserSession.get());
 }
 /** Execute issue filter from parameters */
 public IssueFilterResult execute(Map<String, Object> props) {
   IssueQuery issueQuery = PublicRubyIssueService.toQuery(props);
   return issueFilterService.execute(issueQuery);
 }
 public Map<String, Object> deserializeFilterQuery(DefaultIssueFilter issueFilter) {
   return issueFilterService.deserializeIssueFilterQuery(issueFilter);
 }
 public String serializeFilterQuery(Map<String, Object> filterQuery) {
   return issueFilterService.serializeFilterQuery(filterQuery);
 }
 public boolean canUserShareIssueFilter() {
   return issueFilterService.canShareFilter(UserSession.get());
 }
 /** Return the issue filter if the user has the right to see it Never return null */
 public DefaultIssueFilter findIssueFilter(Long id) {
   return issueFilterService.find(id, UserSession.get());
 }
 @CheckForNull
 public DefaultIssueFilter findIssueFilterById(Long id) {
   return issueFilterService.findById(id);
 }