public interface MvContext extends CommandContext
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the Context.
|
Folder |
getDestinationFolder()
Gets the destination folder of the public object.
|
LibrarySession |
getLibrarySession()
Gets the LibrarySession.
|
String |
getNewName()
Gets the new name of the public object.
|
PublicObject |
getPublicObject()
Gets the public object which needs to be moved.
|
Folder |
getSourceFolder()
Gets the source folder of the public object.
|
void |
setDestinationFolder(Folder destination)
Sets the destination folder of this context.
|
void |
setLibrarySession(LibrarySession session)
Sets the LibrarySession.
|
void |
setNewName(String name)
Sets the new name of the public object.
|
void |
setPublicObject(PublicObject po)
Sets the public object that needs to be moved.
|
void |
setSourceFolder(Folder source)
Sets the source folder of this context.
|
void clear()
clear
in interface CommandContext
PublicObject getPublicObject() throws IfsException
IfsException
- if the operation failsvoid setPublicObject(PublicObject po) throws IfsException
po
- public object for this contextIfsException
- if the operation failsFolder getSourceFolder() throws IfsException
IfsException
- if the operation failsvoid setSourceFolder(Folder source) throws IfsException
source
- source folder of the public objectIfsException
- if the operation failsFolder getDestinationFolder() throws IfsException
IfsException
- if the operation failsvoid setDestinationFolder(Folder destination) throws IfsException
destination
- destination folder for the public objectIfsException
- if the operation failsString getNewName() throws IfsException
IfsException
- if the operation failsvoid setNewName(String name) throws IfsException
name
- new name for the public objectIfsException
- if the operation failsLibrarySession getLibrarySession() throws IfsException
IfsException
- if the operation failsvoid setLibrarySession(LibrarySession session) throws IfsException
session
- instance of LibrarySession to be used in this command contextIfsException
- if the operation failsCopyright © 2023. All rights reserved.