Page tree
Skip to end of metadata
Go to start of metadata

The "mentioned" query returns a List of mentions for the current user. The query can accept various attributes of pagination options from the BasicPaginationEnum.


The "mentioned" query can only be called from a user-authenticated WWClient. They cannot be called from an application-authenticated WWClient. This is because those queries are looking for mentions for an individual. An application does not have any mentions.

The class has a simple static helper method, buildFullMentionedQuery(). Similar methods are also available from WWClient and WWGraphQLEndpoint.

For greater control, create an ObjectDataSenderBuilder for the Mentioned.MENTIONED_QUERY_OBJECT_NAME object, adding attributes, passing in Mentioned fields and children. Instantiate a new MentionedGraphQLQuery passing in the ObjectDataSenderBuilder as the parameter. Then pass this to WWClient.getMentionedWithQuery(). SInce 0.8.0 you can also pass this to WWClient.getMentionedContainerWithQuery(). The first one just returns the List of Mentioned objects, the second one gives access to the MentionedContainer, which gives access to the PageInfo object and the List of Mentioned objects.


public void getMentions() throws WWException, UnsupportedEncodingException {
    List<Mentioned> mentions = client.getMentioned();
    assert(mentions.size() == 10);
    Mentioned mention = mentions.get(0);
    assertEquals(mention.getPerson().getDisplayName(), "CHRISTIAN Guedemann");
  • No labels


  1. Anonymous

    A GraphQL question is executed by a GraphQL server which restores an outcome that reflects the state of the asked for inquiry. Each field on each sort is upheld by Write Me an Essay a capacity called the resolver which is given by the GraphQL server developer.

  2. Anonymous

    You could go to your undertaking director (on the off chance that you have one) and reveal to them that from a productivity point of view, paginating the information would bode well, 

    Essay writing service, I would think framework effectiveness generally speaking ought to have a higher need than the clients not having any desire to strain themselves clicking page joins.

Write a comment…