public class IfsCancelCheckOutCommand extends IfsCommand
Command specification for IfsCancelCheckOutCommand
Inputs:
PendingPublicObject
will be deleted if it exists.
Constructor and Description |
---|
IfsCancelCheckOutCommand()
Defualt Constructor
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
createCommandContext()
Returns a CommandContext to be used throughout the invocation.
|
protected void |
execute(CancelCheckOutContext context)
Execute a CancelCheckOutContext.
|
protected void |
execute(CommandContext context)
Execute a CommandContext.
|
protected IfsCheckedOutByCommand |
getCheckedOutByCommand()
Return an instance of the IfsCheckedOutByCommand.
|
protected IfsGetCurrentUserCommand |
getGetCurrentUserCommand()
Return an instance of the IfsGetCurrentUserCommand.
|
void |
populateNestedCommands(CommandInvoker invoker)
Populate the required nested commands.
|
protected DirectoryUser |
runCheckedOutByCommand(LibrarySession session,
VersionSeries vs)
Execute an IfsCheckedOutByCommand.
|
protected DirectoryUser |
runGetCurrentUserCommand(LibrarySession session)
Execute an IfsGetCurrentUserCommand.
|
postExecute, preExecute, run
public IfsCancelCheckOutCommand()
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(CancelCheckOutContext context) throws IfsException
context
- The command context.IfsException
public CommandContext createCommandContext() throws IfsException
createCommandContext
in interface Command
createCommandContext
in class IfsCommand
IfsException
CommandContext
protected DirectoryUser runCheckedOutByCommand(LibrarySession session, VersionSeries vs) throws IfsException
IfsException
IfsCheckedOutByCommand
protected IfsCheckedOutByCommand getCheckedOutByCommand() throws IfsException
IfsException
protected DirectoryUser runGetCurrentUserCommand(LibrarySession session) throws IfsException
IfsException
IfsGetCurrentUserCommand
protected IfsGetCurrentUserCommand getGetCurrentUserCommand() throws IfsException
IfsException
Copyright © 2023. All rights reserved.