package Ġru . k uch an ov . gp . service . auth Ċ Ċ import Ġorg . springframework . security . core . user details . UserDetails Service Ċ import Ġru . k uch an ov . gp . Gp Constants Ċ import Ġru . k uch an ov . gp . bean . auth . Gp User Ċ import Ġru . k uch an ov . gp . model . dto . User Dto Ċ import Ġjavax . transaction . Transactional Ċ Ċ interface ĠG p UserDetails Service Ġ: ĠUser Details Service Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġload User By Username ( username : ĠString ): ĠG p User ? ĊĊĠĠĠ Ġfun ĠgetAll ById ( ids : ĠList < Long >): ĠList < Gp User > ĊĊĠĠĠ Ġfun Ġcount Users Created Between Dates ( startDate : ĠString , ĠendDate : ĠString ): ĠInt ĊĊĠĠĠ Ġfun Ġget ById ( id : ĠLong ): ĠG p User ? ĊĠĠĠ Ġfun Ġget ById As Dto ( id : ĠLong ): ĠUser Dto ? ĊĠĠĠ Ġfun ĠgetBy Provider Id ( id : ĠString , Ġprovider : ĠG p Constants . Social Provider ): ĠG p User ? ĊĊĠĠĠ Ġ@ Transactional ĊĠĠĠ Ġfun Ġsave ( user : ĠG p User ): ĠG p User ĊĊĠĠĠ Ġfun Ġupdate ( user : ĠG p User ): ĠG p User ĊĊĠĠĠ Ġ@ Transactional ĊĠĠĠ Ġfun Ġdelete ById ( id : ĠLong ): ĠBoolean ĊĊĠĠĠ Ġ@ Transactional ĊĠĠĠ Ġfun Ġdelete By Username ( username : ĠString ): ĠBoolean Ċ } Ċ