Class VtiServerCustomResponse

java.lang.Object
org.alfresco.repo.jscript.app.VtiServerCustomResponse
All Implemented Interfaces:
CustomResponse

public class VtiServerCustomResponse extends Object implements CustomResponse
Return current state of VTI (SharePoint) Server module
Author:
mikeh
  • Constructor Details

    • VtiServerCustomResponse

      public VtiServerCustomResponse()
  • Method Details

    • setScriptUtils

      public void setScriptUtils(ScriptUtils scriptUtils) throws org.springframework.beans.BeansException
      Throws:
      org.springframework.beans.BeansException
    • setSysAdminParams

      public void setSysAdminParams(SysAdminParams sysAdminParams)
      Setter for sysAdminParams
      Parameters:
      sysAdminParams - SysAdminParams
    • setPort

      public void setPort(int vtiServerPort)
      Setter for vtiServer Port
      Parameters:
      vtiServerPort - int
    • setHost

      public void setHost(String vtiServerHost)
      Setter for vtiServer Host
      Parameters:
      vtiServerHost - String
    • setProtocol

      public void setProtocol(String vtiServerProtocol)
      Setter for vtiServer Protocol
      Parameters:
      vtiServerProtocol - String
    • setContextPath

      public void setContextPath(String contextPath)
      Setter for the vtiServer (external) context path.
      Parameters:
      contextPath - String
    • populate

      public Serializable populate()
      Populates the CustomResponse with the vti metadata
      Specified by:
      populate in interface CustomResponse
      Returns:
      JSONObject or null if the vti module is not installed.