Examples of archive()


Examples of com.commander4j.db.JDBInterfaceLog.archive()

  private void archive() {
    int n = JOptionPane.showConfirmDialog(Common.mainForm, "Archive Successful/Resolved Log Records ?", "Confirm", JOptionPane.YES_NO_OPTION, 0, Common.icon_confirm);
    if (n == 0)
    {
      JDBInterfaceLog interfaceLog = new JDBInterfaceLog(Common.selectedHostID, Common.sessionID);
      interfaceLog.archive();
      buildSQL();
      populateList();
    }
  }
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.persistence.instance.HistoryPersistence.archive()

  @SuppressWarnings("unchecked")
  public Object execute(String execStatement,Object parameter){
    if("archive".equals(execStatement)){
      HistoryPersistence historyPersistence = ProcessObjectFactory.FACTORYINSTANCE.createHistoryPersistence(connection);
      Map<String,Object> paraMap = (Map<String,Object>)parameter;
      return historyPersistence.archive(paraMap);
    }
   
    return null;
  }
View Full Code Here

Examples of com.knowgate.scheduler.Atom.archive()

                 while (bHasNext) {
                   Atom oAtm = new Atom(oRst, oMdt);
                   oAtm.replace(DB.id_format,sType);
                   try {                    
                     oSnd.process(oAtm);
                     oAtm.archive(oCon);                    
                     oCon.commit();
                     nSent++;
                     System.out.println("Mail number "+String.valueOf(oAtm.getInt(DB.pg_atom))+" "+oAtm.getString(DB.tx_email)+" sent OK");
                   } catch (SQLException sqle) {
                     nErrs++;
View Full Code Here

Examples of com.zesped.model.Message.archive()

    final String sId = getParam("id");
    if (getErrorsCount()==0) {
      try {
        connect();
        Message oMsg = new Message(getSession().getDms(), sId);
        oMsg.archive(getSession());
        disconnect();
          addDataLine("id",oMsg.id());
      } catch (Exception xcpt) {
        Log.out.error(xcpt.getMessage(), xcpt);
        addError(new SimpleError(xcpt.getMessage()));
View Full Code Here

Examples of de.innovationgate.webgate.api.workflow.WGWorkflow.archive()

    }

    // Archive
    this.setStatus(WGContent.STATUS_ARCHIVE);
    WGWorkflow workflow = getWorkflow();
    workflow.archive(comment);

    // Write workflow history
    if (comment != null && !comment.trim().equals("")) {
      this.addWorkflowHistoryEntry("Archived. Replace reason: " + comment);
    }
View Full Code Here

Examples of er.corebusinesslogic.ERCMailMessage.archive()

                        mailMessage.setState(ERCMailState.SENT_STATE);
                        mailMessage.setDateSent(new NSTimestamp());                           
                       
                        if (shouldDeleteSentMail()) {
                            if (mailMessage.shouldArchiveSentMailAsBoolean()) {
                                mailMessage.archive();
                            }
                            // FIXME: Nasty stack overflow bug
                            if (!mailMessage.hasAttachments()) {
                              mailMessage.editingContext().deleteObject(mailMessage);
                            }
View Full Code Here

Examples of gov.nysenate.openleg.processors.DataProcessor.archive()

                    }
                }
                process.push(Application.getStorage(), ChangeLogger.getEntries(), services);
            }
            else if (task.equalsIgnoreCase("archive")) {
                process.archive(env.getWorkingDirectory(), env.getArchiveDirectory());
            }
            else {
                System.err.println("Invalid task.");
                System.exit(1);
            }
View Full Code Here

Examples of org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager.archive()

        try {
            GeronimoConnectionFactory gcFactory = GeronimoConnectionFactory.getInstance();
            RemoteDeploymentManager remoteDM = (RemoteDeploymentManager)gcFactory.getDeploymentManager(server);
            remoteDM.installPluginList("repository", relativeServerPath, selectedPlugins);
            remoteDM.archive(relativeServerPath, "var/temp", new Artifact(group, artifact, (String)version, format));
        }
        catch (Exception e) {
            e.printStackTrace();
        }
        Trace.tracePoint("Exit", "GeronimoServerPluginManager.assembleServer");
View Full Code Here

Examples of org.apache.geronimo.system.plugin.ServerArchiver.archive()

    }

    public File archive(String sourcePath, String destPath, Artifact artifact) throws ArchiverException, IOException {
        ServerArchiver archiver = getServerArchiver();
        try {
            return archiver.archive(sourcePath, destPath, artifact);
        } finally {
            kernel.getProxyManager().destroyProxy(archiver);
        }
    }
View Full Code Here

Examples of org.apache.geronimo.system.plugin.ServerArchiver.archive()

        PluginListType list = getServerPluginList(request, pluginInstaller);
        PluginListType installList = getPluginsFromIds(configIds, list);

        try {
            DownloadResults downloadResults = pluginInstaller.installPluginList("repository", relativeServerPath, installList);
            archiver.archive(relativeServerPath, "var/temp", new Artifact(groupId, artifactId, version, format));
        } catch (Exception e) {
            throw new PortletException("Could not assemble server", e);
        }
        return INDEX_MODE;
    }
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.