public abstract class BaseFileListEditCommand extends BasePersistOperation
| Modifier and Type | Field and Description |
|---|---|
protected FileList |
list |
protected java.lang.String |
newLabel |
user| Constructor and Description |
|---|
BaseFileListEditCommand(User userIn)
Construct a command with a User.
|
| Modifier and Type | Method and Description |
|---|---|
FileList |
getFileList()
Get the Filelist
|
java.lang.String |
getFileListString()
Convert the list of file names into a single String with \n
at the end of each name.
|
User |
getUser()
All PersistOperations must have a User object
who is performing the Operation.
|
void |
setLabel(java.lang.String labelIn)
Set the label on the list.
|
abstract ValidatorError |
store()
Store the FileList.
|
void |
updateFiles(java.lang.String listIn)
Parse the incoming list of files by newline.
|
protected FileList list
protected java.lang.String newLabel
public BaseFileListEditCommand(User userIn)
userIn - to use.public User getUser()
BasePersistOperationgetUser in interface PersistOperationgetUser in class BasePersistOperationpublic FileList getFileList()
public void setLabel(java.lang.String labelIn)
labelIn - to set.public abstract ValidatorError store()
public void updateFiles(java.lang.String listIn)
listIn - to parsepublic java.lang.String getFileListString()