<p>Get PrcEntityCopy (create and put into map).</p>
@return requested PrcEntityCopy
@throws Exception - an exception
177342
protected final PrcEntityCopy<RS, IHasId<Object>, Object>
    createPutPrcEntityCopy() throws Exception {
    PrcEntityCopy<RS, IHasId<Object>, Object> proc =
      new PrcEntityCopy<RS, IHasId<Object>, Object>();
    proc.setSrvOrm(getSrvOrm());
    proc.setMngUvdSettings(getMngUvdSettings());
    proc.setFillersFieldsFactory(getFillersFieldsFactory());
    proc.setEntitiesFactoriesFatory(getEntitiesFactoriesFatory());
    proc.setUtlProperties(getUtlProperties());
    proc.setSrvDate(getSrvDate());
    proc.setConvertersFieldsFatory(getConvertersFieldsFatory());
    proc.setFieldConverterNamesHolder(getFieldConverterNamesHolder());
    //assigning fully initialized object:
    this.processorsMap
      .put(PrcEntityCopy.class.getSimpleName(), proc);
    return proc;
  }
534316
public final FillerEntitiesFromRs<RS>
    lazyGetFillerEntitiesFromRs() throws Exception {
    String beanName = getFillerEntitiesFromRsName();
    @SuppressWarnings("unchecked")
    FillerEntitiesFromRs<RS> fillerEntitiesFromRs =
      (FillerEntitiesFromRs<RS>) this.beansMap.get(beanName);
    if (fillerEntitiesFromRs == null) {
      fillerEntitiesFromRs = new FillerEntitiesFromRs<RS>();
      fillerEntitiesFromRs.setLogger(lazyGetLogger());
      fillerEntitiesFromRs
        .setFillersFieldsFactory(lazyGetFctFillersObjectFields());
      FctBnCnvBnFromRs<RS> fctBnCnvBnFromRs = lazyGetFctBnCnvBnFromRs();
      fillerEntitiesFromRs
        .setConvertersFieldsFatory(fctBnCnvBnFromRs);
      fctBnCnvBnFromRs.setFillerObjectsFromRs(fillerEntitiesFromRs);
      fillerEntitiesFromRs
        .setFieldConverterNamesHolder(lazyGetHldCnvFromRsNames());
      fillerEntitiesFromRs.setFieldsRapiHolder(lazyGetHolderRapiFields());
      this.beansMap.put(beanName, fillerEntitiesFromRs);
      lazyGetLogger().info(null, AFactoryAppBeans.class, beanName
        + " has been created.");
    }
    return fillerEntitiesFromRs;
  }
13879
@Override
  public final <T> T retrieveEntityById(final Map<String, Object> pAddParam,
    final Class<T> pEntityClass, final Object pItsId) throws Exception {
    String query = evalSqlSelect(pAddParam, pEntityClass);
    @SuppressWarnings("unchecked")
    IFactorySimple<T> facEn = (IFactorySimple<T>) this.entitiesFactoriesFatory
      .lazyGet(pAddParam, pEntityClass);
    T entity = facEn.create(pAddParam);
    @SuppressWarnings("unchecked")
    IFillerObjectFields<T> filler = (IFillerObjectFields<T>)
      this.fctFillersObjectFields.lazyGet(pAddParam, pEntityClass);
    String idFldName = this.tablesMap
      .get(pEntityClass.getSimpleName()).getIdFieldName();
    filler.fill(pAddParam, entity, pItsId, idFldName);
    pAddParam.put("isOnlyId", Boolean.TRUE);
    ColumnsValues columnsValues = evalColumnsValues(pAddParam, entity);
    pAddParam.remove("isOnlyId");
    String whereId = evalWhereId(entity, columnsValues);
    return retrieveEntity(pAddParam, pEntityClass,
      query + " where " + whereId + ";\n");
  }
