Examples of execute()


Examples of org.eweb4j.mvc.action.ActionExecution.execute()

      // method + uri,用来判断是否有Action与之绑定
      ActionExecution actionExe = new ActionExecution(uri, reqMethod,
          context);
      if (actionExe.findAction()) {
        actionExe.execute();// 5.execute the action
        return;
      }

      this.normalReqLog(uri);// log
View Full Code Here

Examples of org.eweb4j.mvc.interceptor.InterExecution.execute()

    /* 对于外部配置的前置拦截器,方法体内的前置拦截器较后执行  */
    Before before = method.getAnnotation(Before.class);
    if (before != null){
      InterExecution before_interExe = new InterExecution("before", context);
      before_interExe.execute(before.value());
      if (before_interExe.getError() != null){
        before_interExe.showErr();
        return ;
      }
    }
View Full Code Here

Examples of org.exist.xmldb.XQueryService.execute()

                } else {
                    log( "XQuery string: " + query, Project.MSG_DEBUG );
                    source = new StringSource( query );
                }

                results = service.execute( source );
                log( "Found " + results.getSize() + " results", Project.MSG_INFO );

                if( ( destDir != null ) && ( results != null ) ) {
                    log( "write results to directory " + destDir.getAbsolutePath(), Project.MSG_INFO );
                    final ResourceIterator iter = results.getIterator();
View Full Code Here

Examples of org.exist.xquery.XQuery.execute()

                        final String value = (String)param.getValue();
                        context.declareVariable( bindingPrefix + ":" + key, new StringValue(value));
                    }
                }

                xquery.execute(compiled, null);

            } else {
                LOG.warn("XQuery User Job not found: " + xqueryresource + ", job not scheduled");
            }
        } catch(final EXistException ee) {
View Full Code Here

Examples of org.exolab.castor.jdo.OQLQuery.execute()

       
    // Look up the computer and if found in the database,
    // delete ethis object from the database
    computerOql = db.getOQLQuery( "SELECT c FROM myapp.Computer c WHERE id = $1" );
    computerOql.bind( 6 );
    results = computerOql.execute();
    while ( results.hasMore() ) {
      computer = (Computer) results.next();
      writer.println( "Deleting existing computer: " + computer );
      db.remove( computer );
    }
View Full Code Here

Examples of org.exolab.castor.jdo.Query.execute()

        Date loadDate = df.parse("2004-04-26");

        String oql = "select t from " + Entity.class.getName() + " t " + " where t.loadDate=$1";
        Query qry = db.getOQLQuery(oql);
        qry.bind(loadDate);
        QueryResults qrs = qry.execute(AccessMode.ReadOnly);
        while (qrs.hasMore()) {
            Entity entity = (Entity) qrs.next();
            if (LOG.isTraceEnabled()) { LOG.trace(entity); }
        }
       
View Full Code Here

Examples of org.exoplatform.applications.ooplugin.client.DavPropFind.execute()

            int status;

            try
            {
               status = davPropFind.execute();
            }
            catch (TimeOutException exc)
            {
               davPropFind = new DavPropFind(config.getContext());
               davPropFind.setResourcePath(currentPath);
View Full Code Here

Examples of org.exoplatform.applications.ooplugin.client.DavReport.execute()

      davReport.setRequiredProperty(WebDavProp.CREATIONDATE);
      davReport.setRequiredProperty(WebDavProp.CREATORDISPLAYNAME);

      davReport.setDepth(1);

      int status = davReport.execute();
      if (status != HTTPStatus.MULTISTATUS)
      {
         showMessageBox("Can't open version list. ErrorCode: " + status);
         return false;
      }
View Full Code Here

Examples of org.exoplatform.applications.ooplugin.client.DavSearch.execute()

            SQLQuery sqlQuery = new SQLQuery();
            sqlQuery.setQuery("select * from nt:base where contains(*, '" + searchContent + "')");

            davSearch.setQuery(sqlQuery);

            int status = davSearch.execute();

            if (status != HTTPStatus.MULTISTATUS)
            {
               showMessageBox("Search error! Code: " + status);
               return;
View Full Code Here

Examples of org.exoplatform.frameworks.jcr.cli.AddNodeCommand.execute()

   {
      params.clear();
      AddNodeCommand addNodeCommand = (AddNodeCommand)cservice.getCatalog("CLI").getCommand("addnode");
      params.add("childOftestJCRClientCommands1");
      ctx.put(PARAMETERS_KEY, params);
      addNodeCommand.execute(ctx);
      System.out.println("[out]:" + ctx.getOutput());
      assertEquals(ctx.getCurrentItem().getName(), "childOftestJCRClientCommands1");
   }

   public void testAddNode2() throws Exception
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.