Class ResourceRepositoryImpl

  • All Implemented Interfaces:
    ResourceRepository, br.com.anteros.persistence.session.repository.SQLRepository<br.com.anteros.security.store.sql.domain.Resource,​Long>

    @Repository("resourceRepository")
    public class ResourceRepositoryImpl
    extends br.com.anteros.persistence.session.repository.impl.GenericSQLRepository<br.com.anteros.security.store.sql.domain.Resource,​Long>
    implements ResourceRepository
    Generated by Anteros Generator Maven Plugin at 23/10/2019 10:25:34
    • Field Summary

      • Fields inherited from class br.com.anteros.persistence.session.repository.impl.GenericSQLRepository

        builder, COUNT_QUERY_STRING, DELETE_ALL_QUERY_STRING, path, persistentClass, session, sessionFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceRepositoryImpl​(br.com.anteros.persistence.session.SQLSessionFactory sessionFactory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      br.com.anteros.persistence.session.repository.Page<br.com.anteros.security.store.sql.domain.Resource> getResourcesBySystem​(String system, br.com.anteros.persistence.session.repository.PageRequest pageRequest, String fieldsToForceLazy, String sort)  
      • Methods inherited from class br.com.anteros.persistence.session.repository.impl.GenericSQLRepository

        addTenantAndCompanyId, count, count, createIdentifier, createObjectQuery, createQuery, doCount, doCount, exists, exists, find, find, find, find, find, find, find, find, find, find, find, find, find, find, find, find, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findByCode, findByCode, findByCode, findByCode, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQuery, findOne, findOne, findOne, findOne, findOne, findOneBySql, findOneBySql, findOneBySql, findOneBySql, findOneBySql, findOneBySql, findOneBySql, findOneBySql, flush, getCompanyId, getEntityCache, getEntityPath, getIdentifier, getNamedQuery, getPathBuilder, getPersistentClass, getResultClass, getSession, getSessionFactory, getSQLSessionFactory, getTableName, getTenantId, getTransaction, openSession, refresh, refresh, remove, remove, remove, removeAll, removeAll, save, save, save, saveAndFlush, setPersistentClass, setSession, setSessionFactory, validate, validate
      • Methods inherited from interface br.com.anteros.persistence.session.repository.SQLRepository

        count, count, createIdentifier, createObjectQuery, exists, exists, find, find, find, find, find, find, find, find, find, find, find, find, find, find, find, find, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findByCode, findByCode, findByCode, findByCode, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQuery, findOne, findOne, findOne, findOne, findOne, findOneBySql, findOneBySql, findOneBySql, findOneBySql, findOneBySql, findOneBySql, findOneBySql, findOneBySql, flush, getEntityPath, getIdentifier, getNamedQuery, getResultClass, getSession, getSQLSessionFactory, getTableName, getTransaction, openSession, refresh, refresh, remove, remove, remove, removeAll, removeAll, save, save, save, saveAndFlush, setSession, validate, validate
    • Constructor Detail

      • ResourceRepositoryImpl

        @Autowired
        public ResourceRepositoryImpl​(@Qualifier("sessionFactorySQL")
                                      br.com.anteros.persistence.session.SQLSessionFactory sessionFactory)
    • Method Detail

      • getResourcesBySystem

        public br.com.anteros.persistence.session.repository.Page<br.com.anteros.security.store.sql.domain.Resource> getResourcesBySystem​(String system,
                                                                                                                                          br.com.anteros.persistence.session.repository.PageRequest pageRequest,
                                                                                                                                          String fieldsToForceLazy,
                                                                                                                                          String sort)
        Specified by:
        getResourcesBySystem in interface ResourceRepository