Class SCIMGroupServiceImpl
- java.lang.Object
-
- org.apache.syncope.ext.scimv2.cxf.service.SCIMGroupServiceImpl
-
- All Implemented Interfaces:
SCIMGroupService
,SCIMResourceService<SCIMGroup>
public class SCIMGroupServiceImpl extends Object implements SCIMGroupService
-
-
Field Summary
Fields Modifier and Type Field Description protected SCIMDataBinder
binder
protected SCIMConfManager
confManager
protected GroupDAO
groupDAO
protected GroupLogic
groupLogic
protected static Logger
LOG
protected org.apache.cxf.jaxrs.ext.MessageContext
messageContext
protected javax.ws.rs.core.UriInfo
uriInfo
protected UserDAO
userDAO
protected UserLogic
userLogic
-
Constructor Summary
Constructors Constructor Description SCIMGroupServiceImpl(UserDAO userDAO, GroupDAO groupDAO, UserLogic userLogic, GroupLogic groupLogic, SCIMDataBinder binder, SCIMConfManager confManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AnyDAO<?>
anyDAO(Resource type)
protected AbstractAnyLogic<?,?,?>
anyLogic(Resource type)
protected javax.ws.rs.core.Response.ResponseBuilder
checkETag(Resource resource, String key)
javax.ws.rs.core.Response
create(SCIMGroup group)
protected javax.ws.rs.core.Response
createResponse(String key, SCIMResource resource)
javax.ws.rs.core.Response
delete(String id)
protected ListResponse<R>
doSearch(Resource type, SCIMSearchRequest request)
SCIMGroup
get(String id, String attributes, String excludedAttributes)
javax.ws.rs.core.Response
replace(String id, SCIMGroup group)
ListResponse<SCIMGroup>
search(String attributes, String excludedAttributes, String filter, String sortBy, SortOrder sortOrder, Integer startIndex, Integer count)
ListResponse<SCIMGroup>
search(SCIMSearchRequest request)
javax.ws.rs.core.Response
update(String id, SCIMPatchOp patch)
protected javax.ws.rs.core.Response
updateResponse(String key, SCIMResource resource)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
uriInfo
@Context protected javax.ws.rs.core.UriInfo uriInfo
-
messageContext
@Context protected org.apache.cxf.jaxrs.ext.MessageContext messageContext
-
userDAO
protected final UserDAO userDAO
-
groupDAO
protected final GroupDAO groupDAO
-
userLogic
protected final UserLogic userLogic
-
groupLogic
protected final GroupLogic groupLogic
-
binder
protected final SCIMDataBinder binder
-
confManager
protected final SCIMConfManager confManager
-
-
Constructor Detail
-
SCIMGroupServiceImpl
public SCIMGroupServiceImpl(UserDAO userDAO, GroupDAO groupDAO, UserLogic userLogic, GroupLogic groupLogic, SCIMDataBinder binder, SCIMConfManager confManager)
-
-
Method Detail
-
create
public javax.ws.rs.core.Response create(SCIMGroup group)
- Specified by:
create
in interfaceSCIMResourceService<SCIMGroup>
-
get
public SCIMGroup get(String id, String attributes, String excludedAttributes)
- Specified by:
get
in interfaceSCIMResourceService<SCIMGroup>
-
update
public javax.ws.rs.core.Response update(String id, SCIMPatchOp patch)
- Specified by:
update
in interfaceSCIMResourceService<SCIMGroup>
-
replace
public javax.ws.rs.core.Response replace(String id, SCIMGroup group)
- Specified by:
replace
in interfaceSCIMResourceService<SCIMGroup>
-
delete
public javax.ws.rs.core.Response delete(String id)
- Specified by:
delete
in interfaceSCIMResourceService<SCIMGroup>
-
search
public ListResponse<SCIMGroup> search(String attributes, String excludedAttributes, String filter, String sortBy, SortOrder sortOrder, Integer startIndex, Integer count)
- Specified by:
search
in interfaceSCIMResourceService<SCIMGroup>
-
search
public ListResponse<SCIMGroup> search(SCIMSearchRequest request)
- Specified by:
search
in interfaceSCIMResourceService<SCIMGroup>
-
anyLogic
protected AbstractAnyLogic<?,?,?> anyLogic(Resource type)
-
createResponse
protected javax.ws.rs.core.Response createResponse(String key, SCIMResource resource)
-
updateResponse
protected javax.ws.rs.core.Response updateResponse(String key, SCIMResource resource)
-
checkETag
protected javax.ws.rs.core.Response.ResponseBuilder checkETag(Resource resource, String key)
-
doSearch
protected ListResponse<R> doSearch(Resource type, SCIMSearchRequest request)
-
-