|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.models.remotefileselector2.informationservices.InformationServicesSearchModel
public class InformationServicesSearchModel
InformationServicesSearchModel class provides the additional functionality to perform
searches on the file system data.
Wild card searches with an "*" asterisk are supported.
If text is specified and then an asterisk, then all items whose context starting text matches the specified
text will be returned in the Search results
.
All other searches are contained searches.
So if an asterisk is specified and then text any items whose context text contains the
specified text will be returned in the Search results
.
Field Summary | |
---|---|
static java.lang.String |
CREATED_DATE
used to specify the created date when searching on datetime values |
static java.lang.String |
MODIFIED_DATE
used to specify the modified date when searching on datetime values |
static java.lang.String |
RB_KEY
a resource attribute |
Fields inherited from class com.sas.swing.models.remotefileselector2.informationservices.BaseInformationServicesModel |
---|
allowNewFoldersInRootFolder, CHOOSE_REPORT_METADATA_TEMPLATE, FOLDER_TYPE, FOLDER_TYPE_AND_SLASH, folderLocalizedType, FOLDERTYPE_FOLDER, FOLDERTYPE_MYFOLDER, FOLDERTYPE_ROOTFOLDER, FOLDERTYPE_WEBDAVFOLDER, includeSystemFolders, isPathUrl, LOAD_ROOT_FOLDER_TEMPLATE, locations, locationsCurrentPathIndex, log, MY_FOLDER, myFolderLocationUrl, myFolderName, myFolderNode, navigatingRepository, PACKAGE, repository, repositoryForFilteringRootFolders, reposList, rootFolder, rootFolderInfo, rootFolderLocation, rootFolderName, rootLocations, SBIP, server, SLASH, SYSTEM_FOLDER_TYPE, typeDescriptor, userHomeFolder, userHomeFolderInfo, userHomeFolderName, webDavReposList, webDavReposNames |
Fields inherited from class com.sas.swing.models.remotefileselector2.BaseRemoteFileServerModel |
---|
currentPath, directoriesOnly, filterValues, infoList, modelNeedsRefresh, readingFromCache, rootLocation, showDirectoriesOnly, spcs, tableEditable |
Fields inherited from interface com.sas.swing.models.remotefileselector2.BaseRemoteFileModelInterface |
---|
AUTHOR_COLUMN, CREATED_DATE_COLUMN, DESCRIPTION_COLUMN, ENGINE_COLUMN, ENTITY_KEY_COLUMN, FILE_METADATA_COLUMN, IS_A_FOLDER_COLUMN, KEYWORDS_COLUMN, MODIFIED_DATE_COLUMN, NAME_COLUMN, PATH_COLUMN, SIZE_COLUMN, SPECIAL_TYPE_COLUMN, TYPE_COLUMN |
Constructor Summary | |
---|---|
InformationServicesSearchModel(com.sas.services.information.RepositoryInterface repository)
Constructor that allows setting of the repository to be searched. |
|
InformationServicesSearchModel(com.sas.services.user.UserContextInterface user)
Constructor that allows setting of a user context to be searched. |
Method Summary | |
---|---|
int |
getFilterMatchType()
Returns the currently set filter match type. |
boolean |
getRecursive()
Returns whether the current search is recursive. |
protected com.sas.services.information.FilterInterface |
getSearchFilter()
|
void |
loadFileInfo(RemoteFileSearchAttributes searchCriteria)
Initiates the gathering of the file information for the search. |
void |
setFilterMatchType(int filterMatch)
Allows setting of a constant value for the filterRelation value. |
protected void |
setSearchFilter(com.sas.services.information.FilterInterface searchFilter)
|
Methods inherited from class com.sas.swing.models.remotefileselector2.informationservices.BaseInformationServicesModel |
---|
combinePathAndFileName, createMetadataItems, createMetadataPackageItems, createRepositoryNodeMetadataItems, filterData, filterPackageData, getColumnCount, getColumnIndex, getCurrentFolder, getCurrentRepository, getDirectoryPath, getLocale, getRepository, getRepositoryList, getRepositoryRootLocation, getServerName, getUserContext, getValueAt, initialize, isUpwardPathRestricted, isValidURL, parseIntoFoldersAndLocations, setLocale, setRepository, setUserContext, splitPathAndFileName, updateLocations |
Methods inherited from class com.sas.swing.models.remotefileselector2.BaseRemoteFileServerModel |
---|
addToPasteBuffer, cancelLoadFileInfo, clearPasteBuffer, getBasePath, getFileInfo, getLocation, getNodeAt, getPasteBuffer, getPasteBufferCommandType, getRowCount, isRefreshNeeded, isTableEditable, setPasteBufferCommandType, setRefreshNeeded, setTableEditable |
Methods inherited from interface com.sas.swing.models.remotefileselector2.BaseRemoteFileModelInterface |
---|
addToPasteBuffer, cancelLoadFileInfo, clearPasteBuffer, getBasePath, getColumnIndex, getLocation, getNodeAt, getPasteBuffer, getPasteBufferCommandType, getServerName, isRefreshNeeded, isTableEditable, isUpwardPathRestricted, parseIntoFoldersAndLocations, setLocation, setPasteBufferCommandType, setRefreshNeeded, setTableEditable |
Field Detail |
---|
public static final java.lang.String RB_KEY
public static final java.lang.String MODIFIED_DATE
public static final java.lang.String CREATED_DATE
Constructor Detail |
---|
public InformationServicesSearchModel(com.sas.services.information.RepositoryInterface repository)
repository
- the repository to be searchedpublic InformationServicesSearchModel(com.sas.services.user.UserContextInterface user)
user
- the UserContextInterface to be searchedMethod Detail |
---|
public void loadFileInfo(RemoteFileSearchAttributes searchCriteria) throws java.lang.IllegalArgumentException
loadFileInfo
in interface RemoteFileSearchModelInterface
searchCriteria
- the search attributes
java.lang.IllegalArgumentException
protected void setSearchFilter(com.sas.services.information.FilterInterface searchFilter)
protected com.sas.services.information.FilterInterface getSearchFilter()
public void setFilterMatchType(int filterMatch)
filterMatch
- the value from FilterComponent.EQUALS, CONTAINS, etc.public int getFilterMatchType()
setFilterMatchType(int)
public boolean getRecursive()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |