Class SchemaServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.SchemaServiceImpl
- All Implemented Interfaces:
JAXRSService,SchemaService
-
Field Summary
FieldsFields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfoFields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(SchemaType schemaType, SchemaTO schemaTO) Creates a new schema.voiddelete(SchemaType schemaType, String key) Deletes the schema matching the given type and key.getDropdownValues(String key, AnyTO anyTO) getDropdownValues(String key, RealmTO realmTO) <T extends SchemaTO>
Tread(SchemaType schemaType, String key) Returns schema matching the given type and key.search(SchemaQuery query) Returns a list of schemas matching the given query.voidupdate(SchemaType schemaType, SchemaTO schemaTO) Updates the schema matching the given type and key.Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getPreference, isNullPriorityAsync, modificationResponse, pageable, pageable, sort
-
Field Details
-
logic
-
-
Constructor Details
-
SchemaServiceImpl
-
-
Method Details
-
create
Description copied from interface:SchemaServiceCreates a new schema.- Specified by:
createin interfaceSchemaService- Parameters:
schemaType- type for schema to be createdschemaTO- schema to be created- Returns:
- Response object featuring Location header of created schema
-
delete
Description copied from interface:SchemaServiceDeletes the schema matching the given type and key.- Specified by:
deletein interfaceSchemaService- Parameters:
schemaType- type for schema to be deletedkey- name of schema to be deleted
-
search
Description copied from interface:SchemaServiceReturns a list of schemas matching the given query.- Specified by:
searchin interfaceSchemaService- Type Parameters:
T- actual SchemaTO- Parameters:
query- query conditions- Returns:
- list of schemas with matching type, for the given anyTypeClass if provided, with keys containing keyword if provided
-
read
Description copied from interface:SchemaServiceReturns schema matching the given type and key.- Specified by:
readin interfaceSchemaService- Type Parameters:
T- actual SchemaTO- Parameters:
schemaType- type for schemas to be readkey- name of schema to be read- Returns:
- schema matching the given type and name
-
update
Description copied from interface:SchemaServiceUpdates the schema matching the given type and key.- Specified by:
updatein interfaceSchemaService- Parameters:
schemaType- type for schemas to be updatedschemaTO- updated schema to be stored
-
getDropdownValues
- Specified by:
getDropdownValuesin interfaceSchemaService
-
getDropdownValues
- Specified by:
getDropdownValuesin interfaceSchemaService
-