Examples of findAction()


Examples of com.dotmarketing.portlets.workflows.business.WorkflowAPI.findAction()

                        List<WorkflowTask> tasks=wapi.findExpiredTasks();
                        for (WorkflowTask task : tasks) {
                            String stepId=task.getStatus();
                            WorkflowStep step=wapi.findStep(stepId);
                            String actionId=step.getEscalationAction();
                            WorkflowAction action=wapi.findAction(actionId, APILocator.getUserAPI().getSystemUser());
                           
                            Logger.info(this, "Task '"+task.getTitle()+"' " +
                                    "on contentlet id '"+task.getWebasset()+"' "+
                                "timeout on step '"+step.getName()+"' " +
                                "excecuting escalation action '"+action.getName()+"'");
View Full Code Here

Examples of com.dotmarketing.portlets.workflows.business.WorkflowAPI.findAction()

    String actionName = request.getParameter("actionletName");
    String clazz = request.getParameter("actionletClass");
    WorkflowActionClass wac = new WorkflowActionClass();

    try {
      WorkflowAction action = wapi.findAction(actionId, APILocator.getUserAPI().getSystemUser());
      List<WorkflowActionClass> classes = wapi.findActionClasses(action);
      if (classes != null) {
        wac.setOrder(classes.size());
      }
      wac.setClazz(clazz);
View Full Code Here

Examples of com.dotmarketing.portlets.workflows.business.WorkflowAPI.findAction()

    WebContext ctx = WebContextFactory.get();
        User usr = getUser(ctx.getHttpServletRequest());
    Contentlet c = null;
    WorkflowAPI wapi = APILocator.getWorkflowAPI();
    try {
      WorkflowAction action = wapi.findAction(wfActionId, usr);
      if (action == null) {
        throw new ServletException("No such workflow action");
      }
      c = APILocator.getContentletAPI().find(wfConId, usr, false);
      c.setStringProperty("wfActionId", action.getId());
View Full Code Here

Examples of com.dotmarketing.portlets.workflows.business.WorkflowAPI.findAction()

    WorkflowAPI wapi = APILocator.getWorkflowAPI();

    try {
      int order = Integer.parseInt(o);
      //anyone with permission the workflowscheme portlet can reoirder actions
      WorkflowAction action = wapi.findAction(actionId, APILocator.getUserAPI().getSystemUser());

        wapi.reorderAction(action, order);
    } catch (Exception e) {
      Logger.error(this.getClass(), e.getMessage(), e);
      writeError(response, e.getMessage());
View Full Code Here

Examples of com.dotmarketing.portlets.workflows.business.WorkflowAPI.findAction()

    WorkflowAPI wapi = APILocator.getWorkflowAPI();

    try {

      WorkflowAction action = wapi.findAction(actionId, APILocator.getUserAPI().getSystemUser());
      WorkflowStep step = wapi.findStep(action.getStepId());

     
     
     
View Full Code Here

Examples of com.dotmarketing.portlets.workflows.business.WorkflowAPI.findAction()

    WorkflowAPI wapi = APILocator.getWorkflowAPI();

    Contentlet c = null;
    // execute workflow
    try {
      WorkflowAction action = wapi.findAction(wfActionId, getUser());
      if (action == null) {
        throw new ServletException("No such workflow action");
      }

     
View Full Code Here

Examples of com.dotmarketing.portlets.workflows.business.WorkflowAPI.findAction()

    String wfActionId = request.getParameter("wfActionId");
    String wfCons = request.getParameter("wfCons");
    WorkflowAPI wapi = APILocator.getWorkflowAPI();
    WorkflowAction action = null;
    try{
      action = wapi.findAction(wfActionId, getUser());
      if (action == null) {
        throw new ServletException("No such workflow action");
      }
    }
    catch(Exception e){
View Full Code Here

Examples of com.dubture.symfony.core.model.SymfonyModelAccess.findAction()

            // nope, not a viewpath, check for a route
            Route route = model.findRoute(literal, project);

            if (route != null) {

                IMethod method = model.findAction(route, project);

                if (method != null)
                    return new IModelElement[] { method };
            }
View Full Code Here

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

      }

      // 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.action.ActionExecution.findAction()

      }

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