Examples of saveData()


Examples of com.smartgwt.client.widgets.form.DynamicForm.saveData()

                });

                IButton saveButton = new IButton("Save");
                saveButton.addClickHandler(new ClickHandler() {
                    public void onClick(ClickEvent event) {
                        df.saveData();
                    }
                });

                IButton cancelButton = new IButton("Done");
                cancelButton.addClickHandler(new ClickHandler() {
View Full Code Here

Examples of org.bukkit.entity.Player.saveData()

        try {
            if (!playeruuid.equals(this.player)) {
                Player to = Bukkit.getPlayer(playeruuid);
                Player from = Bukkit.getPlayer(playeruuid);
                if(from != null) {
                    from.saveData();
                }
                Files.copy(this.file, new File(this.file.getParentFile(), playeruuid + ".dat"));
                if(to != null) {
                    to.teleport(from == null ? getLocation() : from.getLocation());
                    to.loadData();
View Full Code Here

Examples of org.bukkit.entity.Player.saveData()

                }
            }
            else {
                Player player = Bukkit.getPlayer(playeruuid);
                if(player != null) {
                    player.saveData();
                }
            }
        }
        catch(Exception e) {
            e.printStackTrace();
View Full Code Here

Examples of org.bukkit.entity.Player.saveData()

                }
                // If they are currently using the inventory, let's set it...
            } else {
                inventory.loadIntoInventory(giveplayer.getInventory());
                if(offlineplayer) {
                    giveplayer.saveData();
                }
                return true;
            }
            // They aren't in the same world, so let's just save the inventory.
        } else {
View Full Code Here

Examples of org.bukkit.entity.Player.saveData()

                if(giveplayer.getInventory().firstEmpty() == -1) {
                    return false;
                }
                giveplayer.getInventory().addItem(itemstack.getItemStack());
                if(offlineplayer) {
                    giveplayer.saveData();
                }
                return true;
            }
            // They aren't in the same world, so let's just save the inventory.
        } else {
View Full Code Here

Examples of org.ejbca.core.model.ca.certificateprofiles.CertificateProfile.saveData()

                      getLogger().error("Couldn't find certificate profile '"+profilename+"'-"+profileid+" in database.");
                    } else {
                        String outfile = outpath+"/certprofile_"+profilename+"-"+profileid+".xml";
                        getLogger().info(outfile+".");
                        XMLEncoder encoder = new XMLEncoder(new  FileOutputStream(outfile));
                        encoder.writeObject(profile.saveData());
                        encoder.close();
                    }
                }
            }
            getLogger().info("Exporting non-fixed end entity profiles: ");
View Full Code Here

Examples of org.ejbca.core.model.ca.certificateprofiles.CertificateProfile.saveData()

                      getLogger().error("Error : Couldn't find entity profile '"+profilename+"'-"+profileid+" in database.");
                    } else {
                        String outfile = outpath+"/entityprofile_"+profilename+"-"+profileid+".xml";
                        getLogger().info(outfile+".");
                        XMLEncoder encoder = new XMLEncoder(new  FileOutputStream(outfile));
                        encoder.writeObject(profile.saveData());
                        encoder.close();
                    }
                }
            }        
        } catch (Exception e) {
View Full Code Here

Examples of org.ejbca.core.model.ra.raadmin.EndEntityProfile.saveData()

                      getLogger().error("Error : Couldn't find entity profile '"+profilename+"'-"+profileid+" in database.");
                    } else {
                        String outfile = outpath+"/entityprofile_"+profilename+"-"+profileid+".xml";
                        getLogger().info(outfile+".");
                        XMLEncoder encoder = new XMLEncoder(new  FileOutputStream(outfile));
                        encoder.writeObject(profile.saveData());
                        encoder.close();
                    }
                }
            }        
        } catch (Exception e) {
View Full Code Here

Examples of org.jboss.seam.document.DocumentStore.saveData()

            String docId = store.newId();

            Contexts.getSessionContext().set("docId", docId);

            DocumentData documentData = new ByteArrayDocumentData("base", UIDocument.PDF, new byte[100]);
            store.saveData(docId, documentData);
         }

         @Override
         protected void renderResponse() throws Exception
         {
View Full Code Here

Examples of org.jboss.seam.document.DocumentStore.saveData()

         String id = store.newId();

         String url = store.preferredUrlForContent(baseName, type.getExtension(), id);
         url = Manager.instance().encodeConversationId(url, viewId);

         store.saveData(id, documentData);

         context.getExternalContext().redirect(url);

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