Examples of updateDataset()


Examples of org.jabusuite.accounting.dunning.session.DunningsRemote.updateDataset()

            if (this.getDlgState() == DlgState.dsInsert) {
                logger.debug("Adding new entity " + this.getDunning().getId() + ".");
                dunnings.createDataset(this.getDunning(), ClientGlobals.getUser(), ClientGlobals.getCompany());
            } else if (this.getDlgState() == DlgState.dsEdit) {
                logger.debug("Saving existing entity " + this.getDunning().getId() + ".");
                dunnings.updateDataset(this.getDunning(), ClientGlobals.getUser());
            }
            logger.debug("Entity saved.");
        } catch (NamingException e) {
            logger.error("Error saving payment-term.", e);
        }
View Full Code Here

Examples of org.jabusuite.accounting.session.AccountEntriesRemote.updateDataset()

            if (this.getDlgState() == DlgState.dsInsert) {
                logger.info("Adding new entity");
                accountEntries.createDataset(this.getAccountEntry(), ClientGlobals.getUser(), ClientGlobals.getCompany());
            } else if (this.getDlgState() == DlgState.dsEdit) {
                logger.info("Saving existing entity " + this.getAccountEntry().getId() + ".");
                accountEntries.updateDataset(this.getAccountEntry(), ClientGlobals.getUser());
            }
            System.out.println("Entity saved.");
        } catch (NamingException e) {
            e.printStackTrace();
        }
View Full Code Here

Examples of org.jabusuite.address.customer.session.CustomersRemote.updateDataset()

            if (this.getDlgState() == DlgState.dsInsert) {
                System.out.println("Adding new entity");
                customers.createDataset(this.getCustomer(), ClientGlobals.getUser(), ClientGlobals.getCompany());
            } else if (this.getDlgState() == DlgState.dsEdit) {
                System.out.println("Saving exisiting entity.");
                customers.updateDataset(this.getCustomer(), ClientGlobals.getUser());
            }
            System.out.println("Entity saved.");

        } catch (NamingException e) {
            e.printStackTrace();
View Full Code Here

Examples of org.jabusuite.address.customer.session.HierarchyCustomersRemote.updateDataset()

                System.out.println("Adding new entity");
                this.getCustomer().setParentCustomer(this.getParentCustomer());
                customers.createDataset(this.getCustomer(), ClientGlobals.getUser(), ClientGlobals.getCompany());
            } else if (this.getDlgState() == DlgState.dsEdit) {
                System.out.println("Saving exisiting entity.");
                customers.updateDataset(this.getCustomer(), ClientGlobals.getUser());
            }
            System.out.println("Entity saved.");

        } catch (NamingException e) {
            e.printStackTrace();
View Full Code Here

Examples of org.jabusuite.address.employee.session.JobGroupsRemote.updateDataset()

            if (this.getDlgState() == DlgState.dsInsert) {
                logger.debug("Adding new entity");
                jobGroups.createDataset(this.getJobGroup(), ClientGlobals.getUser(), ClientGlobals.getCompany());
            } else if (this.getDlgState() == DlgState.dsEdit) {
                logger.debug("Saving exisiting entity.");
                jobGroups.updateDataset(this.getJobGroup(),ClientGlobals.getUser());
            }
            logger.debug("Entity saved.");

        } catch (NamingException e) {
            logger.error("Error saving entity",e);
View Full Code Here

Examples of org.jabusuite.address.letter.session.LettersRemote.updateDataset()

                if (this.getDlgState() == DlgState.dsInsert) {
                    System.out.println("Adding new entity");
                    letters.createDataset(this.getLetter(), ClientGlobals.getUser(), ClientGlobals.getCompany());
                } else if (this.getDlgState() == DlgState.dsEdit) {
                    System.out.println("Saving exisiting entity.");
                    letters.updateDataset(this.getLetter(), ClientGlobals.getUser());
                }
                System.out.println("Entity saved.");

            } catch (NamingException e) {
                e.printStackTrace();
View Full Code Here

Examples of org.jabusuite.address.session.ContactsRemote.updateDataset()

                if (this.getDlgState() == DlgState.dsInsert) {
                    System.out.println("Adding new entity");
                    contacts.createDataset(this.getContact(), ClientGlobals.getUser(), ClientGlobals.getCompany());
                } else if (this.getDlgState() == DlgState.dsEdit) {
                    System.out.println("Saving exisiting entity.");
                    contacts.updateDataset(this.getContact(), ClientGlobals.getUser());
                }
                System.out.println("Entity saved.");

            } catch (NamingException e) {
                e.printStackTrace();
View Full Code Here

Examples of org.jabusuite.address.supplier.session.SuppliersRemote.updateDataset()

            if (this.getDlgState() == DlgState.dsInsert) {
                System.out.println("Adding new entity");
                suppliers.createDataset(this.getSupplier(), ClientGlobals.getUser(), ClientGlobals.getCompany());
            } else if (this.getDlgState() == DlgState.dsEdit) {
                System.out.println("Saving exisiting entity.");
                suppliers.updateDataset(this.getSupplier(), ClientGlobals.getUser());
            }
            System.out.println("Entity saved.");

        } catch (NamingException e) {
            e.printStackTrace();
View Full Code Here

Examples of org.jabusuite.article.session.ArticleVATsRemote.updateDataset()

            if (this.getDlgState() == DlgState.dsInsert) {
                logger.debug("Adding new entity " + this.getVAT().getId() + ".");
                vats.createDataset(this.getVAT(), ClientGlobals.getUser(), ClientGlobals.getCompany());
            } else if (this.getDlgState() == DlgState.dsEdit) {
                logger.debug("Saving existing entity " + this.getVAT().getId() + ".");
                vats.updateDataset(this.getVAT(), ClientGlobals.getUser());
            }
            logger.debug("Entity saved.");
        } catch (NamingException e) {
            logger.error("Error svaing vat.", e);
        }
View Full Code Here

Examples of org.jabusuite.article.session.ArticlesRemote.updateDataset()

            if (this.getDlgState() == DlgState.dsInsert) {
                logger.debug("Adding new entity " + this.getArticle().getId() + ".");
                articles.createDataset(this.getArticle(), ClientGlobals.getUser(), ClientGlobals.getCompany());
            } else if (this.getDlgState() == DlgState.dsEdit) {
                logger.debug("Saving existing entity " + this.getArticle().getId() + ".");
                articles.updateDataset(this.getArticle(), ClientGlobals.getUser());
            }
            logger.debug("Entity saved.");
        } catch (NamingException e) {
            logger.error("Error svaing article.", e);
        }
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.