public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(PersonFinder.getPrimaryKeyAttributes(), this, PersonFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(PersonFinder.getPrimaryKeyAttributes(), this, PersonFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(PersonFinder.getPrimaryKeyAttributes(), this, PersonFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(PersonFinder.getPrimaryKeyAttributes(), this, PersonFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(PetTypeFinder.getPrimaryKeyAttributes(), this, PetTypeFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(PetTypeFinder.getPrimaryKeyAttributes(), this, PetTypeFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(ObjectSequenceFinder.getPrimaryKeyAttributes(), this, ObjectSequenceFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(ObjectSequenceFinder.getPrimaryKeyAttributes(), this, ObjectSequenceFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(CustomerFinder.getPrimaryKeyAttributes(), this, CustomerFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(CustomerFinder.getPrimaryKeyAttributes(), this, CustomerFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(AllTypesFinder.getPrimaryKeyAttributes(), this, AllTypesFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(AllTypesFinder.getPrimaryKeyAttributes(), this, AllTypesFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(CustomerAccountFinder.getPrimaryKeyAttributes(), this, CustomerAccountFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(CustomerAccountFinder.getPrimaryKeyAttributes(), this, CustomerAccountFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(CustomerAccountFinder.getPrimaryKeyAttributes(), this, CustomerAccountFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(CustomerAccountFinder.getPrimaryKeyAttributes(), this, CustomerAccountFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(ApplicantFinder.getPrimaryKeyAttributes(), this, ApplicantFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(ApplicantFinder.getPrimaryKeyAttributes(), this, ApplicantFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(ObjectSequenceFinder.getPrimaryKeyAttributes(), this, ObjectSequenceFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(ObjectSequenceFinder.getPrimaryKeyAttributes(), this, ObjectSequenceFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(CustomerFinder.getPrimaryKeyAttributes(), this, CustomerFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(CustomerFinder.getPrimaryKeyAttributes(), this, CustomerFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(CreditIssueTypeFinder.getPrimaryKeyAttributes(), this, CreditIssueTypeFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(CreditIssueTypeFinder.getPrimaryKeyAttributes(), this, CreditIssueTypeFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(ObjectSequenceFinder.getPrimaryKeyAttributes(), this, ObjectSequenceFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(ObjectSequenceFinder.getPrimaryKeyAttributes(), this, ObjectSequenceFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }
public Cache instantiatePartialCache(MithraConfigurationManager.Config config) { Cache result; if (config.isParticipatingInTx()) { result = new PartialNonDatedTransactionalCache(ApplicantCreditIssueTypeFinder.getPrimaryKeyAttributes(), this, ApplicantCreditIssueTypeFinder.getImmutableAttributes(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } else { result = new PartialNonDatedCache(ApplicantCreditIssueTypeFinder.getPrimaryKeyAttributes(), this, ApplicantCreditIssueTypeFinder.getImmutableAttributes(), new NonTransactionalUnderlyingObjectGetter(), config.getCacheTimeToLive(), config.getRelationshipCacheTimeToLive()); } initPortal(result, config); return result; }