Package com.bytedesk.core.rbac.auth.sso
Class SsoOAuth2RestService
java.lang.Object
com.bytedesk.core.base.BaseRestService<SsoOAuth2Entity,SsoOAuth2Request,SsoOAuth2Response>
com.bytedesk.core.rbac.auth.sso.SsoOAuth2RestService
@Service
public class SsoOAuth2RestService
extends BaseRestService<SsoOAuth2Entity,SsoOAuth2Request,SsoOAuth2Response>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToResponse
(SsoOAuth2Entity entity) create
(SsoOAuth2Request request) void
delete
(SsoOAuth2Request entity) void
deleteByUid
(String uid) void
handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, SsoOAuth2Entity entity) org.springframework.data.domain.Page<SsoOAuth2Response>
queryByOrg
(SsoOAuth2Request request) queryByUid
(SsoOAuth2Request request) org.springframework.data.domain.Page<SsoOAuth2Response>
queryByUser
(SsoOAuth2Request request) save
(SsoOAuth2Entity entity) update
(SsoOAuth2Request request) Methods inherited from class com.bytedesk.core.base.BaseRestService
getUidFromRequest
-
Constructor Details
-
SsoOAuth2RestService
public SsoOAuth2RestService()
-
-
Method Details
-
queryByOrg
- Specified by:
queryByOrg
in classBaseRestService<SsoOAuth2Entity,
SsoOAuth2Request, SsoOAuth2Response>
-
queryByUser
public org.springframework.data.domain.Page<SsoOAuth2Response> queryByUser(SsoOAuth2Request request) - Specified by:
queryByUser
in classBaseRestService<SsoOAuth2Entity,
SsoOAuth2Request, SsoOAuth2Response>
-
findByUid
- Specified by:
findByUid
in classBaseRestService<SsoOAuth2Entity,
SsoOAuth2Request, SsoOAuth2Response>
-
create
- Specified by:
create
in classBaseRestService<SsoOAuth2Entity,
SsoOAuth2Request, SsoOAuth2Response>
-
update
- Specified by:
update
in classBaseRestService<SsoOAuth2Entity,
SsoOAuth2Request, SsoOAuth2Response>
-
save
- Specified by:
save
in classBaseRestService<SsoOAuth2Entity,
SsoOAuth2Request, SsoOAuth2Response>
-
deleteByUid
- Specified by:
deleteByUid
in classBaseRestService<SsoOAuth2Entity,
SsoOAuth2Request, SsoOAuth2Response>
-
delete
- Specified by:
delete
in classBaseRestService<SsoOAuth2Entity,
SsoOAuth2Request, SsoOAuth2Response>
-
handleOptimisticLockingFailureException
public void handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, SsoOAuth2Entity entity) - Specified by:
handleOptimisticLockingFailureException
in classBaseRestService<SsoOAuth2Entity,
SsoOAuth2Request, SsoOAuth2Response>
-
convertToResponse
- Specified by:
convertToResponse
in classBaseRestService<SsoOAuth2Entity,
SsoOAuth2Request, SsoOAuth2Response>
-
queryByUid
- Overrides:
queryByUid
in classBaseRestService<SsoOAuth2Entity,
SsoOAuth2Request, SsoOAuth2Response>
-