Package org.eurekastreams.server.action.request.profile

Examples of org.eurekastreams.server.action.request.profile.GetRequestForGroupMembershipRequest


     */
    @Before
    public void setUp()
    {
        sut = new GetRequestsForGroupMembershipByGroupExecution(requestMapper, peopleMapper);
        request = new GetRequestForGroupMembershipRequest(GROUP_ID, null, START_INDEX, END_INDEX);

        context.checking(new Expectations()
        {
            {
                allowing(actionCtx).getParams();
View Full Code Here


     * Initialize.
     */
    public void init()
    {
        GroupMembershipRequestModel.getInstance().fetch(
                new GetRequestForGroupMembershipRequest(groupId, groupShortName, pager.getStartItem(), pager
                        .getEndItem()), false);
    }
View Full Code Here

     */
    public void next()
    {
        pager.nextPage();
        GroupMembershipRequestModel.getInstance().fetch(
                new GetRequestForGroupMembershipRequest(groupId, groupShortName, pager.getStartItem(), pager
                        .getEndItem()), false);
    }
View Full Code Here

     */
    public void prev()
    {
        pager.previousPage();
        GroupMembershipRequestModel.getInstance().fetch(
                new GetRequestForGroupMembershipRequest(groupId, groupShortName, pager.getStartItem(), pager
                        .getEndItem()), false);
    }
View Full Code Here

        ActionContext ctx = new ActionContext()
        {
            public Serializable getParams()
            {
                // a sample request that implements HasGroupId
                return new GetRequestForGroupMembershipRequest(8L, null, 0, 0);
            }

            public Map<String, Object> getState()
            {
                return null;
View Full Code Here

     * {@inheritDoc}
     */
    @Override
    public Serializable execute(final ActionContext inActionContext) throws ExecutionException
    {
        GetRequestForGroupMembershipRequest request = (GetRequestForGroupMembershipRequest) inActionContext.getParams();

        PagedSet<Long> idsPagedSet = requestMapper.execute(request);
        List<PersonModelView> list;
        if (idsPagedSet.getPagedSet().isEmpty())
        {
View Full Code Here

        final long groupId = 8L;
        final int startIndex = 0;
        final int endIndex = 9;
        final long personId = 4507L;

        GetRequestForGroupMembershipRequest request = new GetRequestForGroupMembershipRequest(groupId, null,
                startIndex, endIndex);

        // perform SUT
        PagedSet<Long> results = sut.execute(request);
View Full Code Here

    {
        final long groupId = 7L;
        final int startIndex = 0;
        final int endIndex = 9;

        GetRequestForGroupMembershipRequest request = new GetRequestForGroupMembershipRequest(groupId, null,
                startIndex, endIndex);

        // perform SUT
        PagedSet<Long> results = sut.execute(request);
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.action.request.profile.GetRequestForGroupMembershipRequest

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.