Class AnyTypeClassServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.rest.cxf.service.AbstractService
-
- org.apache.syncope.core.rest.cxf.service.AnyTypeClassServiceImpl
-
- All Implemented Interfaces:
AnyTypeClassService
,JAXRSService
@Service public class AnyTypeClassServiceImpl extends AbstractService implements AnyTypeClassService
-
-
Field Summary
Fields Modifier and Type Field Description protected AnyTypeClassLogic
logic
-
Fields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfo
-
Fields 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 Constructor Description AnyTypeClassServiceImpl(AnyTypeClassLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
create(AnyTypeClassTO anyTypeTO)
Creates a new anyTypeClass.void
delete(String key)
Deletes the anyTypeClass matching the provided key.List<AnyTypeClassTO>
list()
Returns a list of all anyTypeClasss.AnyTypeClassTO
read(String key)
Returns anyTypeClass with matching key.void
update(AnyTypeClassTO anyTypeTO)
Updates the anyTypeClass matching the provided key.-
Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getOrderByClauses, getPreference, isNullPriorityAsync, modificationResponse
-
-
-
-
Field Detail
-
logic
protected final AnyTypeClassLogic logic
-
-
Constructor Detail
-
AnyTypeClassServiceImpl
public AnyTypeClassServiceImpl(AnyTypeClassLogic logic)
-
-
Method Detail
-
list
public List<AnyTypeClassTO> list()
Description copied from interface:AnyTypeClassService
Returns a list of all anyTypeClasss.- Specified by:
list
in interfaceAnyTypeClassService
- Returns:
- list of all anyTypeClasss.
-
read
public AnyTypeClassTO read(String key)
Description copied from interface:AnyTypeClassService
Returns anyTypeClass with matching key.- Specified by:
read
in interfaceAnyTypeClassService
- Parameters:
key
- anyTypeClass key to be read- Returns:
- anyTypeClass with matching key
-
create
public javax.ws.rs.core.Response create(AnyTypeClassTO anyTypeTO)
Description copied from interface:AnyTypeClassService
Creates a new anyTypeClass.- Specified by:
create
in interfaceAnyTypeClassService
- Parameters:
anyTypeTO
- anyTypeClass to be created- Returns:
- Response object featuring Location header of created anyTypeClass
-
update
public void update(AnyTypeClassTO anyTypeTO)
Description copied from interface:AnyTypeClassService
Updates the anyTypeClass matching the provided key.- Specified by:
update
in interfaceAnyTypeClassService
- Parameters:
anyTypeTO
- anyTypeClass to be stored
-
delete
public void delete(String key)
Description copied from interface:AnyTypeClassService
Deletes the anyTypeClass matching the provided key.- Specified by:
delete
in interfaceAnyTypeClassService
- Parameters:
key
- anyTypeClass key to be deleted
-
-