758106
@Override
    public Map<String, String> getCopyOfContextMap() {
        Map<String, String> oldMap = inheritableThreadLocal.get();
        if (oldMap != null) {
            return new HashMap<>(oldMap);
        } else {
            return null;
        }
    }
950161
protected final PrcEntityFolDelete<RS, IHasId<Object>, Object>
    createPutPrcEntityFolDelete() throws Exception {
    PrcEntityFolDelete<RS, IHasId<Object>, Object> proc =
      new PrcEntityFolDelete<RS, IHasId<Object>, Object>();
    proc.setSrvOrm(getSrvOrm());
    proc.setGettersRapiHolder(getGettersRapiHolder());
    //assigning fully initialized object:
    this.processorsMap
      .put(PrcEntityFolDelete.class.getSimpleName(), proc);
    return proc;
  }
839398
protected final PrcEntityFfolDelete<RS, IHasId<Object>, Object>
    createPutPrcEntityFfolDelete(
      final Map<String, Object> pAddParam) throws Exception {
    @SuppressWarnings("unchecked")
    PrcEntityFfolDelete<RS, IHasId<Object>, Object> proc =
      (PrcEntityFfolDelete<RS, IHasId<Object>, Object>)
        this.fctBnEntitiesProcessors
          .lazyGet(pAddParam, PrcEntityFfolDelete.class.getSimpleName());
    //assigning fully initialized object:
    this.processorsMap.put(PrcEntityFfolDelete.class.getSimpleName(), proc);
    return proc;
  }
467264
@Override
    public Object getEntityFromDocument(Class<?> entityClass, JsonObject obj, EntityType entityType)
    {
        Object entity = KunderaCoreUtils.createNewInstance(entityClass);
        Set<Attribute> attributes = entityType.getAttributes();
        Iterator<Attribute> iterator = attributes.iterator();
        iterateAndPopulateEntity(entity, obj, iterator);
        return entity;
    }
1346225
@Override
  public final String getFor(final Class<?> pClass, final String pThingName) {
    if ("entityEdit".equals(pThingName)) {
      if (IPersistableBase.class.isAssignableFrom(pClass)) {
        return PrcEntityPbEditDelete.class.getSimpleName();
      } else {
        return PrcEntityRetrieve.class.getSimpleName();
      }
    } else if ("entityPrint".equals(pThingName)) {
      return PrcEntityRetrieve.class.getSimpleName();
    } else if ("entityCopy".equals(pThingName)) {
      if (IPersistableBase.class.isAssignableFrom(pClass)) {
        return PrcEntityPbCopy.class.getSimpleName();
      } else {
        return PrcEntityCopy.class.getSimpleName();
      }
    } else if ("entitySave".equals(pThingName)) {
      if (IPersistableBase.class.isAssignableFrom(pClass)) {
        return PrcEntityPbSave.class.getSimpleName();
      } else if (EmailMsg.class == pClass) {
        return PrcEmailMsgSave.class.getSimpleName();
      } else {
        return PrcEntitySave.class.getSimpleName();
      }
    } else if ("entityFolDelete".equals(pThingName)) {
      if (Eattachment.class == pClass) {
        return PrcEntityFfolDelete.class.getSimpleName();
      }
      return PrcEntityFolDelete.class.getSimpleName();
    } else if ("entityFolSave".equals(pThingName)) {
      if (Eattachment.class == pClass) {
        return PrcEntityFfolSave.class.getSimpleName();
      }
      return PrcEntityFolSave.class.getSimpleName();
    } else if ("entityDelete".equals(pThingName)) {
      if (IPersistableBase.class.isAssignableFrom(pClass)) {
        return PrcEntityPbDelete.class.getSimpleName();
      } else {
        return PrcEntityDelete.class.getSimpleName();
      }
    } else if ("entityCreate".equals(pThingName)) {
      if (CsvColumn.class == pClass) {
        return PrcCsvColumnCreate.class.getSimpleName();
      } else if (MatchForeignLine.class == pClass) {
        return PrcMatchForeignLineCreate.class.getSimpleName();
      } else {
        return PrcEntityCreate.class.getSimpleName();
      }
    } else if ("entityConfirmDelete".equals(pThingName)) {
      if (IPersistableBase.class.isAssignableFrom(pClass)) {
        return PrcEntityPbEditDelete.class.getSimpleName();
      } else {
        return PrcEntityRetrieve.class.getSimpleName();
      }
    }
    return null;
  }
