Class CompoundCommand
java.lang.Object
org.alfresco.filesys.repo.rules.commands.CompoundCommand
- All Implemented Interfaces:
Command
A compound operation contains one or more other commands.
-
Constructor Summary
ConstructorsConstructorDescriptionCompoundCommand(List<Command> commands) New Compound Command containing the specified commands.CompoundCommand(List<Command> commands, List<Command> postCommitCommands) New Compound Command containing the specified commands.CompoundCommand(List<Command> commands, List<Command> postCommitCommands, List<Command> postErrorCommands) -
Method Summary
Modifier and TypeMethodDescriptionIs a transaction required to run this command?
-
Constructor Details
-
CompoundCommand
New Compound Command containing the specified commands.- Parameters:
commands-
-
CompoundCommand
New Compound Command containing the specified commands.- Parameters:
commands-
-
CompoundCommand
-
-
Method Details
-
getCommands
-
getPostCommitCommands
-
getPostErrorCommands
-
getTransactionRequired
Description copied from interface:CommandIs a transaction required to run this command?- Specified by:
getTransactionRequiredin interfaceCommand
-