Package org.alfresco.repo.jscript.app
Class VtiServerCustomResponse
java.lang.Object
org.alfresco.repo.jscript.app.VtiServerCustomResponse
- All Implemented Interfaces:
CustomResponse
Return current state of VTI (SharePoint) Server module
- Author:
- mikeh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpopulate()Populates the CustomResponse with the vti metadatavoidsetContextPath(String contextPath) Setter for the vtiServer (external) context path.voidSetter for vtiServer HostvoidsetPort(int vtiServerPort) Setter for vtiServer PortvoidsetProtocol(String vtiServerProtocol) Setter for vtiServer ProtocolvoidsetScriptUtils(ScriptUtils scriptUtils) voidsetSysAdminParams(SysAdminParams sysAdminParams) Setter for sysAdminParams
-
Constructor Details
-
VtiServerCustomResponse
public VtiServerCustomResponse()
-
-
Method Details
-
setScriptUtils
- Throws:
org.springframework.beans.BeansException
-
setSysAdminParams
Setter for sysAdminParams- Parameters:
sysAdminParams- SysAdminParams
-
setPort
public void setPort(int vtiServerPort) Setter for vtiServer Port- Parameters:
vtiServerPort- int
-
setHost
Setter for vtiServer Host- Parameters:
vtiServerHost- String
-
setProtocol
Setter for vtiServer Protocol- Parameters:
vtiServerProtocol- String
-
setContextPath
Setter for the vtiServer (external) context path.- Parameters:
contextPath- String
-
populate
Populates the CustomResponse with the vti metadata- Specified by:
populatein interfaceCustomResponse- Returns:
- JSONObject or null if the vti module is not installed.
-