public class IfsShowAllPathsContext extends IfsCommandContext implements ShowAllPathsContext
Constructor and Description |
---|
IfsShowAllPathsContext()
Default Constructor.
|
IfsShowAllPathsContext(LibrarySession session,
LibraryObject obj)
Constructor which sets up all the required parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the Context.
|
String[] |
getAllPaths()
Gets all folder paths to the target object starting from the
root folder.
|
LibraryObject |
getLibraryObject()
Gets the target object.
|
LibrarySession |
getLibrarySession()
Gets the LibrarySession.
|
void |
setAllPaths(String[] paths)
Sets the string array of folder paths.
|
void |
setLibraryObject(LibraryObject lo)
Sets the target object.
|
void |
setLibrarySession(LibrarySession session)
Sets the LibrarySession.
|
public IfsShowAllPathsContext() throws IfsException
IfsException
- if the operation failspublic IfsShowAllPathsContext(LibrarySession session, LibraryObject obj) throws IfsException
session
- LibrarySession instance to execute the commandIfsException
- if the operation failspublic void clear()
clear
in interface ShowAllPathsContext
clear
in interface CommandContext
clear
in class IfsCommandContext
public LibrarySession getLibrarySession() throws IfsException
getLibrarySession
in interface ShowAllPathsContext
IfsException
- if the operation failspublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession
in interface ShowAllPathsContext
session
- instance of LibrarySession to be used in this command contextIfsException
- if the operation failspublic String[] getAllPaths() throws IfsException
getAllPaths
in interface ShowAllPathsContext
IfsException
- if the operation failspublic void setAllPaths(String[] paths) throws IfsException
setAllPaths
in interface ShowAllPathsContext
IfsException
- if the operation failspublic LibraryObject getLibraryObject() throws IfsException
getLibraryObject
in interface ShowAllPathsContext
IfsException
- if the operation fails.public void setLibraryObject(LibraryObject lo) throws IfsException
setLibraryObject
in interface ShowAllPathsContext
lo
- the LibraryObjectIfsException
- if the operation fails.Copyright © 2023. All rights reserved.