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

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


                                    onFollowerStatusChanged(event.getResponse());
                                }
                            });

            CurrentUserPersonFollowingStatusModel.getInstance().fetch(
                    new GetCurrentUserFollowingStatusRequest(entityId, type), true);
        }
        else
        {
            followLink.setVisible(false);
        }
View Full Code Here


     */
    @Override
    public Serializable execute(final PrincipalActionContext inActionContext)
    {
        // get the request.
        GetCurrentUserFollowingStatusRequest inRequest = (GetCurrentUserFollowingStatusRequest) inActionContext
                .getParams();

        // get the user's account id.
        final Principal principal = inActionContext.getPrincipal();
        final String accountId = principal.getAccountId();
        final Long userId = principal.getId();

        // the followed entity's account id.
        String followedEntityId = inRequest.getFollowedEntityId();

        // the followed entity's entity type.
        final EntityType entityType = inRequest.getEntityType();

        if (log.isTraceEnabled())
        {
            log.trace("Checking the following status for the user " + accountId + " following " + followedEntityId
                    + " of entity type " + entityType.toString());
View Full Code Here

TOP

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

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.