Package ru.org.linux.site

Examples of ru.org.linux.site.ApiDeleteInfo


      );
    }

    ApiUserRef ref = userService.ref(author, tmpl!=null?tmpl.getCurrentUser():null);

    ApiDeleteInfo deleteInfo = loadDeleteInfo(comment);

    EditSummary editSummary = loadEditSummary(comment);

    String postIP = null;
    String userAgent = null;
View Full Code Here


            deletable, editable, remark, userpic, deleteInfo, editSummary,
            postIP, userAgent);
  }

  private ApiDeleteInfo loadDeleteInfo(Comment comment) throws UserNotFoundException {
    ApiDeleteInfo deleteInfo = null;

    if (comment.isDeleted()) {
      DeleteInfo info = deleteInfoDao.getDeleteInfo(comment.getId());

      if (info!=null) {
        deleteInfo = new ApiDeleteInfo(
                userDao.getUserCached(info.getUserid()).getNick(),
                info.getReason()
        );
      }
    }
View Full Code Here

TOP

Related Classes of ru.org.linux.site.ApiDeleteInfo

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.