Package com.liferay.docs.guestbook.model

Examples of com.liferay.docs.guestbook.model.Entry


  }

  @Override
  protected void doReindex(String className, long classPK) throws Exception {

    Entry entry = EntryLocalServiceUtil.getEntry(classPK);

    doReindex(entry);
  }
View Full Code Here


      protected void addCriteria(DynamicQuery dynamicQuery) {
      }

      @Override
      protected void performAction(Object object) throws PortalException {
        Entry entry = (Entry) object;

        Document document = getDocument(entry);

        documents.add(document);
      }
View Full Code Here

  public static Entry toModel(EntrySoap soapModel) {
    if (soapModel == null) {
      return null;
    }

    Entry model = new EntryImpl();

    model.setUuid(soapModel.getUuid());
    model.setEntryId(soapModel.getEntryId());
    model.setGroupId(soapModel.getGroupId());
    model.setCompanyId(soapModel.getCompanyId());
    model.setUserId(soapModel.getUserId());
    model.setUserName(soapModel.getUserName());
    model.setCreateDate(soapModel.getCreateDate());
    model.setModifiedDate(soapModel.getModifiedDate());
    model.setName(soapModel.getName());
    model.setEmail(soapModel.getEmail());
    model.setMessage(soapModel.getMessage());
    model.setGuestbookId(soapModel.getGuestbookId());

    return model;
  }
View Full Code Here

    if (!(obj instanceof Entry)) {
      return false;
    }

    Entry entry = (Entry)obj;

    long primaryKey = entry.getPrimaryKey();

    if (getPrimaryKey() == primaryKey) {
      return true;
    }
    else {
View Full Code Here

  @Override
  public AssetRenderer getAssetRenderer(long classPK, int type)
    throws PortalException, SystemException {

    Entry entry = EntryLocalServiceUtil.getEntry(classPK);

    return new EntryAssetRenderer(entry);
  }
View Full Code Here

   * @throws SystemException if a system exception occurred
   */
  @Override
  public Entry removeByUUID_G(String uuid, long groupId)
    throws NoSuchEntryException, SystemException {
    Entry entry = findByUUID_G(uuid, groupId);

    return remove(entry);
  }
View Full Code Here

   */
  @Override
  public Entry findByUuid_C_First(String uuid, long companyId,
    OrderByComparator orderByComparator)
    throws NoSuchEntryException, SystemException {
    Entry entry = fetchByUuid_C_First(uuid, companyId, orderByComparator);

    if (entry != null) {
      return entry;
    }

View Full Code Here

   */
  @Override
  public Entry findByUuid_C_Last(String uuid, long companyId,
    OrderByComparator orderByComparator)
    throws NoSuchEntryException, SystemException {
    Entry entry = fetchByUuid_C_Last(uuid, companyId, orderByComparator);

    if (entry != null) {
      return entry;
    }

View Full Code Here

   */
  @Override
  public Entry[] findByUuid_C_PrevAndNext(long entryId, String uuid,
    long companyId, OrderByComparator orderByComparator)
    throws NoSuchEntryException, SystemException {
    Entry entry = findByPrimaryKey(entryId);

    Session session = null;

    try {
      session = openSession();
View Full Code Here

   */
  @Override
  public Entry findByG_G_First(long groupId, long guestbookId,
    OrderByComparator orderByComparator)
    throws NoSuchEntryException, SystemException {
    Entry entry = fetchByG_G_First(groupId, guestbookId, orderByComparator);

    if (entry != null) {
      return entry;
    }

View Full Code Here

TOP

Related Classes of com.liferay.docs.guestbook.model.Entry

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.