|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.models.remotefileselector.ifileservice.IFileServiceSearchModel
public class IFileServiceSearchModel
Field Summary |
---|
Fields inherited from class com.sas.swing.models.remotefileselector.ifileservice.IFileServiceModel |
---|
MVS_HFS_FILESYSTEM, MVS_OS_FILESYSTEM, RB_KEY |
Constructor Summary | |
---|---|
IFileServiceSearchModel(com.sas.iom.SAS.IWorkspace workspace)
|
Method Summary | |
---|---|
int |
getFilterMatchType()
Returns the currently set override of the desired search criteria. |
void |
setDateRange(java.util.Date startDate,
java.util.Date endDate)
Sets a date range to be used in the search. |
void |
setFilterMatchType(int filterMatch)
Sets whether to override the type of desired search criteria. |
void |
setRecursive(boolean recursive)
Sets whether to make allow subfolders to be recursively searched. |
void |
setSearchAttributes(java.util.Map searchAttributes)
Sets all of the search attributes with one method call. |
void |
setSearchContext(java.lang.String searchContext)
Sets the context for searching. |
void |
setSearchText(java.lang.String searchText)
Sets the text string to search. |
void |
setStartingLocation(java.lang.String startingLocation)
Sets the file system path location where the search starts. |
void |
startSearch(RemoteFileServerModelInterface model,
BaseActionProvider actionProvider)
Runs when the search is initiated. |
void |
stopSearch()
A method used to stop the search. |
Methods inherited from class com.sas.swing.models.remotefileselector.ifileservice.IFileServiceModel |
---|
addPropertyChangeListener, combineDirectoryPathAndFileName, getDirectoryPath, getFiles, getFilterValues, getFullyQualifiedPath, getTopLevelName, getWorkspace, removePropertyChangeListener, setFilterValues, setWorkspace, splitDirectoryPathAndFileName |
Methods inherited from interface com.sas.swing.models.remotefileselector.RemoteFileServiceModelInterface |
---|
addPropertyChangeListener, combineDirectoryPathAndFileName, getDirectoryPath, getFiles, getFilterValues, getFullyQualifiedPath, getTopLevelName, removePropertyChangeListener, setFilterValues, splitDirectoryPathAndFileName |
Constructor Detail |
---|
public IFileServiceSearchModel(com.sas.iom.SAS.IWorkspace workspace)
Method Detail |
---|
public void startSearch(RemoteFileServerModelInterface model, BaseActionProvider actionProvider)
RemoteFileSearchModelInterface
startSearch
in interface RemoteFileSearchModelInterface
model
- the model used to hold the search resultsactionProvider
- the action providerpublic void stopSearch()
RemoteFileSearchModelInterface
stopSearch
in interface RemoteFileSearchModelInterface
public void setSearchAttributes(java.util.Map searchAttributes)
RemoteFileSearchModelInterface
setSearchAttributes
in interface RemoteFileSearchModelInterface
searchAttributes
- the search attributespublic void setSearchContext(java.lang.String searchContext)
RemoteFileSearchModelInterface
setSearchContext
in interface RemoteFileSearchModelInterface
searchContext
- the search contextpublic void setSearchText(java.lang.String searchText)
RemoteFileSearchModelInterface
setSearchText
in interface RemoteFileSearchModelInterface
searchText
- the text to searchpublic void setStartingLocation(java.lang.String startingLocation)
RemoteFileSearchModelInterface
setStartingLocation
in interface RemoteFileSearchModelInterface
startingLocation
- the file system pathpublic void setRecursive(boolean recursive)
RemoteFileSearchModelInterface
setRecursive
in interface RemoteFileSearchModelInterface
recursive
- specifies whether to search subfolderspublic void setDateRange(java.util.Date startDate, java.util.Date endDate)
RemoteFileSearchModelInterface
setDateRange
in interface RemoteFileSearchModelInterface
startDate
- the beginning date (inclusive)endDate
- the ending date (inclusive)public void setFilterMatchType(int filterMatch)
RemoteFileSearchModelInterface
setFilterMatchType
in interface RemoteFileSearchModelInterface
filterMatch
- the filter match typeRemoteFileSearchModelInterface.getFilterMatchType()
,
FilterComponent
public int getFilterMatchType()
RemoteFileSearchModelInterface
getFilterMatchType
in interface RemoteFileSearchModelInterface
RemoteFileSearchModelInterface.setFilterMatchType(int)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |