Package lumis.content.metadata
Class MetaDataInfoController
- java.lang.Object
-
- lumis.portal.controller.ControllerHtml
-
- lumis.content.metadata.MetaDataInfoController
-
public class MetaDataInfoController extends ControllerHtml
Responsible for returning metadata information in JSON. For internal use only.- Since:
- 7.0.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
-
Fields inherited from class lumis.portal.controller.ControllerHtml
out, request, response, sessionConfig, userConfig
-
-
Constructor Summary
Constructors Constructor Description MetaDataInfoController(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
getContents()
protected void
getPublishToPrincipals()
static java.lang.String
getPublishToPrincipals(SessionConfig sessionConfig, java.lang.String serviceInstanceId, java.lang.String term, java.lang.Integer maxResults)
Returns a json with the publish to principals lookup result.protected void
getPublishToServiceInstances()
protected void
getWorkflowStatePrincipals()
void
handleRequest()
-
Methods inherited from class lumis.portal.controller.ControllerHtml
checkRequestIsPost, deleteCookie, getCookie, getRequestMode, getSessionConfig, loadUserInfo, setCookie
-
-
-
-
Constructor Detail
-
MetaDataInfoController
public MetaDataInfoController(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ControllerException, PortalException
- Throws:
ControllerException
PortalException
-
-
Method Detail
-
handleRequest
public void handleRequest() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getPublishToPrincipals
protected void getPublishToPrincipals() throws PortalException
- Throws:
PortalException
-
getPublishToPrincipals
public static java.lang.String getPublishToPrincipals(SessionConfig sessionConfig, java.lang.String serviceInstanceId, java.lang.String term, java.lang.Integer maxResults) throws PortalException
Returns a json with the publish to principals lookup result.- Parameters:
sessionConfig
- the session of the user performing the lookup.serviceInstanceId
- the identifier of the service instance where the lookup is being executed.term
- the term of the lookup.maxResults
- the maximum results to be returned.- Returns:
- a json with the results.
- Throws:
PortalException
- if an error occurred.- Since:
- 14.1.1
-
getContents
protected void getContents() throws PortalException
- Throws:
PortalException
-
getPublishToServiceInstances
protected void getPublishToServiceInstances() throws PortalException
- Throws:
PortalException
-
getWorkflowStatePrincipals
protected void getWorkflowStatePrincipals() throws PortalException
- Throws:
PortalException
-
-