Examples of SearchConditionEvent


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

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

    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

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

 
  /*
   * @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

Examples of org.rssowl.core.persist.event.SearchConditionEvent

    return createSaveEventTemplate(entity);
  }

  @Override
  protected final SearchConditionEvent createSaveEventTemplate(ISearchCondition entity) {
    return new SearchConditionEvent(entity, true);
  }
View Full Code Here

Examples of org.rssowl.core.persist.event.SearchConditionEvent

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

Examples of org.rssowl.core.persist.event.SearchConditionEvent

    return createSaveEventTemplate(entity);
  }

  @Override
  protected final SearchConditionEvent createSaveEventTemplate(ISearchCondition entity) {
    return new SearchConditionEvent(entity, true);
  }
View Full Code Here

Examples of org.rssowl.core.persist.event.SearchConditionEvent

      ILabel oldLabel = eventTemplate == null ? null : eventTemplate.getOldLabel();
      modelEvent = new LabelEvent(oldLabel, label, root);
    }
    else if (entity instanceof ISearchCondition) {
      ISearchCondition searchCond = (ISearchCondition) entity;
      modelEvent = new SearchConditionEvent(searchCond, root);
    }
    else if (entity instanceof IPreference) {
      IPreference pref = (IPreference) entity;
      modelEvent = new PreferenceEvent(pref);
    }
View Full Code Here

Examples of org.rssowl.core.persist.event.SearchConditionEvent

   * org.rssowl.core.internal.persist.dao.AbstractEntityDAO#createSaveEventTemplate
   * (org.rssowl.core.persist.IEntity)
   */
  @Override
  protected final SearchConditionEvent createSaveEventTemplate(ISearchCondition entity) {
    return new SearchConditionEvent(entity, true);
  }
View Full Code Here

Examples of org.rssowl.core.persist.event.SearchConditionEvent

      LabelEvent eventTemplate = (LabelEvent) template;
      ILabel oldLabel = eventTemplate == null ? null : eventTemplate.getOldLabel();
      modelEvent = new LabelEvent(oldLabel, label, root);
    } else if (entity instanceof ISearchCondition) {
      ISearchCondition searchCond = (ISearchCondition) entity;
      modelEvent = new SearchConditionEvent(searchCond, root);
    } else if (entity instanceof IPreference) {
      IPreference pref = (IPreference) entity;
      modelEvent = new PreferenceEvent(pref);
    } else if (entity instanceof ISearch) {
      ISearch search = (ISearch) entity;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.