Package org.eurekastreams.server.domain

Examples of org.eurekastreams.server.domain.AvatarEntity


            groupLookup.put(group.getUniqueId(), group);
        }
        // lookup
        for (InAppNotificationDTO notif : results)
        {
            AvatarEntity entity = null;
            switch (notif.getAvatarOwnerType())
            {
            case PERSON:
                entity = personLookup.get(notif.getAvatarOwnerUniqueId());
                break;
            case GROUP:
                entity = groupLookup.get(notif.getAvatarOwnerUniqueId());
                break;
            default:
                int makeCheckstyleShutUpBecauseTheresNothingToDoHere = 1;
            }
            if (entity != null && entity.getAvatarId() != null)
            {
                notif.setAvatarId(entity.getAvatarId());
            }
        }

        log.trace("Found {} notifications for user {}", results.size(), userId);
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.domain.AvatarEntity

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.