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, runpublic IfsDoesPublicObjectExistByIdCommand()
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(DoesPublicObjectExistByIdContext context) throws IfsException
context - The command context.IfsExceptionpublic CommandContext createCommandContext() throws IfsException
createCommandContext in interface CommandcreateCommandContext in class IfsCommandIfsExceptionCommandContextprotected PublicObject runFindPOByIdCommand(LibrarySession session, Long id) throws IfsException
IfsExceptionIfsFindPublicObjectByIdCommandprotected IfsFindPublicObjectByIdCommand getFindPOByIdCommand() throws IfsException
IfsExceptionCopyright © 2025. All rights reserved.