Package org.rssowl.core.model.events

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


  /*
   * @see org.rssowl.core.model.dao.IModelDAO#saveCategory(org.rssowl.core.model.types.ICategory)
   */
  public ICategory saveCategory(ICategory category) throws PersistenceException {
    ModelEvent event = new CategoryEvent(category, true);
    saveCommitAndFireEvents(event, false);
    return category;
  }
View Full Code Here


  public INews saveNews(INews news) throws PersistenceException {
    INews oldNews = fDb.ext().peekPersisted(news, Integer.MAX_VALUE, true);
    if (news.isIdentical(oldNews))
      return news;
   
    ModelEvent event = new NewsEvent(oldNews, news, true);
    saveCommitAndFireEvents(event, false);
    return news;
  }
View Full Code Here

TOP

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

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.