Package com.liferay.socialnetworking.model.impl

Examples of com.liferay.socialnetworking.model.impl.MeetupsEntryImpl


   *
   * @param meetupsEntryId the primary key for the new meetups entry
   * @return the new meetups entry
   */
  public MeetupsEntry create(long meetupsEntryId) {
    MeetupsEntry meetupsEntry = new MeetupsEntryImpl();

    meetupsEntry.setNew(true);
    meetupsEntry.setPrimaryKey(meetupsEntryId);

    return meetupsEntry;
  }
View Full Code Here


  protected MeetupsEntry toUnwrappedModel(MeetupsEntry meetupsEntry) {
    if (meetupsEntry instanceof MeetupsEntryImpl) {
      return meetupsEntry;
    }

    MeetupsEntryImpl meetupsEntryImpl = new MeetupsEntryImpl();

    meetupsEntryImpl.setNew(meetupsEntry.isNew());
    meetupsEntryImpl.setPrimaryKey(meetupsEntry.getPrimaryKey());

    meetupsEntryImpl.setMeetupsEntryId(meetupsEntry.getMeetupsEntryId());
    meetupsEntryImpl.setCompanyId(meetupsEntry.getCompanyId());
    meetupsEntryImpl.setUserId(meetupsEntry.getUserId());
    meetupsEntryImpl.setUserName(meetupsEntry.getUserName());
    meetupsEntryImpl.setCreateDate(meetupsEntry.getCreateDate());
    meetupsEntryImpl.setModifiedDate(meetupsEntry.getModifiedDate());
    meetupsEntryImpl.setTitle(meetupsEntry.getTitle());
    meetupsEntryImpl.setDescription(meetupsEntry.getDescription());
    meetupsEntryImpl.setStartDate(meetupsEntry.getStartDate());
    meetupsEntryImpl.setEndDate(meetupsEntry.getEndDate());
    meetupsEntryImpl.setTotalAttendees(meetupsEntry.getTotalAttendees());
    meetupsEntryImpl.setMaxAttendees(meetupsEntry.getMaxAttendees());
    meetupsEntryImpl.setPrice(meetupsEntry.getPrice());
    meetupsEntryImpl.setThumbnailId(meetupsEntry.getThumbnailId());

    return meetupsEntryImpl;
  }
View Full Code Here

TOP

Related Classes of com.liferay.socialnetworking.model.impl.MeetupsEntryImpl

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.