Examples of save()


Examples of com.philip.journal.home.dao.EntryDAO.save()

                    }
                }
                if (null == entryDao.readByTitle(entry.getTitle(), subListParent.getBranchId())) {
                    entry.setBranch(subListParent);
                    entry.setNodeId(0);
                    entryDao.save(entry);
                }
            }
        }

    }
View Full Code Here

Examples of com.piki.client.mvp.ChangeablePresenter.save()

    if (presenter == null)
      throw new IllegalStateException("missing presenter");
   
      if (presenter instanceof ChangeablePresenter) {
        ChangeablePresenter cp = (ChangeablePresenter) presenter;
        cp.save();
        cp.close();
      }
   
  }
View Full Code Here

Examples of com.plusone.action.ContactAction.Save()

    contact.setIpaddress(request.getRemoteAddr());

    ContactAction action = new ContactAction(new InputVerifier());

    if (action.IsValid(contact)) {
      action.Save(contact);
      action.sendMail(contact);
    } else {
      response.setContentType("text/plain");
      response.setStatus(400);// bad request
    }
View Full Code Here

Examples of com.psddev.cms.db.History.save()

                first();

        if (page.isFormPost()) {
            try {
                history.setName(page.param(String.class, "name"));
                history.save();

                page.writeStart("script", "type", "text/javascript");
                    page.write("window.location = window.location;");
                page.writeEnd();
View Full Code Here

Examples of com.psddev.cms.db.Preview.save()

            preview.setCreateDate(new Date());
            preview.setObjectType(state.getType());
            preview.setObjectId(state.getId());
            preview.setObjectValues(values);
            preview.setSite(page.getSite());
            preview.save();
            AuthenticationFilter.Static.setCurrentPreview(page.getRequest(), page.getResponse(), preview);
            user.saveAction(page.getRequest(), object);

            if (saveUser) {
                user.save();
View Full Code Here

Examples of com.psddev.cms.db.Schedule.save()

                    if (newSchedule) {
                        schedule.setTriggerUser(toolUser);
                        schedule.setTriggerSite(page.getSite());
                    }

                    schedule.save();

                    if (newSchedule) {
                        toolUser.setCurrentSchedule(schedule);
                        toolUser.save();
                    }
View Full Code Here

Examples of com.psddev.cms.db.ToolUser.save()

                page.writeEnd();

            } else if (page.param(String.class, "action-settings") != null) {
                try {
                    page.include("/WEB-INF/objectPost.jsp", "object", user, "includeFields", includeFields);
                    user.save();

                } catch (Exception error) {
                    page.getErrors().add(error);
                }
            }
View Full Code Here

Examples of com.psddev.dari.db.State.save()

        State state = State.getInstance(object);

        try {
            updateUsingParameters(object);
            state.save();
            redirectOnSave("",
                    "_frame", param(boolean.class, "_frame") ? Boolean.TRUE : null,
                    "id", state.getId());
            return true;
View Full Code Here

Examples of com.psddev.dari.util.StorageItem.save()

                            } finally {
                                IoUtils.closeQuietly(fileInput);
                            }
                        }

                        item.save();

                        Object object = selectedType.createObject(null);
                        State state = State.getInstance(object);

                        state.setValues(State.getInstance(common));
View Full Code Here

Examples of com.pugh.sockso.web.User.save()

                new String(txtPass1.getPassword()),
                txtEmail.getText(),
                isAdmin.isSelected()
            );

            newUser.save( db );
           
            usersPanel.refreshUsers();
            close();

        }
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.