|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.commands.relational.DeleteCommand
public class DeleteCommand
This class implements the delete command.
| Field Summary |
|---|
| Fields inherited from interface com.sas.commands.DynamicAttributeCommandInterface |
|---|
COMMAND_NAME_PREFIX |
| Constructor Summary | |
|---|---|
DeleteCommand()
Default constructor |
|
DeleteCommand(java.lang.String name)
Constructor that accepts a command name |
|
DeleteCommand(java.lang.String name,
java.lang.String actionClass)
Constructor that accepts a command name and an action class type |
|
| Method Summary | |
|---|---|
void |
execute(java.lang.Object o)
This method implements the execute method on the CommandInterface, which is not implemented by the abstract BaseCommand class. |
java.lang.String |
getSelectedRows()
Gets the string containing the names of the component used to depict row selection. |
protected java.util.Map |
getSelectedRowsNameValuePairs()
This method get a map containing all the name/value pairs of the selected rows on the EditNavigationInterface implementor. |
boolean |
isSupported(ActionSupportFilter actionFilter)
Returns a boolean indicating whether the command is supported for the area specified on the ActionSupportFilter argument. |
void |
setSelectedRows(java.lang.String rows)
Sets the string containing the names of the component used to depict row selection. |
| Methods inherited from class com.sas.commands.relational.BaseEditCommand |
|---|
getChangedCells, getModel, getRow, setChangedCells, setModel, setRow |
| 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 DeleteCommand()
public DeleteCommand(java.lang.String name)
name - the name of this command
public DeleteCommand(java.lang.String name,
java.lang.String actionClass)
name - the name of this commandactionClass - the name of the action class for this command| Method Detail |
|---|
public void execute(java.lang.Object o)
execute in interface com.sas.util.SimpleCommandexecute in class BaseCommandout - The output stream to which the results of this command should be written.public boolean isSupported(ActionSupportFilter actionFilter)
isSupported in interface CommandSupportedInterfaceisSupported in class BaseEditCommandactionFilter - The object that describes the current area.
BaseAction.setReturnStatus(int)public void setSelectedRows(java.lang.String rows)
rows - the names of the rows to be deletedTableViewpublic java.lang.String getSelectedRows()
TableViewprotected java.util.Map getSelectedRowsNameValuePairs()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||