Package org.eurekastreams.server.search.modelview

Examples of org.eurekastreams.server.search.modelview.DomainGroupModelView


            domainGroupsByShortNamesMap.put(domainGroup.getShortName(), domainGroup);
        }

        // set transient data in DTOs for group and people.
        PersonModelView pmv;
        DomainGroupModelView gmv;

        // there could be duplicates in the input list, so loop across the input list
        for (DisplayInfoSettable ds : inDisplaySettables)
        {
            if (ds.getEntityType() == EntityType.PERSON)
            {
                pmv = peopleByAccountIdsMap.get(ds.getStreamUniqueKey());
                if (pmv != null)
                {
                    ds.setAvatarId(pmv.getAvatarId());
                    ds.setDisplayName(pmv.getDisplayName());
                }
            }
            else if (ds.getEntityType() == EntityType.GROUP)
            {
                gmv = domainGroupsByShortNamesMap.get(ds.getStreamUniqueKey());
                if (gmv != null)
                {
                    ds.setAvatarId(gmv.getAvatarId());
                    ds.setDisplayName(gmv.getDisplayName());
                }
            }
        }

        return inDisplaySettables;
View Full Code Here


            {
                followerAccountId = inActionContext.getActionContext().getPrincipal().getAccountId();
            }

            followerId = getPersonIdFromAccountIdMapper.execute(followerAccountId);
            DomainGroupModelView targetResult = groupMapper.fetchUniqueResult(currentRequest.getTargetUniqueId());
            targetName = targetResult.getName();
            targetId = targetResult.getEntityId();
        }
        else if (params instanceof SetFollowingStatusByGroupCreatorRequest)
        {
            SetFollowingStatusByGroupCreatorRequest currentRequest = // \n
            (SetFollowingStatusByGroupCreatorRequest) params;
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.search.modelview.DomainGroupModelView

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.