public class KernelAuditingFilter extends Object implements Serializable
Constructor and Description |
---|
KernelAuditingFilter() |
KernelAuditingFilter(Date from,
Date to,
String moduleId,
String subjectId,
Integer auditAction,
Integer auditSubject,
String details,
String operatorName,
Integer operatorRoleId,
Integer limit,
Integer offset) |
Modifier and Type | Method and Description |
---|---|
Integer |
getAuditAction() |
Integer |
getAuditSubject() |
String |
getDetails() |
Date |
getFrom() |
Integer |
getLimit() |
String |
getModuleId() |
Integer |
getOffset() |
String |
getOperatorName() |
Integer |
getOperatorRoleId() |
String |
getSubjectId() |
Date |
getTo() |
void |
setAuditAction(Integer auditAction) |
void |
setAuditSubject(Integer auditSubject) |
void |
setDetails(String details) |
void |
setFrom(Date from) |
void |
setLimit(Integer limit)
Specifies the maximum size of the returned list of auditing data.
|
void |
setModuleId(String moduleId) |
void |
setOffset(Integer offset) |
void |
setOperatorName(String operatorName) |
void |
setOperatorRoleId(Integer operatorRoleId) |
void |
setSubjectId(String subjectId) |
void |
setTo(Date to) |
String |
toString() |
public KernelAuditingFilter()
public KernelAuditingFilter(Date from, Date to, String moduleId, String subjectId, Integer auditAction, Integer auditSubject, String details, String operatorName, Integer operatorRoleId, Integer limit, Integer offset)
from
- - to the second - mandatoryto
- - to the second - mandatorymoduleId
- - id of a module to filtersubjectId
- - a subject id filter, may contain wildcard(s) as asteriskauditAction
- - AuditingAction to filter forauditSubject
- - AuditingSubject to filter fordetails
- - audit details text filter, may contain wildcard(s) as asterisk. Note: It is not possible to search for details under Oracle !operatorName
- - name of the operatoroperatorRoleId
- - id of operator rolelimit
- - the desired limit. In case it is higher than the limit in Kernel settings, it will be reduced.offset
- - the offset from where to return the results.public Date getFrom()
public void setFrom(Date from)
from
- Auditing items, which were created after this date, will be retrieved.
Note: Accuracy of this date is days.
Note: Either date from or date to must be set.
public Date getTo()
public void setTo(Date to)
to
- Auditing items, which were created before this date, will be retrieved.
Note: Accuracy of this date is days.
Note: Either date from or date to must be set.
public String getModuleId()
public void setModuleId(String moduleId)
moduleId
- Auditing items with this moduleId will be retrieved.
Examples: asm, kernel Note: asterisk can be used for wildcard; example: kern*
public String getSubjectId()
public void setSubjectId(String subjectId)
subjectId
- Auditing items with this subjectId will be retrieved.
Note: asterisk can be used for wildcard
public Integer getAuditAction()
public void setAuditAction(Integer auditAction)
auditAction
- Auditing items with this auditAction will be retrieved.public Integer getAuditSubject()
public void setAuditSubject(Integer auditSubject)
auditSubject
- Auditing items with this auditSubject will be retrieved.public String getDetails()
public void setDetails(String details)
details
- Auditing items with this details will be retrieved.
Note: asterisk can be used for wildcard
Note: It is not possible to search for details under Oracle !
public String getOperatorName()
public void setOperatorName(String operatorName)
operatorName
- Auditing items with this operatorName will be retrieved.
Note: asterisk can be used for wildcard
public Integer getOperatorRoleId()
public void setOperatorRoleId(Integer operatorRoleId)
operatorRoleId
- Auditing items with this operatorRoleId will be retrieved.public Integer getOffset()
public void setOffset(Integer offset)
offset
- Position within the complete result list, from where on the results shall be delivered.setLimit(Integer)
(indicated by KernelAuditingInfo.isMoreResultsAvailable()
), the method getAuditingItems(KernelAuditingFilter)
must be invoked again with an offset, to get the next chunk of auditoring data.public Integer getLimit()
public void setLimit(Integer limit)
Copyright © 2022 KOBIL Systems GmbH. All rights reserved.