Package org.jabusuite.logging

Examples of org.jabusuite.logging.Logger.debug()


   
    @Override
    protected FmEditJbsBaseObject createEditForm() {
        Logger logger = Logger.getLogger(PnCustomerList.class);
        try {
            logger.debug("Checking if module "+HierarchyCustomer.class.getSimpleName()+" exists...");
            ModulesRemote moduleManagement = (ModulesRemote)ClientTools.getRemoteBean(ModulesRemote.class);
            if (moduleManagement.hasModule(HierarchyCustomer.class.getSimpleName(), ClientGlobals.getUser(), ClientGlobals.getCompany())) {
                logger.debug("Module exists - opening FmHierarchyCustomerEdit");
                return new FmHierarchyCustomerEdit();
            } else {
View Full Code Here


        Logger logger = Logger.getLogger(PnCustomerList.class);
        try {
            logger.debug("Checking if module "+HierarchyCustomer.class.getSimpleName()+" exists...");
            ModulesRemote moduleManagement = (ModulesRemote)ClientTools.getRemoteBean(ModulesRemote.class);
            if (moduleManagement.hasModule(HierarchyCustomer.class.getSimpleName(), ClientGlobals.getUser(), ClientGlobals.getCompany())) {
                logger.debug("Module exists - opening FmHierarchyCustomerEdit");
                return new FmHierarchyCustomerEdit();
            } else {
               logger.debug("Module does not exist - opening FmCustomerEdit");
               return new FmCustomerEdit();
            }
View Full Code Here

            ModulesRemote moduleManagement = (ModulesRemote)ClientTools.getRemoteBean(ModulesRemote.class);
            if (moduleManagement.hasModule(HierarchyCustomer.class.getSimpleName(), ClientGlobals.getUser(), ClientGlobals.getCompany())) {
                logger.debug("Module exists - opening FmHierarchyCustomerEdit");
                return new FmHierarchyCustomerEdit();
            } else {
               logger.debug("Module does not exist - opening FmCustomerEdit");
               return new FmCustomerEdit();
            }
        } catch (Exception e) {
            logger.error("Error looking for customer-module.",e);
            return new FmCustomerEdit();
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.