コード例 #1
0
 /* (non-Javadoc)
  * @see com.google.code.stackexchange.client.query.QuestionApiQuery#listQuestionsByUser()
  */
 @Override
 public PagedList<Question> listQuestionsByUser() {
   ((DefaultApiUrlBuilder) apiUrlBuilder)
       .withMethod(StackExchangeApiMethods.GET_QUESTIONS_BY_USER);
   return super.list();
 }
コード例 #2
0
 /* (non-Javadoc)
  * @see com.google.code.stackexchange.client.query.QuestionApiQuery#listUnansweredQuestions()
  */
 @Override
 public PagedList<Question> listUnansweredQuestions() {
   ((DefaultApiUrlBuilder) apiUrlBuilder)
       .withMethod(StackExchangeApiMethods.GET_UN_ANSWERED_QUESTIONS);
   return super.list();
 }
コード例 #3
0
 /* (non-Javadoc)
  * @see com.google.code.stackexchange.client.query.QuestionApiQuery#listFavoriteQuestions()
  */
 @Override
 public PagedList<Question> listFavoriteQuestions() {
   ((DefaultApiUrlBuilder) apiUrlBuilder)
       .withMethod(StackExchangeApiMethods.GET_FAVORITE_QUESTIONS);
   return super.list();
 }
コード例 #4
0
 @Override
 public PagedList<User> listAssociatedAccounts() {
   ((DefaultApiUrlBuilder) apiUrlBuilder).withMethod(StackExchangeApiMethods.GET_ASSOCIATED_USERS);
   return super.list();
 }
コード例 #5
0
 @Override
 public PagedList<User> listModerators() {
   ((DefaultApiUrlBuilder) apiUrlBuilder).withMethod(StackExchangeApiMethods.GET_MODERATORS);
   return super.list();
 }
コード例 #6
0
 /* (non-Javadoc)
  * @see com.google.code.stackexchange.client.query.UserApiQuery#listByBadge()
  */
 @Override
 public PagedList<User> listByBadge() {
   ((DefaultApiUrlBuilder) apiUrlBuilder).withMethod(StackExchangeApiMethods.GET_BADGE_RECIPIENTS);
   return super.list();
 }