public class DownloadDetailsDTO extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DownloadDetailsDTO.DownloadType
Encompasses the different types of downloads that can be performed.
|
| Constructor and Description |
|---|
DownloadDetailsDTO()
Default constructor necessary for Jackson to create an object from the JSON.
|
DownloadDetailsDTO(DownloadRequestParams params,
String ipAddress,
DownloadDetailsDTO.DownloadType type) |
DownloadDetailsDTO(String params,
String ipAddress,
DownloadDetailsDTO.DownloadType type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDownloadParams() |
DownloadDetailsDTO.DownloadType |
getDownloadType() |
String |
getEmail() |
String |
getFileLocation() |
Map<String,String> |
getHeaderMap() |
boolean |
getIncludeSensitive() |
String |
getIpAddress() |
String |
getLastUpdate() |
long |
getRecordsDownloaded() |
DownloadRequestParams |
getRequestParams() |
Date |
getStartDate() |
String |
getStartDateString() |
long |
getStartTime() |
long |
getTotalRecords() |
void |
setDownloadParams(String downloadParams) |
void |
setDownloadType(DownloadDetailsDTO.DownloadType downloadType) |
void |
setEmail(String email) |
void |
setFileLocation(String fileLocation) |
void |
setHeaderMap(Map<String,String> headerMap) |
void |
setIncludeSensitive(boolean includeSensitive) |
void |
setIpAddress(String ipAddress) |
void |
setRequestParams(DownloadRequestParams requestParams) |
void |
setStartDate(Date startDate) |
void |
setTotalRecords(long total) |
String |
toString() |
void |
updateCounts(int number) |
public DownloadDetailsDTO()
public DownloadDetailsDTO(String params, String ipAddress, DownloadDetailsDTO.DownloadType type)
public DownloadDetailsDTO(DownloadRequestParams params, String ipAddress, DownloadDetailsDTO.DownloadType type)
public String getLastUpdate()
public long getStartTime()
public String getStartDateString()
public Date getStartDate()
public void setStartDate(Date startDate)
public long getRecordsDownloaded()
public String getDownloadParams()
public void setDownloadParams(String downloadParams)
downloadParams - the downloadParams to setpublic String getIpAddress()
public DownloadDetailsDTO.DownloadType getDownloadType()
public void setDownloadType(DownloadDetailsDTO.DownloadType downloadType)
downloadType - the downloadType to setpublic void updateCounts(int number)
public void setTotalRecords(long total)
public long getTotalRecords()
public String getEmail()
public void setEmail(String email)
email - the email to setpublic String getFileLocation()
public void setFileLocation(String fileLocation)
fileLocation - the fileLocation to setpublic DownloadRequestParams getRequestParams()
public void setRequestParams(DownloadRequestParams requestParams)
requestParams - the requestParams to setpublic boolean getIncludeSensitive()
public void setIncludeSensitive(boolean includeSensitive)
includeSensitive - the includeSensitive to setpublic void setIpAddress(String ipAddress)
ipAddress - the ipAddress to setpublic void setHeaderMap(Map<String,String> headerMap)
headerMap - the headerMap to setpublic String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.