|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.commands.remotefileselector2.HttpSearchCommand
public class HttpSearchCommand
This class updates the search attributes object for updating the latest values on the search viewer and to use for the search criteria.
Field Summary | |
---|---|
static java.lang.String |
RB_KEY
the resource key |
Fields inherited from interface com.sas.commands.DynamicAttributeCommandInterface |
---|
COMMAND_NAME_PREFIX |
Constructor Summary | |
---|---|
HttpSearchCommand()
Constructor |
|
HttpSearchCommand(java.lang.String name)
Constructor that accepts a command name |
Method Summary | |
---|---|
void |
execute(java.lang.Object o)
Initiates the action to search the file system. |
java.util.Date |
getEndDateTime()
Returns the end date for a range of dates to be searched. |
java.util.HashMap |
getEventInfo()
Returns information about the command. |
java.lang.Object |
getEventSource()
Returns the event source item "path". |
boolean |
getRecursive()
Returns whether to search the subfolders recursively. |
RemoteFileSearchModelInterface |
getRemoteModel()
Returns the model attribute value. |
RemoteFileSearchFieldsAttributes |
getSearchAttributes()
|
java.lang.String |
getSearchContext()
Returns the current column value used in searching. |
java.lang.String |
getSearchDateTimeType()
|
java.lang.String |
getSearchDateTimeUnit()
|
java.lang.String |
getSearchDateTimeValue()
|
java.lang.String |
getSearchText()
Returns the text string used as the search criteria. |
java.util.Date |
getStartDateTime()
Returns the beginning date for a range of dates to be searched. |
java.lang.String |
getStartingPath()
Returns the currently viewed file path attribute. |
BaseRemoteFileSearch |
getViewer()
|
boolean |
isContentsChanged()
Tests whether the contents are changed. |
void |
setEndDateTime(java.util.Date endDate)
Sets the end date for a range of dates to be searched. |
void |
setEventSource(java.lang.Object eventSource)
Allows setting of the event source. |
void |
setRecursive(boolean recursive)
Sets whether to search subfolders recursively. |
void |
setRemoteModel(RemoteFileSearchModelInterface remoteModel)
Sets the model attribute value. |
void |
setSearchAttributes(RemoteFileSearchFieldsAttributes searchFieldsAttributes)
|
void |
setSearchContext(java.lang.String searchContext)
Sets the column value to search against. |
void |
setSearchDateTimeType(java.lang.String searchDateTimeType)
|
void |
setSearchDateTimeUnit(java.lang.String searchDateTimeUnit)
|
void |
setSearchDateTimeValue(java.lang.String searchDateTimeValue)
|
void |
setSearchText(java.lang.String searchText)
Sets the text string used as the search criteria. |
void |
setStartDateTime(java.util.Date startDate)
Sets the beginning date for a range of dates to be searched. |
void |
setStartingPath(java.lang.String startingPath)
Sets the currently viewed file path attribute. |
void |
setViewer(BaseRemoteFileSearch rfsSearch)
|
Methods inherited from class com.sas.commands.BaseCommand |
---|
getLocale, getName, getNextCommandName, getText, isExecutable, isUndoable, setLocale, setName, setText, undo |
Methods inherited from class com.sas.entities.BaseEntity |
---|
clone, containsAttributeNamed, equals, equals, getAttribute, getAttribute, getAttributeCount, getAttributes, getEntityKey, getPropertyDescriptors, getStringAttribute, listAttributeNames, removeAllAttributes, removeAttribute, reset, sameEntity, setAttribute, setAttributes, setEntityKey, toString |
Methods inherited from interface com.sas.entities.BaseEntityValueInterface |
---|
getAttribute, setAttribute |
Methods inherited from interface com.sas.util.Command |
---|
clone |
Field Detail |
---|
public static final java.lang.String RB_KEY
Constructor Detail |
---|
public HttpSearchCommand()
public HttpSearchCommand(java.lang.String name)
name
- the command nameMethod Detail |
---|
public void execute(java.lang.Object o)
execute
in interface com.sas.util.SimpleCommand
execute
in class BaseCommand
o
- the object where the command is executed.public void setViewer(BaseRemoteFileSearch rfsSearch)
public BaseRemoteFileSearch getViewer()
public void setSearchAttributes(RemoteFileSearchFieldsAttributes searchFieldsAttributes)
public RemoteFileSearchFieldsAttributes getSearchAttributes()
public void setSearchContext(java.lang.String searchContext)
searchContext
- the column valuegetSearchContext()
public java.lang.String getSearchContext()
setSearchContext(String)
public void setSearchText(java.lang.String searchText)
searchText
- the search stringgetSearchText()
public java.lang.String getSearchText()
setSearchText(String)
public void setStartingPath(java.lang.String startingPath)
path
- the current file pathgetStartingPath()
public java.lang.String getStartingPath()
setStartingPath(String)
public void setRecursive(boolean recursive)
recursive
- true = search subfolders, false = don't search subfoldersgetRecursive()
public boolean getRecursive()
setRecursive(boolean)
public void setStartDateTime(java.util.Date startDate)
startDate
- the starting date (inclusive)getStartDateTime()
public java.util.Date getStartDateTime()
setStartDateTime(Date)
public void setEndDateTime(java.util.Date endDate)
endDate
- the end date (inclusive)getEndDateTime()
public java.util.Date getEndDateTime()
setEndDateTime(Date)
public void setSearchDateTimeValue(java.lang.String searchDateTimeValue)
public java.lang.String getSearchDateTimeValue()
public void setSearchDateTimeUnit(java.lang.String searchDateTimeUnit)
public java.lang.String getSearchDateTimeUnit()
public void setSearchDateTimeType(java.lang.String searchDateTimeType)
public java.lang.String getSearchDateTimeType()
public void setRemoteModel(RemoteFileSearchModelInterface remoteModel)
model
- the model used by the commandgetRemoteModel()
public RemoteFileSearchModelInterface getRemoteModel()
setRemoteModel(com.sas.swing.models.remotefileselector2.RemoteFileSearchModelInterface)
public boolean isContentsChanged()
isContentsChanged
in interface ContentsChangedInterface
public java.util.HashMap getEventInfo()
getEventInfo
in interface ContentsChangedInterface
public java.lang.Object getEventSource()
getEventSource
in interface ContentsChangedInterface
setEventSource(Object)
public void setEventSource(java.lang.Object eventSource)
eventSource
- the item to set as the event sourcegetEventSource()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |