public class ReportingFilter extends Object implements Serializable
setAction(AsmAction)
Constructor and Description |
---|
ReportingFilter() |
ReportingFilter(Date from,
Date to,
String userId,
Integer deviceId,
AsmAction action,
AsmReportingStatus status,
String details,
String operator,
Integer limit,
Integer offset) |
Modifier and Type | Method and Description |
---|---|
AsmAction |
getAction() |
String |
getDetails() |
Integer |
getDeviceId() |
Date |
getFrom() |
Integer |
getLimit() |
Integer |
getOffset() |
String |
getOperator() |
AsmReportingStatus |
getStatus() |
Date |
getTo() |
String |
getUserId() |
void |
setAction(AsmAction action) |
void |
setDetails(String details) |
void |
setDeviceId(Integer deviceId) |
void |
setFrom(Date from) |
void |
setLimit(Integer limit) |
void |
setOffset(Integer offset) |
void |
setOperator(String operator) |
void |
setStatus(AsmReportingStatus status) |
void |
setTo(Date to) |
void |
setUserId(String userId) |
String |
toString() |
public ReportingFilter()
public ReportingFilter(Date from, Date to, String userId, Integer deviceId, AsmAction action, AsmReportingStatus status, String details, String operator, Integer limit, Integer offset)
from
- - the from date (including time)to
- - the end date (including time)userId
- - a SSMS known user iddeviceId
- - a SSMS known device idaction
- - the related actionstatus
- - the related statusdetails
- - a filter for the details. Use *(asterisk) as wildcard symboloperator
- - the 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
- The start date (including time) of the reporting to be returned.public Date getTo()
public void setTo(Date to)
to
- The end date (including time) of the reporting to be returned.public String getUserId()
public void setUserId(String userId)
userId
- the user ID. Use *(asterisk) as wildcard symbolpublic Integer getDeviceId()
public void setDeviceId(Integer deviceId)
deviceId
- the ID of an existing devicepublic AsmAction getAction()
public void setAction(AsmAction action)
action
- the AsmAction
of the reporting to be filteredpublic AsmReportingStatus getStatus()
public void setStatus(AsmReportingStatus status)
status
- the AsmReportingStatus
of the reporting to be filteredpublic String getDetails()
public void setDetails(String details)
details
- the details of the reporting. Use *(asterisk) as wildcard symbolpublic String getOperator()
public void setOperator(String operator)
operator
- the operator of the reporting entriespublic Integer getOffset()
public void setOffset(Integer offset)
offset
- If the list of available reporting entries to be returned exceeds the limit (see setLimit(Integer)
)
the remainder of the entries can be retrieved by setting this offset parameter.public Integer getLimit()
public void setLimit(Integer limit)
limit
- the maximum amount of reporting entries to be returned. If the list of available entries exceeds this value,
the rest can be retrieved by setting the offset: setOffset(Integer)
.Copyright © 2022 KOBIL Systems GmbH. All rights reserved.