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, runpublic IfsCancelCheckOutCommand()
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(CancelCheckOutContext context) throws IfsException
context - The command context.IfsExceptionpublic CommandContext createCommandContext() throws IfsException
createCommandContext in interface CommandcreateCommandContext in class IfsCommandIfsExceptionCommandContextprotected DirectoryUser runCheckedOutByCommand(LibrarySession session, VersionSeries vs) throws IfsException
IfsExceptionIfsCheckedOutByCommandprotected IfsCheckedOutByCommand getCheckedOutByCommand() throws IfsException
IfsExceptionprotected DirectoryUser runGetCurrentUserCommand(LibrarySession session) throws IfsException
IfsExceptionIfsGetCurrentUserCommandprotected IfsGetCurrentUserCommand getGetCurrentUserCommand() throws IfsException
IfsExceptionCopyright © 2025. All rights reserved.