Class FIQLQueryServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.rest.cxf.service.AbstractService
-
- org.apache.syncope.core.rest.cxf.service.FIQLQueryServiceImpl
-
- All Implemented Interfaces:
FIQLQueryService,JAXRSService
@Service public class FIQLQueryServiceImpl extends AbstractService implements FIQLQueryService
-
-
Field Summary
Fields Modifier and Type Field Description protected FIQLQueryLogiclogic-
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 FIQLQueryServiceImpl(FIQLQueryLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsecreate(FIQLQueryTO applicationTO)Creates a new fiqlQuery.voiddelete(String key)Deletes the FIQL querymatching the provided key.List<FIQLQueryTO>list(String target)Returns a list of all FIQL queries for the calling user, matching the given target if provided.FIQLQueryTOread(String key)Returns FIQL querywith matching key.voidupdate(FIQLQueryTO applicationTO)Updates the FIQL querymatching 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 FIQLQueryLogic logic
-
-
Constructor Detail
-
FIQLQueryServiceImpl
public FIQLQueryServiceImpl(FIQLQueryLogic logic)
-
-
Method Detail
-
list
public List<FIQLQueryTO> list(String target)
Description copied from interface:FIQLQueryServiceReturns a list of all FIQL queries for the calling user, matching the given target if provided.- Specified by:
listin interfaceFIQLQueryService- Parameters:
target- FIQL query target- Returns:
- list of all FIQL queries for the calling user, matching the given target if provided
-
read
public FIQLQueryTO read(String key)
Description copied from interface:FIQLQueryServiceReturns FIQL querywith matching key.- Specified by:
readin interfaceFIQLQueryService- Parameters:
key- FIQL querykey to be read- Returns:
- FIQL querywith matching key
-
create
public javax.ws.rs.core.Response create(FIQLQueryTO applicationTO)
Description copied from interface:FIQLQueryServiceCreates a new fiqlQuery.- Specified by:
createin interfaceFIQLQueryService- Parameters:
applicationTO- FIQL queryto be created- Returns:
- Response object featuring Location header of created fiqlQuery
-
update
public void update(FIQLQueryTO applicationTO)
Description copied from interface:FIQLQueryServiceUpdates the FIQL querymatching the provided key.- Specified by:
updatein interfaceFIQLQueryService- Parameters:
applicationTO- FIQL queryto be stored
-
delete
public void delete(String key)
Description copied from interface:FIQLQueryServiceDeletes the FIQL querymatching the provided key.- Specified by:
deletein interfaceFIQLQueryService- Parameters:
key- FIQL querykey to be deleted
-
-