883662
protected final PrcAccDocRetrieve lazyGetPrcAccDocRetrieve(
    final Map<String, Object> pAddParam) throws Exception {
    @SuppressWarnings("unchecked")
    PrcAccDocRetrieve<RS, IDoc> proc = (PrcAccDocRetrieve<RS, IDoc>)
      this.processorsMap.get(PrcAccDocRetrieve.class.getSimpleName());
    if (proc == null) {
      proc = new PrcAccDocRetrieve<RS, IDoc>();
      proc.setSrvAccEntry(getSrvAccEntry());
      @SuppressWarnings("unchecked")
      IEntityProcessor<IDoc, Long> delegate = (IEntityProcessor<IDoc, Long>)
        this.fctBnEntitiesProcessors
          .lazyGet(pAddParam, PrcEntityRetrieve.class.getSimpleName());
      proc.setPrcAccEntityRetrieve(delegate);
      //assigning fully initialized object:
      this.processorsMap.put(PrcAccDocRetrieve.class.getSimpleName(), proc);
    }
    return proc;
  }
244619
@Override
  public final synchronized PrepareDbAfterGetCopy
    lazyGetPrepareDbAfterFullImport() throws Exception {
    String beanName = getPrepareDbAfterFullImportName();
    PrepareDbAfterGetCopy prepareDbAfterGetCopy =
      (PrepareDbAfterGetCopy) getBeansMap().get(beanName);
    if (prepareDbAfterGetCopy == null) {
      prepareDbAfterGetCopy = new PrepareDbAfterGetCopy();
      prepareDbAfterGetCopy.setLogger(lazyGetLogger());
      prepareDbAfterGetCopy.setFactoryAppBeans(this);
      getBeansMap().put(beanName, prepareDbAfterGetCopy);
      lazyGetLogger().info(null, FactoryAccAppBeansSqlite.class, beanName
        + " has been created.");
    }
    return prepareDbAfterGetCopy;
  }
1109644
protected final PrcEntityFDelete<RS, IHasId<Object>, Object>
    createPutPrcEntityFDelete(
      final Map<String, Object> pAddParam) throws Exception {
    @SuppressWarnings("unchecked")
    PrcEntityFDelete<RS, IHasId<Object>, Object> proc =
      (PrcEntityFDelete<RS, IHasId<Object>, Object>)
        this.fctBnEntitiesProcessors
          .lazyGet(pAddParam, PrcEntityFDelete.class.getSimpleName());
    //assigning fully initialized object:
    this.processorsMap.put(PrcEntityFDelete.class.getSimpleName(), proc);
    return proc;
  }
1308867
public final HlpEntitiesPage<RS> lazyGetHlpEntitiesPage() throws Exception {
    String beanName = getHlpEntitiesPageName();
    @SuppressWarnings("unchecked")
    HlpEntitiesPage<RS> hlpEntitiesPage =
      (HlpEntitiesPage<RS>) this.beansMap.get(beanName);
    if (hlpEntitiesPage == null) {
      hlpEntitiesPage = new HlpEntitiesPage<RS>();
      hlpEntitiesPage.setFieldsRapiHolder(lazyGetHolderRapiFields());
      hlpEntitiesPage.setSrvI18n(lazyGetSrvI18n());
      hlpEntitiesPage.setSrvOrm(lazyGetSrvOrm());
      hlpEntitiesPage.setSrvPage(lazyGetSrvPage());
      hlpEntitiesPage.setSrvDate(lazyGetSrvDate());
      hlpEntitiesPage.setLogger(lazyGetLogger());
      hlpEntitiesPage.setMngUvdSettings(lazyGetMngUvdSettings());
      hlpEntitiesPage
        .setConvertersFieldsFatory(lazyGetFctConvertersToFromString());
      hlpEntitiesPage
        .setFieldConverterNamesHolder(lazyGetHldFieldsCnvTfsNames());
      this.beansMap.put(beanName, hlpEntitiesPage);
      lazyGetLogger().info(null, AFactoryAppBeans.class, beanName
        + " has been created.");
    }
    return hlpEntitiesPage;
  }
