org.alfresco.filesys.repo.rules.commands
Class ReturnValueCommand

java.lang.Object
  extended by org.alfresco.filesys.repo.rules.commands.ReturnValueCommand
All Implemented Interfaces:
Command

public class ReturnValueCommand
extends java.lang.Object
implements Command

Return a specified value to the executor


Constructor Summary
ReturnValueCommand(java.lang.Object returnValue)
           
 
Method Summary
 java.lang.Object getReturnValue()
           
 AlfrescoTransactionSupport.TxnReadState getTransactionRequired()
          Is a transaction required to run this command?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnValueCommand

public ReturnValueCommand(java.lang.Object returnValue)
Method Detail

getReturnValue

public java.lang.Object getReturnValue()

getTransactionRequired

public AlfrescoTransactionSupport.TxnReadState getTransactionRequired()
Description copied from interface: Command
Is a transaction required to run this command?

Specified by:
getTransactionRequired in interface Command


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.