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 FIQLQueryLogic
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 FIQLQueryServiceImpl(FIQLQueryLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
create(FIQLQueryTO applicationTO)
Creates a new fiqlQuery.void
delete(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.FIQLQueryTO
read(String key)
Returns FIQL querywith matching key.void
update(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:FIQLQueryService
Returns a list of all FIQL queries for the calling user, matching the given target if provided.- Specified by:
list
in 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:FIQLQueryService
Returns FIQL querywith matching key.- Specified by:
read
in 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:FIQLQueryService
Creates a new fiqlQuery.- Specified by:
create
in 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:FIQLQueryService
Updates the FIQL querymatching the provided key.- Specified by:
update
in interfaceFIQLQueryService
- Parameters:
applicationTO
- FIQL queryto be stored
-
delete
public void delete(String key)
Description copied from interface:FIQLQueryService
Deletes the FIQL querymatching the provided key.- Specified by:
delete
in interfaceFIQLQueryService
- Parameters:
key
- FIQL querykey to be deleted
-
-