org.alfresco.repo.jscript.app
Class GoogleDocsCustomResponse

java.lang.Object
  extended by org.alfresco.repo.jscript.app.GoogleDocsCustomResponse
All Implemented Interfaces:
CustomResponse, org.springframework.context.ApplicationContextAware

public class GoogleDocsCustomResponse
extends java.lang.Object
implements CustomResponse, org.springframework.context.ApplicationContextAware

Return current status of Google Docs subsystem


Constructor Summary
GoogleDocsCustomResponse()
           
 
Method Summary
 java.io.Serializable populate()
          Populates the DocLib webscript response with custom metadata
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleDocsCustomResponse

public GoogleDocsCustomResponse()
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

populate

public java.io.Serializable populate()
Populates the DocLib webscript response with custom metadata

Specified by:
populate in interface CustomResponse
Returns:
JSONObject or null


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