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
- Author:
- m.popov
-
Field Summary
Fields inherited from class ru.cg.webbpm.modules.security.api.impl.dao.jooq.BaseDao
dslContext, enrichedRecordMapper, recordMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.jooq.RecordMapper<org.jooq.Record,UserAuthority> Creates user to authority record mapper.getUserAuthoritiesByUserId(LoadOptions options, String userId) Gets user authority links by user account id.Methods inherited from class ru.cg.webbpm.modules.security.api.impl.dao.jooq.BaseDao
createEnrichedRecordMapper, enriched
-
Constructor Details
-
UserAuthorityDao
public UserAuthorityDao()
-
-
Method Details
-
createRecordMapper
Creates user to authority record mapper.- Specified by:
createRecordMapperin classBaseDao<org.jooq.Record,UserAuthority> - Returns:
- new record mapper.
-
getUserAuthoritiesByUserId
Gets user authority links by user account id.- Parameters:
options- indicates load option properties. Instance ofLoadOptionstype.userId- user account id of objects to receive. Instance ofStringtype.- Returns:
- list of user authority links. Instance of
Listtype.
-