Examples of conditionType()


Examples of de.danet.an.workflow.domain.TransitionDefinitionLocal.conditionType()

      (offset++, Long.parseLong(t.from().key()));
        prepStmt.setLong
      (offset++, Long.parseLong(t.to().key()));
        prepStmt.setString(offset++, td.group());
        prepStmt.setInt(offset++, td.order());
        prepStmt.setInt(offset++, td.conditionType());
        prepStmt.setString(offset++, td.condition());
    } catch (NumberFormatException re) {
        throw new SQLException(re.getMessage());
    }
    prepStmt.executeUpdate();
View Full Code Here

Examples of de.danet.an.workflow.internalapi.ExtTransitionLocal.conditionType()

      ExtTransitionLocal defaultTrans = null;
      boolean gotATrans = false;
      for (Iterator i = ((Collection)transByFrom.get(act.key()))
         .iterator (); i.hasNext();) {
    ExtTransitionLocal trans = (ExtTransitionLocal)i.next();
    if ((exception == null && trans.conditionType()
         == de.danet.an.workflow.api.Transition.COND_TYPE_OTHERWISE)
        || (exception != null && trans.conditionType()
      == de.danet.an.workflow.api
                            .Transition.COND_TYPE_DEFAULTEXCEPTION)) {
        defaultTrans = trans;
View Full Code Here

Examples of de.danet.an.workflow.internalapi.ExtTransitionLocal.conditionType()

      for (Iterator i = ((Collection)transByFrom.get(act.key()))
         .iterator (); i.hasNext();) {
    ExtTransitionLocal trans = (ExtTransitionLocal)i.next();
    if ((exception == null && trans.conditionType()
         == de.danet.an.workflow.api.Transition.COND_TYPE_OTHERWISE)
        || (exception != null && trans.conditionType()
      == de.danet.an.workflow.api
                            .Transition.COND_TYPE_DEFAULTEXCEPTION)) {
        defaultTrans = trans;
        continue;
    }   
View Full Code Here

Examples of de.danet.an.workflow.localapi.TransitionLocal.conditionType()

  // exception names from transitions
  List fromTrans
      = ((ProcessLocal)containerLocal()).transitionsLocalFrom(key());
  for (Iterator tri = fromTrans.iterator(); tri.hasNext();) {
      TransitionLocal trans = (TransitionLocal)tri.next();
      if (trans.conditionType() ==
                de.danet.an.workflow.api.Transition.COND_TYPE_EXCEPTION) {
    res.add (trans.condition());
      }
  }
  return (String[])res.toArray(new String[res.size ()]);
View Full Code Here

Examples of org.mifosplatform.portfolio.interestratechart.domain.InterestIncentivesFields.conditionType()

        final InterestIncentivesFields incentivesFields = incentiveDTO.incentives();
        boolean applyIncentive = false;
        switch (incentivesFields.attributeName()) {
            case GENDER:
                if (client.genderId() != null) {
                    applyIncentive = applyIncentive(incentivesFields.conditionType(), Long.valueOf(incentivesFields.attributeValue()),
                            client.genderId());
                }
            break;
            case AGE:
                if (client.dateOfBirth() != null) {
View Full Code Here

Examples of org.mifosplatform.portfolio.interestratechart.domain.InterestIncentivesFields.conditionType()

            break;
            case AGE:
                if (client.dateOfBirth() != null) {
                    final LocalDate dobLacalDate = LocalDate.fromDateFields(client.dateOfBirth());
                    final int age = Years.yearsBetween(dobLacalDate, LocalDate.now()).getYears();
                    applyIncentive = applyIncentive(incentivesFields.conditionType(), Long.valueOf(incentivesFields.attributeValue()),
                            Long.valueOf(age));
                }
            break;
            case CLIENT_TYPE:
                if (client.clientTypeId() != null) {
View Full Code Here

Examples of org.mifosplatform.portfolio.interestratechart.domain.InterestIncentivesFields.conditionType()

                            Long.valueOf(age));
                }
            break;
            case CLIENT_TYPE:
                if (client.clientTypeId() != null) {
                    applyIncentive = applyIncentive(incentivesFields.conditionType(), Long.valueOf(incentivesFields.attributeValue()),
                            client.clientTypeId());
                }
            break;
            case CLIENT_CLASSIFICATION:
                if (client.clientClassificationId() != null) {
View Full Code Here

Examples of org.mifosplatform.portfolio.interestratechart.domain.InterestIncentivesFields.conditionType()

                            client.clientTypeId());
                }
            break;
            case CLIENT_CLASSIFICATION:
                if (client.clientClassificationId() != null) {
                    applyIncentive = applyIncentive(incentivesFields.conditionType(), Long.valueOf(incentivesFields.attributeValue()),
                            client.clientClassificationId());
                }
            break;

            default:
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.