org.alfresco.web.bean.ajax
Class ContentUpdateBean

java.lang.Object
  extended by org.alfresco.web.bean.ajax.ContentUpdateBean
All Implemented Interfaces:
java.io.Serializable

public class ContentUpdateBean
extends java.lang.Object
implements java.io.Serializable

Bean managing the ajax servlet upload of a multi-part form containing file content to replace the content of a node within the repository.

See Also:
Serialized Form

Constructor Summary
ContentUpdateBean()
           
 
Method Summary
 void updateFile()
          Ajax method to update file content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentUpdateBean

public ContentUpdateBean()
Method Detail

updateFile

public void updateFile()
                throws java.lang.Exception
Ajax method to update file content. A multi-part form is required as the input. "return-page" = javascript to execute on return from the upload request "nodeRef" = the nodeRef of the item to update the content of

Throws:
java.lang.Exception


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