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