Examples of AvatarUrlGenerator


Examples of org.eurekastreams.server.domain.AvatarUrlGenerator

        List<ListField> emailList = new ArrayList<ListField>();
        emailList.add(new ListFieldImpl("primary", inPerson.getEmail()));
        osPerson.setEmails(emailList);

        AvatarUrlGenerator generator = new AvatarUrlGenerator(EntityType.PERSON);
        osPerson.setThumbnailUrl(containerBaseUrl + generator.getNormalAvatarUrl(inPerson.getAvatarId()));

        osPerson.setAccounts(Collections.singletonList((Account) new AccountImpl(accountTopLevelDomain, null, inPerson
                .getAccountId())));

        return osPerson;
View Full Code Here

Examples of org.eurekastreams.server.domain.AvatarUrlGenerator

                public void onClick(final ClickEvent inArg0)
                {
                    // Since the size of the image is required before we can correctly show the
                    // resize dialog, this method determines the avatar url and sets image url.
                    // The load event of that image being loaded will kick off the resize modal.
                    AvatarUrlGenerator urlGenerator = new AvatarUrlGenerator(EntityType.PERSON);
                    hiddenImage.setUrl(urlGenerator.getOriginalAvatarUrl(avatarId));
                }
            });
            hiddenImage.addLoadHandler(new LoadHandler()
            {
                public void onLoad(final LoadEvent inEvent)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.