Class BlogInitData

java.lang.Object
com.bytedesk.kbase.blog.BlogInitData

public class BlogInitData extends Object
  • Field Details

    • TECHNICAL_SUPPORT

      public static final String[] TECHNICAL_SUPPORT
      Technical Support Blogs 技术支持标签
    • SERVICE_REQUEST

      public static final String[] SERVICE_REQUEST
      Service Request Blogs 服务请求标签
    • CONSULTATION

      public static final String[] CONSULTATION
      Consultation Blogs 咨询标签
    • COMPLAINT_SUGGESTION

      public static final String[] COMPLAINT_SUGGESTION
      Complaint & Suggestion Blogs 投诉与建议标签
    • OPERATION_MAINTENANCE

      public static final String[] OPERATION_MAINTENANCE
      Operation & Maintenance Blogs 运维标签
  • Constructor Details

    • BlogInitData

      public BlogInitData()
  • Method Details

    • isParentBlog

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

      public static String getParentBlog(String childBlog)
      Helper method to get parent blog key for a child blog
      Parameters:
      childBlog - The child blog key
      Returns:
      The parent blog key
    • getAllBlogs

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