115664
protected final PrcEntityFfolDelete<RS, IHasId<Object>, Object>
    createPutPrcEntityFfolDelete() throws Exception {
    PrcEntityFfolDelete<RS, IHasId<Object>, Object> proc =
      new PrcEntityFfolDelete<RS, IHasId<Object>, Object>();
    proc.setSrvOrm(getSrvOrm());
    proc.setGettersRapiHolder(getGettersRapiHolder());
    //assigning fully initialized object:
    this.processorsMap
      .put(PrcEntityFfolDelete.class.getSimpleName(), proc);
    return proc;
  }
236979
public function getEntityType()
    {

        // query whether or not the entity type with the passed code is available
        if (isset($this->entityTypes[$entityTypeCode = $this->getEntityTypeCode()])) {
            return $this->entityTypes[$entityTypeCode];
        }

        // throw a new exception
        throw new \Exception(
            $this->appendExceptionSuffix(
                sprintf('Requested entity type "%s" is not available', $entityTypeCode)
            )
        );
    }
400811
protected final PrcPurchRetGfe lazyGetPrcPurchRetGfe(
    final Map<String, Object> pAddParam) throws Exception {
    PrcPurchRetGfe proc = (PrcPurchRetGfe)
      this.processorsMap.get(PrcPurchRetGfe.class.getSimpleName());
    if (proc == null) {
      proc = new PrcPurchRetGfe();
      @SuppressWarnings("unchecked")
      PrcEntityPbEditDelete<RS, PurchaseReturn> procDlg =
    (PrcEntityPbEditDelete<RS, PurchaseReturn>) this.fctBnEntitiesProcessors
  .lazyGet(pAddParam, PrcEntityPbEditDelete.class.getSimpleName());
      proc.setPrcEntityPbEditDelete(procDlg);
      //assigning fully initialized object:
      this.processorsMap
        .put(PrcPurchRetGfe.class.getSimpleName(), proc);
    }
    return proc;
  }
1211013
public CmsJspStandardContextBean createCopy() {

        CmsJspStandardContextBean result = new CmsJspStandardContextBean();
        result.m_container = m_container;
        if (m_detailContentResource != null) {
            result.m_detailContentResource = m_detailContentResource.getCopy();
        }
        result.m_element = m_element;
        result.setPage(m_page);
        return result;
    }
951279
@Override
  public final FctBcFctSimpleEntities
    lazyGetFctBcFctSimpleEntities() throws Exception {
    String beanName = this.factoryAppBeans.getFctBcFctSimpleEntitiesName();
    FctBcFctSimpleEntities fctBcFctSimpleEntities =
      (FctBcFctSimpleEntities) this.factoryAppBeans.getBeansMap().get(beanName);
    if (fctBcFctSimpleEntities == null) {
      fctBcFctSimpleEntities = new FctBcFctSimpleEntities();
      fctBcFctSimpleEntities
        .setSrvDatabase(this.factoryAppBeans.lazyGetSrvDatabase());
      this.factoryAppBeans.getBeansMap().put(beanName, fctBcFctSimpleEntities);
      this.factoryAppBeans.lazyGetLogger().info(null, AFactoryAppBeans.class,
        beanName + " has been created.");
    }
    return fctBcFctSimpleEntities;
  }