org.jboss.portal.cms.impl.jcr.command
Class FileUpdateCommand

java.lang.Object
  extended byorg.jboss.portal.common.invocation.Invocation
      extended byorg.jboss.portal.cms.Command
          extended byorg.jboss.portal.cms.impl.jcr.JCRCommand
              extended byorg.jboss.portal.cms.impl.jcr.command.FileUpdateCommand
All Implemented Interfaces:
java.io.Serializable

public class FileUpdateCommand
extends JCRCommand

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.portal.cms.impl.jcr.JCRCommand
context, JCR_COMMANDFATORY_ATTRIBUTE, JCR_LOCALE_ATTRIBUTE, JCR_SESSION_ATTRIBUTE
 
Constructor Summary
FileUpdateCommand(File file)
          Updates a given file content in the repo, creating a new version.
 
Method Summary
 java.lang.Object execute()
           
 
Methods inherited from class org.jboss.portal.cms.impl.jcr.JCRCommand
dispatch, getContext, getResult, setContext, setResult
 
Methods inherited from class org.jboss.portal.common.invocation.Invocation
getAttribute, invoke, invokeNext, removeAttribute, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUpdateCommand

public FileUpdateCommand(File file)
Updates a given file content in the repo, creating a new version.

Parameters:
file - File obj to update
Method Detail

execute

public java.lang.Object execute()
Specified by:
execute in class JCRCommand