public class IfsAddFolderRelationshipContext extends IfsCommandContext implements AddFolderRelationshipContext
Constructor and Description |
---|
IfsAddFolderRelationshipContext()
Default Constructor.
|
IfsAddFolderRelationshipContext(LibrarySession session,
Folder folder,
PublicObject publicObject)
Constructor which sets up all the required parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the Context.
|
Folder |
getFolder()
Gets the Folder.
|
LibrarySession |
getLibrarySession()
Gets the LibrarySession.
|
PublicObject |
getPublicObject()
Gets the PublicObject.
|
void |
setFolder(Folder folder)
Sets the Folder.
|
void |
setLibrarySession(LibrarySession session)
Sets the LibrarySession.
|
void |
setPublicObject(PublicObject publicObject)
Sets the PublicObject.
|
public IfsAddFolderRelationshipContext() throws IfsException
IfsException
- if the operation failspublic IfsAddFolderRelationshipContext(LibrarySession session, Folder folder, PublicObject publicObject) throws IfsException
session
- LibrarySession instance to execute the commandfolder
- the destination folderpublicObject
- instance of PublicObject that needs to be added to the folderIfsException
- ifs the operation failspublic void clear()
clear
in interface CommandContext
clear
in class IfsCommandContext
public Folder getFolder() throws IfsException
getFolder
in interface AddFolderRelationshipContext
IfsException
- if the operation failspublic void setFolder(Folder folder) throws IfsException
setFolder
in interface AddFolderRelationshipContext
folder
- destination folderIfsException
- if the operation failspublic PublicObject getPublicObject() throws IfsException
getPublicObject
in interface AddFolderRelationshipContext
IfsException
- if the operation failspublic void setPublicObject(PublicObject publicObject) throws IfsException
setPublicObject
in interface AddFolderRelationshipContext
publicObject
- instance of PublicObject to be used in this contextIfsException
- if the operation failspublic LibrarySession getLibrarySession() throws IfsException
getLibrarySession
in interface AddFolderRelationshipContext
IfsException
- if the operation failspublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession
in interface AddFolderRelationshipContext
session
- instance of LibrarySession to be used in this command contextIfsException
- if the operation failsCopyright © 2023. All rights reserved.