Examples of reject()


Examples of net.sf.pmr.keopsframework.domain.validation.Errors.reject()

     
      return errors;
     
    } else {
     
      errors.reject("story.IsNotDeletableBecauseOfTasks");
     
      return errors;
    }
   
  }
View Full Code Here

Examples of org.apache.qpid.server.queue.QueueEntry.reject()

                _logger.debug("Rejecting: DT:" + deliveryTag + "-" + message.getMessage() +
                              ": Requeue:" + body.getRequeue() +
                              " on channel:" + channel.debugIdentity());
            }

            message.reject();

            if (body.getRequeue())
            {
                channel.requeue(deliveryTag);
View Full Code Here

Examples of org.apache.qpid.server.queue.QueueEntry.reject()

            }

            // If we haven't requested message to be resent to this consumer then reject it from ever getting it.
            //if (!evt.getMethod().resend)
            {
                message.reject();
            }

            if (body.getRequeue())
            {
                channel.requeue(deliveryTag);
View Full Code Here

Examples of org.apache.qpid.server.queue.QueueEntry.reject()

            }

            // If we haven't requested message to be resent to this consumer then reject it from ever getting it.
            //if (!evt.getMethod().resend)
            {
                message.reject();
            }

            if (body.getRequeue())
            {
                channel.requeue(deliveryTag);
View Full Code Here

Examples of org.apache.qpid.server.queue.QueueEntry.reject()

                _logger.debug("Rejecting: DT:" + deliveryTag + "-" + message.getMessage() +
                              ": Requeue:" + body.getRequeue() +
                              " on channel:" + channel.debugIdentity());
            }

            message.reject();

            if (body.getRequeue())
            {
                channel.requeue(deliveryTag);
View Full Code Here

Examples of org.fenixedu.academic.domain.degreeStructure.CompetenceCourseInformationChangeRequest.reject()

            HttpServletResponse response) throws FenixServiceException {

        CompetenceCourseInformationChangeRequest changeRequest = getChangeRequest(request);
        if (changeRequest != null && isAllowedToViewChangeRequest(getLoggedPerson(request), changeRequest)) {
            try {
                changeRequest.reject(getLoggedPerson(request));
            } catch (DomainException e) {
                addActionMessage(request, e.getMessage());
            }
        }
View Full Code Here

Examples of org.fenixedu.academic.domain.serviceRequests.RegistrationAcademicServiceRequest.reject()

        final RegistrationAcademicServiceRequest academicServiceRequest = getAndSetAcademicServiceRequest(request);
        final String justification = ((AcademicServiceRequestsManagementForm) actionForm).getJustification();

        try {
            academicServiceRequest.reject(justification);
        } catch (DomainExceptionWithLabelFormatter ex) {
            addActionMessage(request, ex.getKey(), solveLabelFormatterArgs(request, ex.getLabelFormatterArgs()));
            return mapping.findForward("prepareRejectAcademicServiceRequest");
        } catch (DomainException ex) {
            addActionMessage(request, ex.getKey());
View Full Code Here

Examples of org.fireflow.engine.IWorkItem.reject()

   * @see org.fireflow.engine.IWorkflowSession#rejectWorkItem(java.lang.String)
   */
  public void rejectWorkItem(String workItemId) throws EngineException,
      KernelException {
    IWorkItem workItem = this.findWorkItemById(workItemId);
    workItem.reject();

  }

  /* (non-Javadoc)
   * @see org.fireflow.engine.IWorkflowSession#rejectWorkItem(java.lang.String, java.lang.String)
View Full Code Here

Examples of org.fireflow.engine.IWorkItem.reject()

   * @see org.fireflow.engine.IWorkflowSession#rejectWorkItem(java.lang.String, java.lang.String)
   */
  public void rejectWorkItem(String workItemId, String comments)
      throws EngineException, KernelException {
    IWorkItem workItem = this.findWorkItemById(workItemId);
    workItem.reject(comments);
  }

  /* (non-Javadoc)
   * @see org.fireflow.engine.IWorkflowSession#restoreProcessInstance(java.lang.String)
   */
 
View Full Code Here

Examples of org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamRequest.reject()

    public void shouldReplyWithErrorIfRequestIsRejected() {
        InBandBytestreamRequest ibbRequest = new InBandBytestreamRequest(
                        byteStreamManager, initBytestream);

        // reject request
        ibbRequest.reject();

        // capture reply to the In-Band Bytestream open request
        ArgumentCaptor<IQ> argument = ArgumentCaptor.forClass(IQ.class);
        verify(connection).sendPacket(argument.capture());
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.