当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
FileUpdateCommand - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.cms.impl.jcr.command
Class FileUpdateCommand
java.lang.Object
org.jboss.portal.common.invocation.Invocation
org.jboss.portal.cms.Command
org.jboss.portal.cms.impl.jcr.JCRCommand
org.jboss.portal.cms.impl.jcr.command.FileUpdateCommand
- All Implemented Interfaces:
- java.io.Serializable
- public class FileUpdateCommand
- extends JCRCommand
- Author:
- Roy Russo
- See Also:
- Serialized Form
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- The serialVersionUID
- See Also:
- Constant Field Values
mFile
File mFile
bMakeLive
boolean bMakeLive
FileUpdateCommand
public FileUpdateCommand(File file)
- Updates a given file content in the repo, creating a new version.
- Parameters:
file
- File obj to update
execute
public java.lang.Object execute()
- Specified by:
execute
in class JCRCommand