public class IfsCheckInCommand extends IfsCommand
Command specification for IfsCheckInCommand
Inputs:
PendingPublicObject
, a new version
will be created in the vs
with the
PendingPublicObject
.
PendingPublicObject
, a new version
will be created with the content of the last version.Constructor and Description |
---|
IfsCheckInCommand()
Defualt Constructor
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
createCommandContext()
Returns a CommandContext to be used throughout the invocation.
|
protected void |
execute(CheckInContext context)
Execute a CheckInContext.
|
protected void |
execute(CommandContext context)
Execute a CommandContext.
|
protected IfsIsCheckedOutCommand |
getIsCheckedOutCommand()
Return an instance of the IfsIsCheckedOutCommand.
|
void |
populateNestedCommands(CommandInvoker invoker)
Populate the required nested commands.
|
protected boolean |
runIsCheckedOutCommand(LibrarySession session,
VersionSeries vs)
Execute an IfsIsCheckedOutCommand.
|
postExecute, preExecute, run
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(CheckInContext context) throws IfsException
context
- The command context.IfsException
public CommandContext createCommandContext() throws IfsException
createCommandContext
in interface Command
createCommandContext
in class IfsCommand
IfsException
CommandContext
protected boolean runIsCheckedOutCommand(LibrarySession session, VersionSeries vs) throws IfsException
IfsException
IfsIsCheckedOutCommand
protected IfsIsCheckedOutCommand getIsCheckedOutCommand() throws IfsException
IfsException
Copyright © 2023. All rights reserved.