|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.commands.remotefileselector2.DisplaySearchResultsCommand
public class DisplaySearchResultsCommand
This command is used to change the mode to search. This is used by the RemoteFileSelector component so that the search view is displayed with the latest search results.
| Field Summary |
|---|
| Fields inherited from interface com.sas.commands.DynamicAttributeCommandInterface |
|---|
COMMAND_NAME_PREFIX |
| Constructor Summary | |
|---|---|
DisplaySearchResultsCommand()
Default constructor |
|
DisplaySearchResultsCommand(java.lang.String name)
Constructor that accepts a command name |
|
| Method Summary | |
|---|---|
void |
execute(java.lang.Object arg0)
Executes this command. |
java.util.HashMap |
getEventInfo()
Returns a Map of event keys to event values. |
java.lang.Object |
getEventSource()
Returns the target of this command which is the implicit source of the Event that will be fired due to the changed state of the target. |
BaseRemoteFileModelInterface |
getModel()
Returns model to use for eventSource setting. |
boolean |
isContentsChanged()
Return a boolean indicating whether the operation carried out during the command's last execution caused the command's target object to change. |
void |
setEventSource(java.lang.Object eventSource)
Set the source impacted by the commands execution. |
void |
setModel(BaseRemoteFileModelInterface model)
Model of RemoteFileSelector instance. |
| 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 |
| Constructor Detail |
|---|
public DisplaySearchResultsCommand()
public DisplaySearchResultsCommand(java.lang.String name)
name - the command name| Method Detail |
|---|
public void execute(java.lang.Object arg0)
BaseCommand
execute in interface com.sas.util.SimpleCommandexecute in class BaseCommandarg0 - The output stream to which the results of this command should be written.public boolean isContentsChanged()
ContentsChangedInterface
isContentsChanged in interface ContentsChangedInterfacepublic java.util.HashMap getEventInfo()
ContentsChangedInterfaceThe keys and values on the map are dependent on the command and the type of target object that it operates on.
getEventInfo in interface ContentsChangedInterfacepublic java.lang.Object getEventSource()
ContentsChangedInterface
getEventSource in interface ContentsChangedInterfacepublic void setEventSource(java.lang.Object eventSource)
eventSource - model used to identify which
instance is impacted by the execution of this
commandpublic void setModel(BaseRemoteFileModelInterface model)
model - RemoteFileServerInterface instancepublic BaseRemoteFileModelInterface getModel()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||