Package org.openiam.srvc.audit
Class IdmAuditLogWebDataServiceImpl
- java.lang.Object
-
- org.openiam.srvc.AbstractApiService
-
- org.openiam.srvc.audit.IdmAuditLogWebDataServiceImpl
-
- All Implemented Interfaces:
IdmAuditLogWebDataService
@Service("auditWS") public class IdmAuditLogWebDataServiceImpl extends AbstractApiService implements IdmAuditLogWebDataService
- Author:
- suneet
-
-
Field Summary
-
Fields inherited from class org.openiam.srvc.AbstractApiService
applicationContext, log, rabbitMQSender
-
-
Constructor Summary
Constructors Constructor Description IdmAuditLogWebDataServiceImpl(AuditLogQueue queue)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Response
addLog(IdmAuditLogDoc event)
Response
addLogs(List<IdmAuditLogDoc> events)
int
count(AuditLogSearchBean searchBean)
List<IdmAuditLogDoc>
findBeans(AuditLogSearchBean searchBean, int from, int size)
Deprecated, for removal: This API element is subject to removal in a future version.IdmAuditLogListResponse
findBeansList(AuditLogSearchBean searchBean, int from, int size)
List<String>
getIds(AuditLogSearchBean searchBean, int from, int size)
IdmAuditLogDoc
getLogRecord(String id)
Response
purgeAuditLog(List<IdmAuditLogDoc> auditLogDocs)
-
Methods inherited from class org.openiam.srvc.AbstractApiService
broadcast, crudRequest, getBooleanValue, getIntValue, getIntValue, getRabbitMqQueue, getResponse, getResponse, getValue, getValue, getValueList, getValueList, idRequest, manageApiRequest, manageApiRequest, manageCrudApiRequest, manageCrudApiRequest, manageCrudApiRequest, manageCrudApiRequest, membershipRequestProcessing, membershipRequestProcessing, publish, publish, sendAsync, sendAsync
-
-
-
-
Constructor Detail
-
IdmAuditLogWebDataServiceImpl
@Autowired public IdmAuditLogWebDataServiceImpl(AuditLogQueue queue)
-
-
Method Detail
-
addLog
public Response addLog(IdmAuditLogDoc event)
- Specified by:
addLog
in interfaceIdmAuditLogWebDataService
-
addLogs
public Response addLogs(List<IdmAuditLogDoc> events)
- Specified by:
addLogs
in interfaceIdmAuditLogWebDataService
-
findBeans
@Deprecated(forRemoval=true, since="4.2.1") public List<IdmAuditLogDoc> findBeans(AuditLogSearchBean searchBean, int from, int size)
Deprecated, for removal: This API element is subject to removal in a future version.Deperecated. Please use {@link this#findBeansResponse(AuditLogSearchBean, int, int)} instead to get count together with the content- Specified by:
findBeans
in interfaceIdmAuditLogWebDataService
- Parameters:
searchBean
-from
-size
-- Returns:
-
findBeansList
public IdmAuditLogListResponse findBeansList(AuditLogSearchBean searchBean, int from, int size)
- Specified by:
findBeansList
in interfaceIdmAuditLogWebDataService
-
getIds
public List<String> getIds(AuditLogSearchBean searchBean, int from, int size)
- Specified by:
getIds
in interfaceIdmAuditLogWebDataService
-
count
public int count(AuditLogSearchBean searchBean)
- Specified by:
count
in interfaceIdmAuditLogWebDataService
-
getLogRecord
public IdmAuditLogDoc getLogRecord(String id)
- Specified by:
getLogRecord
in interfaceIdmAuditLogWebDataService
-
purgeAuditLog
public Response purgeAuditLog(List<IdmAuditLogDoc> auditLogDocs)
- Specified by:
purgeAuditLog
in interfaceIdmAuditLogWebDataService
-
-