Package org.apache.shindig.social.opensocial.model

Examples of org.apache.shindig.social.opensocial.model.Account


    }

    private static List<Account> convertAccounts(List<PersonProperty> properties) {
        List<Account> accounts = new ArrayList<Account>();
        for (PersonProperty property : properties) {
            Account account = convertToAccount(property);
            accounts.add(account);
        }
        return accounts;
    }
View Full Code Here


        }
        return accounts;
    }

    private static Account convertToAccount(PersonProperty property) {
        Account account = new AccountImpl();
        account.setUsername(property.getValue());
        account.setUserId(property.getExtendedValue());
        account.setDomain(property.getQualifier());
        return account;
    }
View Full Code Here

    }

    private static List<Account> convertAccounts(List<PersonProperty> properties) {
        List<Account> accounts = new ArrayList<Account>();
        for (PersonProperty property : properties) {
            Account account = convertToAccount(property);
            accounts.add(account);
        }
        return accounts;
    }
View Full Code Here

        }
        return accounts;
    }

    private static Account convertToAccount(PersonProperty property) {
        Account account = new AccountImpl();
        account.setUsername(property.getValue());
        account.setUserId(property.getExtendedValue());
        account.setDomain(property.getQualifier());
        return account;
    }
View Full Code Here

TOP

Related Classes of org.apache.shindig.social.opensocial.model.Account

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.