Package org.eurekastreams.web.client.events.data

Examples of org.eurekastreams.web.client.events.data.GotPersonFollowerStatusResponseEvent


                StreamsDiscoveryModel.getInstance().clearCache();

                EventBus eventBus = Session.getInstance().getEventBus();
                eventBus.notifyObservers(new InsertedPersonFollowerResponseEvent(request, response));

                eventBus.notifyObservers(new GotPersonFollowerStatusResponseEvent(FollowerStatus.FOLLOWING));
            }
        });
    }
View Full Code Here


                StreamsDiscoveryModel.getInstance().clearCache();

                EventBus eventBus = Session.getInstance().getEventBus();
                eventBus.notifyObservers(new DeletedPersonFollowerResponseEvent(request, response));

                eventBus.notifyObservers(new GotPersonFollowerStatusResponseEvent(FollowerStatus.NOTFOLLOWING));
            }
        });
    }
View Full Code Here

    {
        super.callReadAction("getCurrentUserFollowingStatus", request, new OnSuccessCommand<Follower.FollowerStatus>()
        {
            public void onSuccess(final FollowerStatus response)
            {
                Session.getInstance().getEventBus().notifyObservers(new GotPersonFollowerStatusResponseEvent(response));
            }
        }, useClientCacheIfAvailable);
    }
View Full Code Here

                EventBus eventBus = Session.getInstance().getEventBus();
                eventBus.notifyObservers(new InsertedGroupMemberResponseEvent(request, response));

                // simulate a status request for recipients that don't listen for changes. Event type has person in the
                // name, but that is the event used when querying groups
                eventBus.notifyObservers(new GotPersonFollowerStatusResponseEvent(FollowerStatus.FOLLOWING));
            }
        });
    }
View Full Code Here

                EventBus eventBus = Session.getInstance().getEventBus();
                eventBus.notifyObservers(new DeletedGroupMemberResponseEvent(request, response));

                // simulate a status request for recipients that don't listen for changes. Event type has person in the
                // name, but that is the event used when querying groups
                eventBus.notifyObservers(new GotPersonFollowerStatusResponseEvent(FollowerStatus.NOTFOLLOWING));
               
                // In the event that a User is removed as a Follower of a Group,
                // then it's necessary to update the UI to see that
                // the removed User is no longer is a member of this Group, and that
                // the Followers Count decrements by 1.
View Full Code Here

TOP

Related Classes of org.eurekastreams.web.client.events.data.GotPersonFollowerStatusResponseEvent

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.