/*
(non-Javadoc)

@see org.restcomm.protocols.ss7.isup.ISUPMessageFactory#createPAM(int cic)
773036
public PassAlongMessage createPAM(int cic) {
        PassAlongMessage msg = createPAM();
        CircuitIdentificationCode code = this.parameterFactory.createCircuitIdentificationCode();
        code.setCIC(cic);
        msg.setCircuitIdentificationCode(code);
        return msg;
    }
561454
public ContinuityCheckRequestMessage createCCR(int cic) {
        ContinuityCheckRequestMessage msg = createCCR();
        CircuitIdentificationCode code = this.parameterFactory.createCircuitIdentificationCode();
        code.setCIC(cic);
        msg.setCircuitIdentificationCode(code);
        return msg;
    }
329172
public ResetCircuitMessage createRSC(int cic) {
        ResetCircuitMessage msg = createRSC();
        CircuitIdentificationCode code = this.parameterFactory.createCircuitIdentificationCode();
        code.setCIC(cic);
        msg.setCircuitIdentificationCode(code);
        return msg;
    }
425713
protected final PrcWageSave<RS> createPutPrcWageSave(
    final Map<String, Object> pAddParam) throws Exception {
    PrcWageSave<RS> proc = new PrcWageSave<RS>();
    proc.setSrvAccSettings(getSrvAccSettings());
    proc.setSrvAccEntry(getSrvAccEntry());
    proc.setSrvOrm(getSrvOrm());
    proc.setSrvI18n(getSrvI18n());
    proc.setFactoryAppBeans(getFactoryAppBeans());
    //assigning fully initialized object:
    this.processorsMap.put(PrcWageSave.class.getSimpleName(), proc);
    return proc;
  }
719849
@Override
    public ConnectMessage createCON(int cic) {
        ConnectMessage msg = createCON();
        CircuitIdentificationCode code = this.parameterFactory.createCircuitIdentificationCode();
        code.setCIC(cic);
        msg.setCircuitIdentificationCode(code);
        return msg;
    }
1292577
public CircuitGroupBlockingMessage createCGB(int cic) {
        CircuitGroupBlockingMessage msg = createCGB();
        CircuitIdentificationCode code = this.parameterFactory.createCircuitIdentificationCode();
        code.setCIC(cic);
        msg.setCircuitIdentificationCode(code);
        return msg;
    }
288784
protected final PrcPaymentToSave<RS> createPutPrcPaymentToSave(
    final Map<String, Object> pAddParam) throws Exception {
    PrcPaymentToSave<RS> proc = new PrcPaymentToSave<RS>();
    proc.setSrvAccSettings(getSrvAccSettings());
    proc.setSrvAccEntry(getSrvAccEntry());
    proc.setSrvOrm(getSrvOrm());
    proc.setSrvI18n(getSrvI18n());
    proc.setPrcPurchaseInvoiceSave(lazyGetPrcPurchaseInvoiceSave(pAddParam));
    //assigning fully initialized object:
    this.processorsMap.put(PrcPaymentToSave.class.getSimpleName(), proc);
    return proc;
  }
1183779
protected final PrcCsvColumnCreate<RS>
    createPutPrcCsvColumnCreate() throws Exception {
    PrcCsvColumnCreate<RS> proc = new PrcCsvColumnCreate<RS>();
    @SuppressWarnings("unchecked")
    PrcEntityCreate<RS, CsvColumn, Long> procDlg =
      (PrcEntityCreate<RS, CsvColumn, Long>)
        lazyGet(null, PrcEntityCreate.class.getSimpleName());
    proc.setPrcEntityCreate(procDlg);
    //assigning fully initialized object:
    this.processorsMap
      .put(PrcCsvColumnCreate.class.getSimpleName(), proc);
    return proc;
  }
345120
@Override
    public IdentificationResponseMessage createIRS(int cic) {
        IdentificationResponseMessage msg = createIRS();
        CircuitIdentificationCode code = this.parameterFactory.createCircuitIdentificationCode();
        code.setCIC(cic);
        msg.setCircuitIdentificationCode(code);
        return msg;
    }
168407
@Override
  public final void make(
    final Map<String, Object> pAddParam) throws Exception {
    this.replicationMethod.setLastDateReplication(new Date());
    getSrvOrm().updateEntity(pAddParam, this.replicationMethod);
  }
1178587
public SegmentationMessage createSGM(int cic) {
        SegmentationMessage msg = createSGM();
        CircuitIdentificationCode code = this.parameterFactory.createCircuitIdentificationCode();
        code.setCIC(cic);
        msg.setCircuitIdentificationCode(code);
        return msg;
    }
242471
@Override
    public MapMessage createMapMessage() throws JMSRuntimeException {

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "createMapMessage");

        MapMessage mapMessage = null;

        try {
            mapMessage = jmsSession.createMapMessage();
        } catch (JMSException jmse) {
            throw (JMSRuntimeException) JmsErrorUtils.getJMS2Exception(jmse, JMSRuntimeException.class);
        } finally {
            if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                SibTr.exit(this, tc, "createMapMessage", new Object[] { mapMessage });
        }

        return mapMessage;

    }
338170
protected final PrcAccEntityWithSubaccCreate<RS, IHasId<Object>, Object>
    createPutPrcAccEntityWithSubaccCreate(
      final Map<String, Object> pAddParam) throws Exception {
    PrcAccEntityWithSubaccCreate<RS, IHasId<Object>, Object> proc =
      new PrcAccEntityWithSubaccCreate<RS, IHasId<Object>, Object>();
    @SuppressWarnings("unchecked")
    PrcEntityCreate<RS, IHasId<Object>, Object> procDlg =
      (PrcEntityCreate<RS, IHasId<Object>, Object>)
        this.fctBnEntitiesProcessors
          .lazyGet(pAddParam, PrcEntityCreate.class.getSimpleName());
    proc.setPrcAccEntityCreate(procDlg);
    proc.setSrvTypeCode(getSrvTypeCode());
    //assigning fully initialized object:
    this.processorsMap
      .put(PrcAccEntityWithSubaccCreate.class.getSimpleName(), proc);
    return proc;
  }
580105
public final ControlRequestAck createNewControlRequestAck() throws MessageCreateFailedException {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlRequestAck");
    ControlRequestAck msg = null;
    try {
      msg = new ControlRequestAckImpl(MfpConstants.CONSTRUCTOR_NO_OP);
    }
    catch (MessageDecodeFailedException e) {
      /* No need to FFDC this as JsMsgObject will already have done so */
      // No FFDC code needed
      throw new MessageCreateFailedException(e);
    }
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "createNewControlRequestAck");
    return msg;
  }
