public class IfsRemoveFolderRelationshipContext extends IfsCommandContext implements RemoveFolderRelationshipContext
Constructor and Description |
---|
IfsRemoveFolderRelationshipContext()
Default Constructor.
|
IfsRemoveFolderRelationshipContext(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 IfsRemoveFolderRelationshipContext() throws IfsException
IfsException
- if the operation failspublic IfsRemoveFolderRelationshipContext(LibrarySession session, Folder folder, PublicObject publicObject) throws IfsException
session
- LibrarySession instance to execute the commandfolder
- instance of folder from which reference needs to be removedpublicObject
- instance of PublicObject that needs to be removed from folderIfsException
- if the operation failspublic void clear()
clear
in interface RemoveFolderRelationshipContext
clear
in interface CommandContext
clear
in class IfsCommandContext
public Folder getFolder() throws IfsException
getFolder
in interface RemoveFolderRelationshipContext
IfsException
- if the operation failspublic void setFolder(Folder folder) throws IfsException
setFolder
in interface RemoveFolderRelationshipContext
folder
- referencing folderIfsException
- if the operation failspublic PublicObject getPublicObject() throws IfsException
getPublicObject
in interface RemoveFolderRelationshipContext
IfsException
- if the operation failspublic void setPublicObject(PublicObject publicObject) throws IfsException
setPublicObject
in interface RemoveFolderRelationshipContext
publicObject
- instance of PublicObject to be used in this contextIfsException
- if the operation failspublic LibrarySession getLibrarySession() throws IfsException
getLibrarySession
in interface RemoveFolderRelationshipContext
IfsException
- if the operation failspublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession
in interface RemoveFolderRelationshipContext
session
- instance of LibrarySession to be used in this command contextIfsException
- if the operation failsCopyright © 2023. All rights reserved.