Package org.rssowl.core.model.events

Examples of org.rssowl.core.model.events.SearchConditionEvent


      ILabel label = (ILabel) entity;
      modelEvent = new LabelEvent(label, root);
    }
    else if (entity instanceof ISearchCondition) {
      ISearchCondition searchCond = (ISearchCondition) entity;
      modelEvent = new SearchConditionEvent(searchCond, root);
    }
    return modelEvent;
  }
View Full Code Here


    deleteEntityAndFireEvents(event);
  }

  public void deleteSearchCondition(SearchConditionReference reference) throws PersistenceException {
    ISearchCondition searchCond = loadSearchCondition(reference.getId());
    SearchConditionEvent event = new SearchConditionEvent(searchCond, true);
    deleteEntityAndFireEvents(event);
  }
View Full Code Here

 
  /*
   * @see org.rssowl.core.model.dao.IModelDAO#saveSearchCondition(org.rssowl.core.model.search.ISearchCondition)
   */
  public ISearchCondition saveSearchCondition(ISearchCondition condition) throws PersistenceException {
    SearchConditionEvent event = new SearchConditionEvent(condition, true);
    saveCommitAndFireEvents(event, true);
    return condition;
  }
View Full Code Here

TOP

Related Classes of org.rssowl.core.model.events.SearchConditionEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.