543381
protected final PrcPaymentFromSave<RS> createPutPrcPaymentFromSave(
      final Map<String, Object> pAddParam) throws Exception {
    PrcPaymentFromSave<RS> proc = new PrcPaymentFromSave<RS>();
    proc.setSrvAccSettings(getSrvAccSettings());
    proc.setSrvAccEntry(getSrvAccEntry());
    proc.setSrvOrm(getSrvOrm());
    proc.setSrvI18n(getSrvI18n());
    proc.setPrcSalesInvoiceSave(lazyGetPrcSalesInvoiceSave(pAddParam));
    //assigning fully initialized object:
    this.processorsMap.put(PrcPaymentFromSave.class.getSimpleName(), proc);
    return proc;
  }
256929
public UserPartTestMessage createUPT(int cic) {
        UserPartTestMessage msg = createUPT();
        CircuitIdentificationCode code = this.parameterFactory.createCircuitIdentificationCode();
        code.setCIC(cic);
        msg.setCircuitIdentificationCode(code);
        return msg;
    }
1222735
public CallProgressMessage createCPG(int cic) {
        CircuitIdentificationCode c = this.parameterFactory.createCircuitIdentificationCode();
        c.setCIC(cic);
        CallProgressMessage msg = this.createCPG();
        msg.setCircuitIdentificationCode(c);
        return msg;
    }