Examples of delegate()

  • org.sgx.yuigwt.yui.widget.datatable.DataTable.delegate()
    Pass through to delegate() called from the contentBox. @param type the event type to delegate @param fn the callback function to execute. This function will be provided the event object for the delegated event. @param spec a selector that must match the target of the event or a function to test target and its parents for a match @return
  • org.uengine.kernel.HumanActivity.delegate()
  • st.redline.classloader.SmalltalkClassLoader.delegate()

  • Examples of br.com.caelum.vraptor.actioncache.CharArrayWriterResponse.delegate()

      public void execute(@Observes @WriteResponse CachedMethodExecuted executed) {
        try {
          Cached cached = executed.getCached();
          CharArrayWriterResponse charArrayResponse = ProxyTargetInstance.get(response);
          ActionCacheEntry entry = actionCache.fetch(new CacheKey(cached,requestHeaders));
          HttpServletResponse originalResponse = charArrayResponse.delegate();
          entry.copyHeadersTo(originalResponse);
          logger.debug("Using cached response for {}",cached.key());
          originalResponse.getWriter().print(entry.getResult());
        } catch (IOException e) {
          throw new ResultException(e);
    View Full Code Here

    Examples of com.avast.syringe.config.ConfigProperty.delegate()

                        InjectableProperty property = new ReflectionInjectableProperty(
                                field,
                                configParam.optional(),
                                configParam.name(),
                                configParam.habitat(),
                                configParam.delegate(),
                                converter
                        );
                        result.add(property);
                    }
                }
    View Full Code Here

    Examples of com.webobjects.foundation._NSDelegate.delegate()

                throw new IllegalArgumentException("Delegate is not present");
              }
             
              for (int i = 0; i < delegates.count(); i++) {
                _NSDelegate delegateObject = (_NSDelegate)delegates.objectAtIndex(i);
                if (delegateObject.delegate().equals(delegate))
                {
                  delegates.removeObjectAtIndex(i);
                  break;
                }
              }
    View Full Code Here

    Examples of gridool.GridClient.delegate()

        private static Grid connectToGrid(boolean delegate) {
            boolean delegated = false;
            GridClient grid = new GridClient();
            if(delegate) {
                try {
                    final GridNode delegatedNode = grid.delegate(true);
                    if(delegatedNode != null) {
                        delegated = true;
                        grid = new GridClient(delegatedNode);
                    }
                } catch (RemoteException e) {
    View Full Code Here

    Examples of org.activiti.engine.task.Task.delegate()

       * @see <a href="http://jira.codehaus.org/browse/ACT-1059">http://jira.codehaus.org/browse/ACT-1059</a>
       */
      public void testSetDelegationState() {
        Task task = taskService.newTask();
        task.setOwner("wuzh");
        task.delegate("other");
        taskService.saveTask(task);
        String taskId = task.getId();

        task = taskService.createTaskQuery().taskId(taskId).singleResult();
        assertEquals("wuzh", task.getOwner());
    View Full Code Here

    Examples of org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.delegate()

          .getTaskManager()
          .findTaskById(taskId);

        ensureNotNull("Cannot find task with id " + taskId, "task", task);

        task.delegate(userId);

        task.createHistoricTaskDetails(UserOperationLogEntry.OPERATION_TYPE_DELEGATE);

        return null;
      }
    View Full Code Here

    Examples of org.camunda.bpm.engine.task.Task.delegate()

       * @see http://jira.codehaus.org/browse/ACT-1059
       */
      public void testSetDelegationState() {
        Task task = taskService.newTask();
        task.setOwner("wuzh");
        task.delegate("other");
        taskService.saveTask(task);
        String taskId = task.getId();

        task = taskService.createTaskQuery().taskId(taskId).singleResult();
        assertEquals("wuzh", task.getOwner());
    View Full Code Here

    Examples of org.camunda.bpm.engine.task.Task.delegate()

        // Fetch first task
        Task task = taskService.createTaskQuery().singleResult();
        assertEquals("First task", task.getName());

        task.delegate("johndoe");

        // Resolve first task
        Map<String, Object> taskParams = new HashMap<String, Object>();
        taskParams.put("myParam", "myValue");
        taskService.resolveTask(task.getId(), taskParams);
    View Full Code Here

    Examples of org.camunda.bpm.engine.task.Task.delegate()

      }

      public void testTaskDelegation() {
        Task task = taskService.newTask();
        task.setOwner("johndoe");
        task.delegate("joesmoe");
        taskService.saveTask(task);
        String taskId = task.getId();

        task = taskService.createTaskQuery().taskId(taskId).singleResult();
        assertEquals("johndoe", task.getOwner());
    View Full Code Here

    Examples of org.exoplatform.services.jcr.impl.dataflow.TransientValueData.delegate()

                                  }

                                  values.add(pvd);
                               }

                               tvd.delegate(pvd);
                            }
                            else
                            {
                               values.add(vd);
                            }
    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.