|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
java.lang.Object
|
+--com.sas.entities.BaseEntity
|
+--com.sas.commands.BaseCommand
|
+--com.sas.commands.remotefileselector.informationservices.AddFolderCommand
This class implements the add new folder command.
| Field Summary | |
static String |
RB_KEY
the resource key |
| Fields inherited from interface com.sas.commands.DynamicAttributeCommandInterface |
COMMAND_NAME_PREFIX |
| Constructor Summary | |
AddFolderCommand()
Default constructor |
|
AddFolderCommand(String name)
Constructor that accepts a command name. |
|
AddFolderCommand(String name,
String actionClass)
Constructor that accepts a command name and an action class type. |
|
| Method Summary | |
void |
execute(Object o)
Performs the add folder operation on the model. |
HashMap |
getEventInfo()
Returns information about the command. |
Object |
getEventSource()
Returns the event source item "path". |
RemoteFileServerModelInterface |
getModel()
Returns the current value of the model attribute. |
String |
getNewName()
Returns the new folder's name. |
String |
getPath()
Returns the current path attribute value. |
InformationServicesModel |
getServiceModel()
Returns the current serviceModel attribute value. |
boolean |
isContentsChanged()
Tests whether the contents are changed. |
boolean |
isSupported(ActionSupportFilter actionFilter)
Returns a boolean indicating whether the command is supported for the area specified on the ActionSupportFilter argument. |
void |
setEventSource(Object eventSource)
Allows setting of the event source. |
void |
setModel(RemoteFileServerModelInterface model)
Sets the model attribute value of the command. |
void |
setNewName(String newName)
Sets the new folder name. |
void |
setPath(String path)
Sets the path attribute for the command. |
void |
setServiceModel(InformationServicesModel serviceModel)
Sets the serviceModel attribute used by the command. |
| 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 class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sas.entities.BaseEntityValueInterface |
getAttribute, setAttribute |
| Methods inherited from interface com.sas.util.Command |
clone |
| Field Detail |
public static final String RB_KEY
| Constructor Detail |
public AddFolderCommand()
public AddFolderCommand(String name)
name - the command name
public AddFolderCommand(String name,
String actionClass)
name - the command nameactionClass - the action class type| Method Detail |
public void execute(Object o)
execute in class BaseCommando - the object where the command is executed.public boolean isContentsChanged()
isContentsChanged in interface ContentsChangedInterfacepublic HashMap getEventInfo()
getEventInfo in interface ContentsChangedInterfacepublic Object getEventSource()
getEventSource in interface ContentsChangedInterfacesetEventSource(Object)public void setEventSource(Object eventSource)
eventSource - the item to set as the event sourcegetEventSource()public boolean isSupported(ActionSupportFilter actionFilter)
actionFilter - The object that describes the current area.public void setServiceModel(InformationServicesModel serviceModel)
serviceModel - the service model objectgetServiceModel()public InformationServicesModel getServiceModel()
setServiceModel(InformationServicesModel)public void setPath(String path)
path - the file system pathgetPath()public String getPath()
setPath(String)public void setNewName(String newName)
newName - the new folder namegetNewName()public String getNewName()
setNewName(String)public void setModel(RemoteFileServerModelInterface model)
model - the model objectgetModel()public RemoteFileServerModelInterface getModel()
setModel(RemoteFileServerModelInterface)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||