Пример #1
0
 /**
  * @param deleted <i>true</i> if the request must return deleted news feed, <i>false</i> otherwise
  * @return the list of news feed
  */
 public static NewsFeedList getAll(final boolean isDeleted) {
   if (isDeleted) {
     return new NewsFeedList(DBRequests.getAll(DaoNewsFeed.class));
   } else {
     return new NewsFeedList(DaoNewsFeed.getAll(isDeleted));
   }
 }
Пример #2
0
 public static ExternalAccountList getAll() {
   return new ExternalAccountList(DBRequests.getAll(DaoExternalAccount.class));
 }