public class IfsMvContext extends IfsCommandContext implements MvContext
Command specification for IfsMvCommand Inputs :
| Constructor and Description |
|---|
IfsMvContext()
Default constructor.
|
IfsMvContext(LibrarySession session,
PublicObject po,
Folder source,
Folder destination,
String newName)
Constructor that takes all parameters.
|
| 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.
|
public IfsMvContext()
throws IfsException
IfsException - if the operation fails.public IfsMvContext(LibrarySession session, PublicObject po, Folder source, Folder destination, String newName) throws IfsException
session - instance of LibrarySessionpo - Public Object for this commandsource - source folderdestination - destination foldernewName - new name of the public objectIfsException - if the operation fails.public void clear()
clear in interface MvContextclear in interface CommandContextclear in class IfsCommandContextpublic PublicObject getPublicObject() throws IfsException
getPublicObject in interface MvContextIfsException - if the operation failspublic void setPublicObject(PublicObject po) throws IfsException
setPublicObject in interface MvContextpo - public object for this contextIfsException - if the operation failspublic Folder getSourceFolder() throws IfsException
getSourceFolder in interface MvContextIfsException - if the operation failspublic void setSourceFolder(Folder source) throws IfsException
setSourceFolder in interface MvContextsource - source folder of the public objectIfsException - if the operation failspublic Folder getDestinationFolder() throws IfsException
getDestinationFolder in interface MvContextIfsException - if the operation failspublic void setDestinationFolder(Folder destination) throws IfsException
setDestinationFolder in interface MvContextdestination - destination folder for the public objectIfsException - if the operation failspublic String getNewName() throws IfsException
getNewName in interface MvContextIfsException - if the operation failspublic void setNewName(String name) throws IfsException
setNewName in interface MvContextname - new name for the public objectIfsException - if the operation failspublic LibrarySession getLibrarySession() throws IfsException
getLibrarySession in interface MvContextIfsException - if the operation failspublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession in interface MvContextsession - instance of LibrarySession to be used in this command contextIfsException - if the operation failsCopyright © 2025. All rights reserved.