Package com.bytedesk.core.calendar
Class CalendarInitData
java.lang.Object
com.bytedesk.core.calendar.CalendarInitData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]Complaint & Suggestion Calendars 投诉与建议标签static final String[]Consultation Calendars 咨询标签static final String[]Operation & Maintenance Calendars 运维标签static final String[]Service Request Calendars 服务请求标签static final String[]Technical Support Calendars 技术支持标签 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]Get all calendars as a single arraystatic StringgetParentCalendar(String childCalendar) Helper method to get parent calendar key for a child calendarstatic booleanisParentCalendar(String calendar) Helper method to determine if a calendar is a parent calendar
-
Field Details
-
TECHNICAL_SUPPORT
Technical Support Calendars 技术支持标签 -
SERVICE_REQUEST
Service Request Calendars 服务请求标签 -
CONSULTATION
Consultation Calendars 咨询标签 -
COMPLAINT_SUGGESTION
Complaint & Suggestion Calendars 投诉与建议标签 -
OPERATION_MAINTENANCE
Operation & Maintenance Calendars 运维标签
-
-
Constructor Details
-
CalendarInitData
public CalendarInitData()
-
-
Method Details
-
isParentCalendar
Helper method to determine if a calendar is a parent calendar- Parameters:
calendar- The calendar key to check- Returns:
- true if it's a parent calendar
-
getParentCalendar
Helper method to get parent calendar key for a child calendar- Parameters:
childCalendar- The child calendar key- Returns:
- The parent calendar key
-
getAllCalendars
Get all calendars as a single array- Returns:
- Array containing all calendars
-