Class BaseResourceTypeResourceImpl<T extends ScimResource>
java.lang.Object
org.apache.directory.scim.server.rest.BaseResourceTypeResourceImpl<T>
- All Implemented Interfaces:
BaseResourceTypeResource<T>
- Direct Known Subclasses:
GroupResourceImpl
,UserResourceImpl
public abstract class BaseResourceTypeResourceImpl<T extends ScimResource>
extends Object
implements BaseResourceTypeResource<T>
-
Constructor Summary
ConstructorDescriptionBaseResourceTypeResourceImpl
(SchemaRegistry schemaRegistry, RepositoryRegistry repositoryRegistry, Class<T> resourceClass) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
create
(T resource, AttributeReferenceListWrapper attributes, AttributeReferenceListWrapper excludedAttributes) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
find
(SearchRequest request) jakarta.ws.rs.core.Response
getById
(String id, AttributeReferenceListWrapper attributes, AttributeReferenceListWrapper excludedAttributes) jakarta.ws.rs.core.Response
patch
(PatchRequest patchRequest, String id, AttributeReferenceListWrapper attributes, AttributeReferenceListWrapper excludedAttributes) jakarta.ws.rs.core.Response
query
(AttributeReferenceListWrapper attributes, AttributeReferenceListWrapper excludedAttributes, FilterWrapper filter, AttributeReference sortBy, SortOrder sortOrder, Integer startIndex, Integer count) jakarta.ws.rs.core.Response
update
(T resource, String id, AttributeReferenceListWrapper attributes, AttributeReferenceListWrapper excludedAttributes)
-
Constructor Details
-
BaseResourceTypeResourceImpl
public BaseResourceTypeResourceImpl(SchemaRegistry schemaRegistry, RepositoryRegistry repositoryRegistry, Class<T> resourceClass)
-
-
Method Details
-
getRepository
-
getById
public jakarta.ws.rs.core.Response getById(String id, AttributeReferenceListWrapper attributes, AttributeReferenceListWrapper excludedAttributes) throws ScimException, ResourceException - Specified by:
getById
in interfaceBaseResourceTypeResource<T extends ScimResource>
- Returns:
- Throws:
ScimException
ResourceException
- See Also:
-
query
public jakarta.ws.rs.core.Response query(AttributeReferenceListWrapper attributes, AttributeReferenceListWrapper excludedAttributes, FilterWrapper filter, AttributeReference sortBy, SortOrder sortOrder, Integer startIndex, Integer count) throws ScimException, ResourceException - Specified by:
query
in interfaceBaseResourceTypeResource<T extends ScimResource>
- Returns:
- Throws:
ScimException
ResourceException
- See Also:
-
create
public jakarta.ws.rs.core.Response create(T resource, AttributeReferenceListWrapper attributes, AttributeReferenceListWrapper excludedAttributes) throws ScimException, ResourceException - Specified by:
create
in interfaceBaseResourceTypeResource<T extends ScimResource>
- Returns:
- Throws:
ScimException
ResourceException
- See Also:
-
find
public jakarta.ws.rs.core.Response find(SearchRequest request) throws ScimException, ResourceException - Specified by:
find
in interfaceBaseResourceTypeResource<T extends ScimResource>
- Returns:
- Throws:
ScimException
ResourceException
- See Also:
-
update
public jakarta.ws.rs.core.Response update(T resource, String id, AttributeReferenceListWrapper attributes, AttributeReferenceListWrapper excludedAttributes) throws ScimException, ResourceException - Specified by:
update
in interfaceBaseResourceTypeResource<T extends ScimResource>
- Returns:
- Throws:
ScimException
ResourceException
- See Also:
-
patch
public jakarta.ws.rs.core.Response patch(PatchRequest patchRequest, String id, AttributeReferenceListWrapper attributes, AttributeReferenceListWrapper excludedAttributes) throws ScimException, ResourceException - Specified by:
patch
in interfaceBaseResourceTypeResource<T extends ScimResource>
- Throws:
ScimException
ResourceException
-
delete
- Specified by:
delete
in interfaceBaseResourceTypeResource<T extends ScimResource>
- Throws:
ScimException
ResourceException
-