public class IfsDoesPublicObjectExistByIdCommand extends IfsCommand
Command specification for IfsDoesPublicObjectExistByIdCommand
Inputs:
Constructor and Description |
---|
IfsDoesPublicObjectExistByIdCommand()
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(DoesPublicObjectExistByIdContext context)
Execute a DoesPublicObjectExistByIdContext.
|
protected IfsFindPublicObjectByIdCommand |
getFindPOByIdCommand()
Return an instance of the IfsFindPublicObjectByIdCommand.
|
void |
populateNestedCommands(CommandInvoker invoker)
Populate the required nested commands.
|
protected PublicObject |
runFindPOByIdCommand(LibrarySession session,
Long id)
Execute an IfsFindPublicObjectByIdCommand.
|
postExecute, preExecute, run
public IfsDoesPublicObjectExistByIdCommand()
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(DoesPublicObjectExistByIdContext 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 runFindPOByIdCommand(LibrarySession session, Long id) throws IfsException
IfsException
IfsFindPublicObjectByIdCommand
protected IfsFindPublicObjectByIdCommand getFindPOByIdCommand() throws IfsException
IfsException
Copyright © 2023. All rights reserved.