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, run
public IfsDoesPublicObjectExistByPathCommand()
public void populateNestedCommands(CommandInvoker invoker) throws IfsException
populateNestedCommands
in interface Command
populateNestedCommands
in class IfsCommand
invoker
- Command invoker object.IfsException
- If there is any exception thrown.CommandInvoker
protected void execute(CommandContext context) throws IfsException
execute
in class IfsCommand
context
- The command context.IfsException
- if execution failsprotected void execute(DoesPublicObjectExistByPathContext context) throws IfsException
context
- The command context.IfsException
public CommandContext createCommandContext() throws IfsException
createCommandContext
in interface Command
createCommandContext
in class IfsCommand
IfsException
CommandContext
protected PublicObject runFindPOByPathCommand(LibrarySession session, String path, FolderPathResolver fpr) throws IfsException
IfsException
IfsFindPublicObjectByPathCommand
protected IfsFindPublicObjectByPathCommand getFindPOByPathCommand() throws IfsException
IfsException
Copyright © 2023. All rights reserved.