Class PFileRepository
java.lang.Object
com.maplander.backend.repository.RepositoryBase<PFile,Long>
com.maplander.backend.repository.PFileRepository
-
Field Summary
Fields inherited from class com.maplander.backend.repository.RepositoryBase
sessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByIds(List<Long> ids, org.hibernate.Session session) findByPropertyId(Long propertyId, org.hibernate.Session session) findByPropertyIdAndType(Long propertyId, PFileTypeEnum type, org.hibernate.Session session) findByPropertyIdsAndType(List<Long> propertyIds, PFileTypeEnum type, org.hibernate.Session session) Methods inherited from class com.maplander.backend.repository.RepositoryBase
currentSession, delete, delete, deleteAll, deleteAll, deleteAll, deleteAllById, deleteAllById, deleteById, deleteById, deleteById, existsById, findAll, findAll, findById, findById, save, save, saveAll
-
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
-
findByPropertyIdsAndType
public List<PFile> findByPropertyIdsAndType(List<Long> propertyIds, PFileTypeEnum type, org.hibernate.Session session) -
deleteByIds
-