Class AbstractSCIMService<R extends SCIMResource>
java.lang.Object
org.apache.syncope.ext.scimv2.cxf.service.AbstractSCIMService<R>
- Direct Known Subclasses:
SCIMAnyObjectServiceImpl,SCIMGroupServiceImpl,SCIMServiceImpl,SCIMUserServiceImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AnyObjectDAOprotected final AnyObjectLogicprotected final SCIMDataBinderprotected final SCIMConfManagerprotected final GroupDAOprotected final GroupLogicprotected static final Loggerprotected org.apache.cxf.jaxrs.ext.MessageContextprotected UriInfoprotected final UserDAOprotected final UserLogic -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSCIMService(UserDAO userDAO, GroupDAO groupDAO, AnyObjectDAO anyObjectDAO, UserLogic userLogic, GroupLogic groupLogic, AnyObjectLogic anyObjectLogic, SCIMDataBinder binder, SCIMConfManager confManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected AnyDAO<?> protected AbstractAnyLogic<?, ?, ?> protected Response.ResponseBuilderprotected ResponsecreateResponse(String key, SCIMResource resource) protected ListResponse<R> doSearch(String type, SCIMSearchRequest request) protected PreferenceReadsPreferheader from request and parses into aPreferenceinstance.protected abstract SCIMResourcegetResource(String key) protected ResponseupdateResponse(String key, SCIMResource resource, boolean patch)
-
Field Details
-
LOG
-
uriInfo
-
messageContext
-
userDAO
-
groupDAO
-
anyObjectDAO
-
userLogic
-
groupLogic
-
anyObjectLogic
-
binder
-
confManager
-
-
Constructor Details
-
AbstractSCIMService
protected AbstractSCIMService(UserDAO userDAO, GroupDAO groupDAO, AnyObjectDAO anyObjectDAO, UserLogic userLogic, GroupLogic groupLogic, AnyObjectLogic anyObjectLogic, SCIMDataBinder binder, SCIMConfManager confManager)
-
-
Method Details
-
anyDAO
-
anyLogic
-
createResponse
-
updateResponse
-
getResource
-
checkETag
-
doSearch
-
getPreference
ReadsPreferheader from request and parses into aPreferenceinstance.- Returns:
- a
Preferenceinstance matching the passedPreferheader, orPreference.NONEif missing.
-