public class IfsDoesPublicObjectExistByPathCommand extends IfsCommand
Command specification for IfsDoesPublicObjectExistByPathCommand
Inputs:
fpr is specified, relative path can be specified,
and relative path search will start with the current path
specified in fpr.
fpr is not specified, only absolte path can
be specified.| Constructor and Description |
|---|
IfsDoesPublicObjectExistByPathCommand()
Defualt Constructor
|
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
createCommandContext()
Returns a CommandContext to be used throughout the invocation.
|
protected void |
execute(CommandContext context)
Execute a CommandContext.
|
protected void |
execute(DoesPublicObjectExistByPathContext context)
Execute a DoesPublicObjectExistByPathContext.
|
protected IfsFindPublicObjectByPathCommand |
getFindPOByPathCommand()
Return an instance of the IfsFindPublicObjectByPathCommand.
|
void |
populateNestedCommands(CommandInvoker invoker)
Populate the required nested commands.
|
protected PublicObject |
runFindPOByPathCommand(LibrarySession session,
String path,
FolderPathResolver fpr)
Execute an IfsFindPublicObjectByPathCommand.
|
postExecute, preExecute, runpublic IfsDoesPublicObjectExistByPathCommand()
public void populateNestedCommands(CommandInvoker invoker) throws IfsException
populateNestedCommands in interface CommandpopulateNestedCommands in class IfsCommandinvoker - Command invoker object.IfsException - If there is any exception thrown.CommandInvokerprotected void execute(CommandContext context) throws IfsException
execute in class IfsCommandcontext - The command context.IfsException - if execution failsprotected void execute(DoesPublicObjectExistByPathContext context) throws IfsException
context - The command context.IfsExceptionpublic CommandContext createCommandContext() throws IfsException
createCommandContext in interface CommandcreateCommandContext in class IfsCommandIfsExceptionCommandContextprotected PublicObject runFindPOByPathCommand(LibrarySession session, String path, FolderPathResolver fpr) throws IfsException
IfsExceptionIfsFindPublicObjectByPathCommandprotected IfsFindPublicObjectByPathCommand getFindPOByPathCommand() throws IfsException
IfsExceptionCopyright © 2025. All rights reserved.