Enum UserMonitorFieldsCSVEnum

    • Method Detail

      • values

        public static UserMonitorFieldsCSVEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UserMonitorFieldsCSVEnum c : UserMonitorFieldsCSVEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UserMonitorFieldsCSVEnum valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getLabel

        public String getLabel​(IResource resource)
                        throws PortalException
        Get localized label for the field.
        Parameters:
        resource - resource of strings.
        Returns:
        the localized label.
        Throws:
        PortalException
        Since:
        11.1.0
      • getLabel

        public static String getLabel​(String fullIdElasticSearchField,
                                      IResource resource)
                               throws PortalException
        Get localized label for the field.
        Parameters:
        fullIdElasticSearchField - documentType elasticsearch field
        resource - resource of strings.
        Returns:
        the localized label.
        Throws:
        PortalException
        Since:
        11.1.0
      • getComparatorOrder

        public static int getComparatorOrder​(String fullIdElasticSearchField)
        Create a index integer to helps the sort Comparable for class {link FieldReportCSV}
        Parameters:
        fullIdElasticSearchField - request field code
        Returns:
        a integer to sort field.
        Since:
        11.1.0
      • getComparatorOrder

        public int getComparatorOrder()
        Create a index integer to helps the sort Comparable for class {link FieldReportCSV}
        Returns:
        a integer to sort field.
        Since:
        11.1.0