예제 #1
0
  /**
   * すべてのユーザーリストを取得
   *
   * @return
   */
  public static List<UserModel> getAllUserList() {
    List<UserModel> userList = Memcache.get(ALL_USER_LIST);
    if (Utils.isNotEmpty(userList)) return userList;

    userList = userModelDao.getAllUserList();
    if (Utils.isNotEmpty(userList)) Memcache.put(ALL_USER_LIST, userList);

    return userList;
  }