public List < UserPermissionDto > selectUserPermissionsByQuery ( DbSession dbSession , PermissionQuery query , Collection < Integer > userIds ) { if ( userIds . isEmpty ( ) ) { return emptyList ( ) ; } checkArgument ( userIds . size ( ) <= DatabaseUtils . PARTITION_SIZE_FOR_ORACLE , "Maximum 1'000 users are accepted" ) ; return mapper ( dbSession ) . selectUserPermissionsByQueryAndUserIds ( query , userIds ) ; }
List of user permissions ordered by alphabetical order of user names . Pagination is NOT applied . No sort is done .