public class IfsDeleteLibraryObjectContext extends IfsCommandContext implements DeleteLibraryObjectContext
Command specification for IfsDeleteLibraryObjectCommand
Inputs:
Constructor and Description |
---|
IfsDeleteLibraryObjectContext()
Default Constructor.
|
IfsDeleteLibraryObjectContext(LibrarySession session,
LibraryObject lo,
LibraryObjectDefinition loDef)
Constructor which sets up all the required parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the Context.
|
LibraryObject |
getLibraryObject()
Gets the LibraryObject.
|
LibraryObjectDefinition |
getLibraryObjectDefinition()
Gets the LibraryObjectDefinition.
|
String |
getLibraryObjectPath()
Gets the absolute path to the LibraryObject.
|
LibrarySession |
getLibrarySession()
Gets the LibrarySession.
|
void |
setLibraryObject(LibraryObject lo)
Sets the LibraryObject.
|
void |
setLibraryObjectDefinition(LibraryObjectDefinition loDef)
Sets the LibraryObjectDefinition.
|
void |
setLibraryObjectPath(String path)
Sets the absolute path to the LibraryObject.
|
void |
setLibrarySession(LibrarySession session)
Sets the LibrarySession.
|
public IfsDeleteLibraryObjectContext() throws IfsException
IfsException
- if the operation failspublic IfsDeleteLibraryObjectContext(LibrarySession session, LibraryObject lo, LibraryObjectDefinition loDef) throws IfsException
session
- LibrarySession instance to execute the commandlo
- instance of LibraryObject that needs to be removedloDef
- LibraryObjectDefinition that may carry the options to be used with deleteIfsException
- if the operation failspublic void clear()
clear
in interface DeleteLibraryObjectContext
clear
in interface CommandContext
clear
in class IfsCommandContext
public LibraryObject getLibraryObject() throws IfsException
getLibraryObject
in interface DeleteLibraryObjectContext
IfsException
- if the operation failspublic void setLibraryObject(LibraryObject lo) throws IfsException
setLibraryObject
in interface DeleteLibraryObjectContext
lo
- LibraryObject for this contextIfsException
- if the operation failspublic LibraryObjectDefinition getLibraryObjectDefinition() throws IfsException
getLibraryObjectDefinition
in interface DeleteLibraryObjectContext
IfsException
- if the operation failspublic void setLibraryObjectDefinition(LibraryObjectDefinition loDef) throws IfsException
setLibraryObjectDefinition
in interface DeleteLibraryObjectContext
loDef
- LibraryObjectDefinition to be used in this contextIfsException
- if the operation failspublic LibrarySession getLibrarySession() throws IfsException
getLibrarySession
in interface DeleteLibraryObjectContext
IfsException
- if the operation failspublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession
in interface DeleteLibraryObjectContext
session
- instance of LibrarySession to be used in this command contextIfsException
- if the operation failspublic void setLibraryObjectPath(String path) throws IfsException
setLibraryObjectPath
in interface DeleteLibraryObjectContext
path
- absolute pathIfsException
- if the operation failspublic String getLibraryObjectPath() throws IfsException
getLibraryObjectPath
in interface DeleteLibraryObjectContext
IfsException
- if the operation failsCopyright © 2023. All rights reserved.