Package org.jabusuite.core.utils.session

Examples of org.jabusuite.core.utils.session.UserNumbersRemote


    }

    protected String getNextUserNumber(Class c) {
        try {
            logger.debug("Retrieving new user-number for " + this.getTransaction().getClass().getSimpleName());
            UserNumbersRemote userNumbers = (UserNumbersRemote) ClientTools.getRemoteBean(UserNumbersRemote.class);
            return userNumbers.getNextNumber(c.getSimpleName(), ClientGlobals.getCompany());
        } catch (NamingException e) {
            logger.error("Error getting user-numer.", e);
            return "";
        }
View Full Code Here


    private static Logger logger = Logger.getLogger(UserNumberClient.class);

    public static String getNextUserNumber(Class c, JbsCompany company) throws Exception {
        logger.debug("Retrieving new user-number for " + c.getSimpleName());
        UserNumbersRemote userNumbers = (UserNumbersRemote) ClientTools.getRemoteBean(UserNumbersRemote.class);
        return userNumbers.getNextNumber(c.getSimpleName(), company);

    }
View Full Code Here

TOP

Related Classes of org.jabusuite.core.utils.session.UserNumbersRemote

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.