Class CompoundCommand
- java.lang.Object
-
- org.alfresco.filesys.repo.rules.commands.CompoundCommand
-
-
Constructor Summary
Constructors Constructor Description CompoundCommand(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Command>getCommands()List<Command>getPostCommitCommands()List<Command>getPostErrorCommands()AlfrescoTransactionSupport.TxnReadStategetTransactionRequired()Is a transaction required to run this command?
-
-
-
Constructor Detail
-
CompoundCommand
public CompoundCommand(List<Command> commands)
New Compound Command containing the specified commands.- Parameters:
commands-
-
CompoundCommand
public CompoundCommand(List<Command> commands, List<Command> postCommitCommands)
New Compound Command containing the specified commands.- Parameters:
commands-
-
-
Method Detail
-
getTransactionRequired
public AlfrescoTransactionSupport.TxnReadState getTransactionRequired()
Description copied from interface:CommandIs a transaction required to run this command?- Specified by:
getTransactionRequiredin interfaceCommand
-
-