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 AnyTypeClassLogiclogic-
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.Responsecreate(AnyTypeClassTO anyTypeTO)Creates a new anyTypeClass.voiddelete(String key)Deletes the anyTypeClass matching the provided key.List<AnyTypeClassTO>list()Returns a list of all anyTypeClasss.AnyTypeClassTOread(String key)Returns anyTypeClass with matching key.voidupdate(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:AnyTypeClassServiceReturns a list of all anyTypeClasss.- Specified by:
listin interfaceAnyTypeClassService- Returns:
- list of all anyTypeClasss.
-
read
public AnyTypeClassTO read(String key)
Description copied from interface:AnyTypeClassServiceReturns anyTypeClass with matching key.- Specified by:
readin 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:AnyTypeClassServiceCreates a new anyTypeClass.- Specified by:
createin 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:AnyTypeClassServiceUpdates the anyTypeClass matching the provided key.- Specified by:
updatein interfaceAnyTypeClassService- Parameters:
anyTypeTO- anyTypeClass to be stored
-
delete
public void delete(String key)
Description copied from interface:AnyTypeClassServiceDeletes the anyTypeClass matching the provided key.- Specified by:
deletein interfaceAnyTypeClassService- Parameters:
key- anyTypeClass key to be deleted
-
-