Class PFileRepository

java.lang.Object
com.maplander.backend.repository.RepositoryBase<PFile,Long>
com.maplander.backend.repository.PFileRepository

public class PFileRepository extends RepositoryBase<PFile,Long>
  • Constructor Details

    • PFileRepository

      public PFileRepository(org.hibernate.SessionFactory sessionFactory)
  • Method Details

    • findByPropertyIdAndType

      public List<PFile> findByPropertyIdAndType(Long propertyId, PFileTypeEnum type, org.hibernate.Session session)
    • findByPropertyId

      public List<PFile> findByPropertyId(Long propertyId, org.hibernate.Session session)
    • findByPropertyIdsAndType

      public List<PFile> findByPropertyIdsAndType(List<Long> propertyIds, PFileTypeEnum type, org.hibernate.Session session)
    • deleteByIds

      public void deleteByIds(List<Long> ids, org.hibernate.Session session)