Class ThreadCategories

java.lang.Object
com.bytedesk.core.thread.ThreadCategories

public class ThreadCategories extends Object
  • Field Details

    • TECHNICAL_SUPPORT

      public static final String[] TECHNICAL_SUPPORT
      Technical Support Categories 技术支持类
    • SERVICE_REQUEST

      public static final String[] SERVICE_REQUEST
      Service Request Categories 服务请求类
    • CONSULTATION

      public static final String[] CONSULTATION
      Consultation Categories 咨询类
    • COMPLAINT_SUGGESTION

      public static final String[] COMPLAINT_SUGGESTION
      Complaint & Suggestion Categories 投诉与建议类
    • OPERATION_MAINTENANCE

      public static final String[] OPERATION_MAINTENANCE
      Operation & Maintenance Categories 运维类
  • Constructor Details

    • ThreadCategories

      public ThreadCategories()
  • Method Details

    • isParentCategory

      public static boolean isParentCategory(String category)
      Helper method to determine if a category is a parent category
      Parameters:
      category - The category key to check
      Returns:
      true if it's a parent category
    • getParentCategory

      public static String getParentCategory(String childCategory)
      Helper method to get parent category key for a child category
      Parameters:
      childCategory - The child category key
      Returns:
      The parent category key
    • getAllCategories

      public static String[] getAllCategories()
      Get all categories as a single array
      Returns:
      Array containing all categories