Package org.alfresco.repo.jscript.app
Class VtiServerCustomResponse
- java.lang.Object
-
- org.alfresco.repo.jscript.app.VtiServerCustomResponse
-
- All Implemented Interfaces:
CustomResponse
public class VtiServerCustomResponse extends java.lang.Object implements CustomResponse
Return current state of VTI (SharePoint) Server module- Author:
- mikeh
-
-
Constructor Summary
Constructors Constructor Description VtiServerCustomResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.Serializablepopulate()Populates the CustomResponse with the vti metadatavoidsetContextPath(java.lang.String contextPath)Setter for the vtiServer (external) context path.voidsetHost(java.lang.String vtiServerHost)Setter for vtiServer HostvoidsetPort(int vtiServerPort)Setter for vtiServer PortvoidsetProtocol(java.lang.String vtiServerProtocol)Setter for vtiServer ProtocolvoidsetScriptUtils(ScriptUtils scriptUtils)voidsetSysAdminParams(SysAdminParams sysAdminParams)Setter for sysAdminParams
-
-
-
Method Detail
-
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(java.lang.String vtiServerHost)
Setter for vtiServer Host- Parameters:
vtiServerHost- String
-
setProtocol
public void setProtocol(java.lang.String vtiServerProtocol)
Setter for vtiServer Protocol- Parameters:
vtiServerProtocol- String
-
setContextPath
public void setContextPath(java.lang.String contextPath)
Setter for the vtiServer (external) context path.- Parameters:
contextPath- String
-
populate
public java.io.Serializable populate()
Populates the CustomResponse with the vti metadata- Specified by:
populatein interfaceCustomResponse- Returns:
- JSONObject or null if the vti module is not installed.
-
-