Package org.rssowl.core.persist.event

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


    return createSaveEventTemplate(entity);
  }

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


    if (entity instanceof INews) {
      modelEvent = createNewsEvent((INews) entity, template, root);
    }
    else if (entity instanceof IAttachment) {
      IAttachment attachment = (IAttachment) entity;
      modelEvent = new AttachmentEvent(attachment, root);
    }
    else if (entity instanceof ICategory) {
      ICategory category = (ICategory) entity;
      modelEvent = new CategoryEvent(category, root);
    }
View Full Code Here

    return createSaveEventTemplate(entity);
  }

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

    if (entity instanceof INews) {
      modelEvent = createNewsEvent((INews) entity, template, root);
    }
    else if (entity instanceof IAttachment) {
      IAttachment attachment = (IAttachment) entity;
      modelEvent = new AttachmentEvent(attachment, root);
    }
    else if (entity instanceof ICategory) {
      ICategory category = (ICategory) entity;
      modelEvent = new CategoryEvent(category, root);
    }
View Full Code Here

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

    boolean merged = isMerged(template);
    if (entity instanceof INews) {
      modelEvent = createNewsEvent((INews) entity, template, root, merged);
    } else if (entity instanceof IAttachment) {
      IAttachment attachment = (IAttachment) entity;
      modelEvent = new AttachmentEvent(attachment, root);
    } else if (entity instanceof ICategory) {
      ICategory category = (ICategory) entity;
      modelEvent = new CategoryEvent(category, root);
    } else if (entity instanceof IFeed) {
      IFeed feed = (IFeed) entity;
View Full Code Here

TOP

Related Classes of org.rssowl.core.persist.event.AttachmentEvent

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.