public class RecycleBinItemQuery extends Object implements Serializable
Constructor and Description |
---|
RecycleBinItemQuery()
Zero-arg constructor
|
RecycleBinItemQuery(String path,
String name,
String deletedBy,
Date fromDate,
Date toDate)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getDeletedBy()
Get the userId of the user who deleted files will be queried
|
Date |
getFromDate()
Get the from deleted date of the item to query in deleted items
|
String |
getName()
Get the name of the item to query in deleted items
|
String |
getPath()
Get the path of the item to query in deleted items
|
Date |
getToDate()
Get the ending deleted date of the item to query in deleted items
|
void |
setDeletedBy(String deletedBy)
Sets the userId of the user whose deleted files will be queried.
|
void |
setFromDate(Date fromDate)
Set the starting deleted date of the item to query in deleted items
|
void |
setName(String name)
Set the name of the item to query in deleted items
|
void |
setPath(String path)
Set the path of the item to query in deleted items
|
void |
setToDate(Date toDate)
Set the ending deleted date of the item to query in deleted items
|
public RecycleBinItemQuery()
public RecycleBinItemQuery(String path, String name, String deletedBy, Date fromDate, Date toDate)
name
- the name of the source in which to querypath
- the location in which to querydeletedBy
- the userid of the user who deleted the itemfromDate
- the starting deleted date in which to querytoDate
- the ending deleted date in which to querypublic String getName()
public String getPath()
public void setPath(String path)
path
- the path of the item to query in deleted items, null means all paths will be queried.public void setName(String name)
name
- the name of the item to query in deleted items, null means all names will be queried.public String getDeletedBy()
public void setDeletedBy(String deletedBy)
deletedBy
- The userId of the user whose deleted items. Null or blank will result in the current user's files. * will query all users' files.public Date getFromDate()
public void setFromDate(Date fromDate)
fromDate
- the starting deleted date of the item to query in deleted items, null means all dates will be queried.public Date getToDate()
public void setToDate(Date toDate)
toDate
- the ending deleted date of the item to query in deleted items, null means all dates will be queried.Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA