Package org.apache.rave.portal.model

Examples of org.apache.rave.portal.model.JpaActivityStreamsEntry


        return JpaActivityStreamsEntry.class;
    }

    @Transactional
  public ActivityStreamsEntry save(ActivityStreamsEntry e) {
        JpaActivityStreamsEntry entry = converter.convert(e);

        if(entry.getUserId() == null && entry.getActor() != null) {
            entry.setUserId(entry.getActor().getId());
        }
        if(entry.getId() == null) {
            entry.setId(UUID.randomUUID().toString());
        }
        return JpaUtil.saveOrUpdate(entry.getId(), manager, entry);
  }
View Full Code Here


        return JpaActivityStreamsEntry.class;
    }

    @Transactional
  public ActivityStreamsEntry save(ActivityStreamsEntry e) {
        JpaActivityStreamsEntry entry = converter.convert(e);

        if(entry.getUserId() == null && entry.getActor() != null) {
            entry.setUserId(entry.getActor().getId());
        }
        return JpaUtil.saveOrUpdate(entry.getId(), manager, entry);
  }
View Full Code Here

TOP

Related Classes of org.apache.rave.portal.model.JpaActivityStreamsEntry

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.