Class UserAuthorityDao

java.lang.Object
ru.cg.webbpm.modules.security.api.impl.dao.jooq.BaseDao<org.jooq.Record,UserAuthority>
ru.cg.webbpm.modules.security.api.impl.dao.jooq.UserAuthorityDao

@Repository public class UserAuthorityDao extends BaseDao<org.jooq.Record,UserAuthority>
Author:
m.popov
  • Constructor Details

    • UserAuthorityDao

      public UserAuthorityDao()
  • Method Details

    • createRecordMapper

      protected org.jooq.RecordMapper<org.jooq.Record,UserAuthority> createRecordMapper()
      Creates user to authority record mapper.
      Specified by:
      createRecordMapper in class BaseDao<org.jooq.Record,UserAuthority>
      Returns:
      new record mapper.
    • getUserAuthoritiesByUserId

      public List<UserAuthority> getUserAuthoritiesByUserId(LoadOptions options, String userId)
      Gets user authority links by user account id.
      Parameters:
      options - indicates load option properties. Instance of LoadOptions type.
      userId - user account id of objects to receive. Instance of String type.
      Returns:
      list of user authority links. Instance of List type.