Class AnyTypeServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.rest.cxf.service.AbstractService
-
- org.apache.syncope.core.rest.cxf.service.AnyTypeServiceImpl
-
- All Implemented Interfaces:
AnyTypeService,JAXRSService
@Service public class AnyTypeServiceImpl extends AbstractService implements AnyTypeService
-
-
Field Summary
Fields Modifier and Type Field Description protected AnyTypeLogiclogic-
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 AnyTypeServiceImpl(AnyTypeLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsecreate(AnyTypeTO anyTypeTO)Creates a new anyType.voiddelete(String key)Deletes the anyType matching the provided key.List<AnyTypeTO>list()Returns a list of all anyTypes.AnyTypeTOread(String key)Returns anyType with matching key.voidupdate(AnyTypeTO anyTypeTO)Updates the anyType 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 AnyTypeLogic logic
-
-
Constructor Detail
-
AnyTypeServiceImpl
public AnyTypeServiceImpl(AnyTypeLogic logic)
-
-
Method Detail
-
list
public List<AnyTypeTO> list()
Description copied from interface:AnyTypeServiceReturns a list of all anyTypes.- Specified by:
listin interfaceAnyTypeService- Returns:
- list of all anyTypes.
-
read
public AnyTypeTO read(String key)
Description copied from interface:AnyTypeServiceReturns anyType with matching key.- Specified by:
readin interfaceAnyTypeService- Parameters:
key- anyType key to be read- Returns:
- anyType with matching key
-
create
public javax.ws.rs.core.Response create(AnyTypeTO anyTypeTO)
Description copied from interface:AnyTypeServiceCreates a new anyType.- Specified by:
createin interfaceAnyTypeService- Parameters:
anyTypeTO- anyType to be created- Returns:
- Response object featuring Location header of created anyType
-
update
public void update(AnyTypeTO anyTypeTO)
Description copied from interface:AnyTypeServiceUpdates the anyType matching the provided key.- Specified by:
updatein interfaceAnyTypeService- Parameters:
anyTypeTO- anyType to be stored
-
delete
public void delete(String key)
Description copied from interface:AnyTypeServiceDeletes the anyType matching the provided key.- Specified by:
deletein interfaceAnyTypeService- Parameters:
key- anyType key to be deleted
-
-