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 CommandContextclear in class IfsCommandContextpublic Folder getFolder() throws IfsException
getFolder in interface AddFolderRelationshipContextIfsException - if the operation failspublic void setFolder(Folder folder) throws IfsException
setFolder in interface AddFolderRelationshipContextfolder - destination folderIfsException - if the operation failspublic PublicObject getPublicObject() throws IfsException
getPublicObject in interface AddFolderRelationshipContextIfsException - if the operation failspublic void setPublicObject(PublicObject publicObject) throws IfsException
setPublicObject in interface AddFolderRelationshipContextpublicObject - instance of PublicObject to be used in this contextIfsException - if the operation failspublic LibrarySession getLibrarySession() throws IfsException
getLibrarySession in interface AddFolderRelationshipContextIfsException - if the operation failspublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession in interface AddFolderRelationshipContextsession - instance of LibrarySession to be used in this command contextIfsException - if the operation failsCopyright © 2025. All rights reserved.