public class DeviceSearchCriteria extends DateRangeSearchCriteria implements IDeviceSearchCriteria
Modifier and Type | Field and Description |
---|---|
static DeviceSearchCriteria |
ALL
Search criteria for getting all records
|
Constructor and Description |
---|
DeviceSearchCriteria(int pageNumber,
int pageSize,
java.util.Date startDate,
java.util.Date endDate) |
DeviceSearchCriteria(java.lang.String specToken,
java.lang.String siteToken,
boolean excludeAssigned,
int pageNumber,
int pageSize,
java.util.Date startDate,
java.util.Date endDate) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSiteToken()
Get token if filtered by site.
|
java.lang.String |
getSpecificationToken()
Get token if filtered by specification.
|
boolean |
isExcludeAssigned()
Indicates whether assigned devices should be excluded.
|
void |
setExcludeAssigned(boolean excludeAssigned) |
void |
setSiteToken(java.lang.String siteToken) |
void |
setSpecificationToken(java.lang.String specificationToken) |
getEndDate, getStartDate
getPageNumber, getPageSize, setPageNumber, setPageSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndDate, getStartDate
getPageNumber, getPageSize
public static DeviceSearchCriteria ALL
public DeviceSearchCriteria(int pageNumber, int pageSize, java.util.Date startDate, java.util.Date endDate)
public DeviceSearchCriteria(java.lang.String specToken, java.lang.String siteToken, boolean excludeAssigned, int pageNumber, int pageSize, java.util.Date startDate, java.util.Date endDate)
public java.lang.String getSpecificationToken()
IDeviceSearchCriteria
getSpecificationToken
in interface IDeviceSearchCriteria
public void setSpecificationToken(java.lang.String specificationToken)
public java.lang.String getSiteToken()
IDeviceSearchCriteria
getSiteToken
in interface IDeviceSearchCriteria
public void setSiteToken(java.lang.String siteToken)
public boolean isExcludeAssigned()
IDeviceSearchCriteria
isExcludeAssigned
in interface IDeviceSearchCriteria
public void setExcludeAssigned(boolean excludeAssigned)