Class FineractEntityDataValidator

java.lang.Object
org.apache.fineract.infrastructure.entityaccess.data.FineractEntityDataValidator

@Component public class FineractEntityDataValidator extends Object
  • Constructor Details

    • FineractEntityDataValidator

      @Autowired public FineractEntityDataValidator(org.apache.fineract.infrastructure.core.serialization.FromJsonHelper fromApiJsonHelper, org.apache.fineract.organisation.office.domain.OfficeRepositoryWrapper officeRepositoryWrapper, org.apache.fineract.portfolio.loanproduct.domain.LoanProductRepository loanProductRepository, org.apache.fineract.portfolio.savings.domain.SavingsProductRepository savingsProductRepository, org.apache.fineract.portfolio.charge.domain.ChargeRepositoryWrapper chargeRepositoryWrapper, RoleRepository roleRepository)
  • Method Details

    • validateForCreate

      public void validateForCreate(String json)
    • checkForEntity

      public void checkForEntity(String relId, Long fromId, Long toId)
    • checkForOffice

      public void checkForOffice(Long id)
    • checkForLoanProducts

      public void checkForLoanProducts(Long id)
    • checkForSavingsProducts

      public void checkForSavingsProducts(Long id)
    • checkForCharges

      public void checkForCharges(Long id)
    • checkForRoles

      public void checkForRoles(Long id)
    • validateForUpdate

      public void validateForUpdate(String json)