Package com.groupon.odo.proxylib.models

Examples of com.groupon.odo.proxylib.models.Client


     * @return
     * @throws Exception
     */
    public Client setFriendlyName(int profileId, String clientUUID, String friendlyName) throws Exception {
        // first see if this friendlyName is already in use
        Client client = this.findClientFromFriendlyName(profileId, friendlyName);
        if (client != null) {
            throw new Exception("Friendly name already in use");
        }

        PreparedStatement statement = null;
View Full Code Here


     * @param friendlyName
     * @return Client or null
     * @throws Exception
     */
    public Client findClientFromFriendlyName(int profileId, String friendlyName) throws Exception {
        Client client = null;

        // Don't even try if the friendlyName is null/empty
        if (friendlyName == null || friendlyName.compareTo("") == 0) {
            return client;
        }
View Full Code Here

TOP

Related Classes of com.groupon.odo.proxylib.models.Client

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.