Class PVsMatchingParameter


  • public class PVsMatchingParameter
    extends Object
    Small utility class for listing PVs that match a parameter
    Author:
    mshankar
    • Constructor Detail

      • PVsMatchingParameter

        public PVsMatchingParameter()
    • Method Detail

      • getMatchingPVs

        public static LinkedList<String> getMatchingPVs​(javax.servlet.http.HttpServletRequest req,
                                                        ConfigService configService,
                                                        int defaultLimit)
      • getMatchingPVs

        public static LinkedList<String> getMatchingPVs​(javax.servlet.http.HttpServletRequest req,
                                                        ConfigService configService,
                                                        boolean includePVSThatDontExist,
                                                        int defaultLimit)
        Given a BPL request, get all the matching PVs
        Parameters:
        req - HttpServletRequest
        configService - ConfigService
        includePVSThatDontExist - Some BPL requires us to include PVs that don't exist so that they can give explicit status
        defaultLimit - The default value for the limit if the limit is not specified in the request.
        Returns:
        LinkedList Matching PVs
      • getMatchingPVs

        public static LinkedList<String> getMatchingPVs​(Map<String,​String> requestParameters,
                                                        ConfigService configService,
                                                        boolean includePVSThatDontExist,
                                                        int defaultLimit)
        Given a BPL request, get all the matching PVs
        Parameters:
        requestParameters - HttpServletRequest parameter map
        configService - ConfigService
        includePVSThatDontExist - Some BPL requires us to include PVs that don't exist so that they can give explicit status
        defaultLimit - The default value for the limit if the limit is not specified in the request.
        Returns:
        LinkedList Matching PVs