Package com.bytedesk.kbase.blog
Class BlogInitData
java.lang.Object
com.bytedesk.kbase.blog.BlogInitData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]Complaint & Suggestion Blogs 投诉与建议标签static final String[]Consultation Blogs 咨询标签static final String[]Operation & Maintenance Blogs 运维标签static final String[]Service Request Blogs 服务请求标签static final String[]Technical Support Blogs 技术支持标签 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]Get all blogs as a single arraystatic StringgetParentBlog(String childBlog) Helper method to get parent blog key for a child blogstatic booleanisParentBlog(String blog) Helper method to determine if a blog is a parent blog
-
Field Details
-
TECHNICAL_SUPPORT
Technical Support Blogs 技术支持标签 -
SERVICE_REQUEST
Service Request Blogs 服务请求标签 -
CONSULTATION
Consultation Blogs 咨询标签 -
COMPLAINT_SUGGESTION
Complaint & Suggestion Blogs 投诉与建议标签 -
OPERATION_MAINTENANCE
Operation & Maintenance Blogs 运维标签
-
-
Constructor Details
-
BlogInitData
public BlogInitData()
-
-
Method Details
-
isParentBlog
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
Helper method to get parent blog key for a child blog- Parameters:
childBlog- The child blog key- Returns:
- The parent blog key
-
getAllBlogs
Get all blogs as a single array- Returns:
- Array containing all blogs
-