站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

FileUpdateCommand - JBOSS Portal 2.2 API 英文版文档


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

java.lang.Object
  extended byorg.jboss.portal.cms.impl.jcr.JCRCommand
      extended byorg.jboss.portal.cms.impl.jcr.FileUpdateCommand
All Implemented Interfaces:
Command

public class FileUpdateCommand
extends JCRCommand


Constructor Summary
FileUpdateCommand(File file)
          Updates a given file content in the repo, creating a new version.
 
Method Summary
 java.lang.Object execute(JCRCommandContext context)
           
 
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(JCRCommandContext context)
Specified by:
execute in class JCRCommand