Package domain

Examples of domain.UserClient


        client.setAddressID(requested.getAddress().getId());
        client.setAddressCashe(requested.getAddress().getAsStringCashe());
        client.setDistrict(requested.getDistrict());
        getDao().save((EntityWithId)client);

        UserClient userClient = new UserClient();
        userClient.setUserClientPK(new UserClientPK(getUserInfo().getLogin(), client.getId()));
        userClient.setClient(client);
        userClient.setUserLogin(requested.getRequesterLogin());
        getDao().save(userClient);

        getDao().delete(requested);

        return new ModelAndView("redirect:/operator/client.htm?client=" + client.getId());
View Full Code Here


        }
        if (requested == null) {
            return new ModelAndView("redirect:/operator/request/index.htm");
        }

        UserClient userClient = new UserClient();
        userClient.setUserClientPK(new UserClientPK(getUserInfo().getLogin(), client.getId()));
        userClient.setClient(client);
        userClient.setUserLogin(requested.getRequesterLogin());
        getDao().save(userClient);

        return new ModelAndView("redirect:/operator/request/index.htm");
    }
View Full Code Here

TOP

Related Classes of domain.UserClient

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.