Package org.eurekastreams.server.action.request.stream

Examples of org.eurekastreams.server.action.request.stream.GetFeaturedStreamsPageRequest


     * Initialize.
     */
    public void init()
    {
        listen();
        model.fetch(new GetFeaturedStreamsPageRequest(0, pageSize - 1), true);
    }
View Full Code Here


     */
    public void next()
    {
        listen();
        pager.nextPage();
        model.fetch(new GetFeaturedStreamsPageRequest(pager.getStartItem(), pager.getEndItem()), true);
    }
View Full Code Here

     */
    public void prev()
    {
        listen();
        pager.previousPage();
        model.fetch(new GetFeaturedStreamsPageRequest(pager.getStartItem(), pager.getEndItem()), true);
    }
View Full Code Here

                    public void update(final AddedFeaturedStreamResponseEvent event)
                    {
                        if (Session.getInstance().getCurrentPersonRoles().contains(Role.SYSTEM_ADMIN))
                        {
                            FeaturedStreamModel.getInstance().fetch(
                                    new GetFeaturedStreamsPageRequest(0, Integer.MAX_VALUE), true);
                        }
                    }
                });

        EventBus.getInstance().addObserver(DeletedFeaturedStreamResponse.class,
                new Observer<DeletedFeaturedStreamResponse>()
                {
                    public void update(final DeletedFeaturedStreamResponse event)
                    {
                        if (Session.getInstance().getCurrentPersonRoles().contains(Role.SYSTEM_ADMIN))
                        {
                            FeaturedStreamModel.getInstance().fetch(
                                    new GetFeaturedStreamsPageRequest(0, Integer.MAX_VALUE), true);
                        }
                    }
                });
    }
View Full Code Here

            currentFeaturedStreamDTO = featuredStreamDTO;

            if (Session.getInstance().getCurrentPersonRoles().contains(Role.SYSTEM_ADMIN))
            {
                FeaturedStreamModel.getInstance().fetch(new GetFeaturedStreamsPageRequest(0, Integer.MAX_VALUE), true);
            }

            streamMeta.setInnerText("");
            streamAvatar.clear();
            streamAvatar.add(avatarRenderer.render(group.getEntityId(), group.getAvatarId(), EntityType.GROUP,
View Full Code Here

        currentFeaturedStreamDTO = featuredStreamDTO;

        if (Session.getInstance().getCurrentPersonRoles().contains(Role.SYSTEM_ADMIN))
        {
            FeaturedStreamModel.getInstance().fetch(new GetFeaturedStreamsPageRequest(0, Integer.MAX_VALUE), true);
        }

        setStreamName(person.getDisplayName());

        streamMeta.setInnerText(person.getTitle());
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.action.request.stream.GetFeaturedStreamsPageRequest

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.