Class MetaDataInfoController


  • public class MetaDataInfoController
    extends ControllerHtml
    Responsible for returning metadata information in JSON. For internal use only.
    Since:
    7.0.0
    Version:
    $Revision: 24813 $ $Date: 2022-01-19 00:05:05 -0300 (Wed, 19 Jan 2022) $
    • Method Detail

      • handleRequest

        public void handleRequest()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • 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