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 AnyObjectDAO
protected final AnyObjectLogic
protected final SCIMDataBinder
protected final SCIMConfManager
protected final GroupDAO
protected final GroupLogic
protected static final Logger
protected org.apache.cxf.jaxrs.ext.MessageContext
protected UriInfo
protected final UserDAO
protected final UserLogic
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractSCIMService
(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.ResponseBuilder
protected Response
createResponse
(String key, SCIMResource resource) protected ListResponse
<R> doSearch
(String type, SCIMSearchRequest request) protected Preference
ReadsPrefer
header from request and parses into aPreference
instance.protected abstract SCIMResource
getResource
(String key) protected Response
updateResponse
(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
ReadsPrefer
header from request and parses into aPreference
instance.- Returns:
- a
Preference
instance matching the passedPrefer
header, orPreference.NONE
if missing.
-