use of com.thinkbiganalytics.feedmgr.rest.model.FeedCategoryBuilder in project kylo by Teradata.
the class InMemoryFeedManagerCategoryService method bootstrapCategories.
private void bootstrapCategories() {
List<FeedCategory> feedCategoryList = new ArrayList<>();
feedCategoryList.add(new FeedCategoryBuilder("Employees").description("Employee profile data and records").icon("people").iconColor("#F06292").build());
feedCategoryList.add(new FeedCategoryBuilder("Sales").description("Sales data including opportunities and leads").icon("phone_android").iconColor("#90A4AE").build());
feedCategoryList.add(new FeedCategoryBuilder("Online").description("Web traffic data and reports of online activity").icon("web").iconColor("#66BB6A").build());
feedCategoryList.add(new FeedCategoryBuilder("Payroll").description("Payroll records for employees").icon("attach_money").iconColor("#FFCA28").build());
feedCategoryList.add(new FeedCategoryBuilder("Travel").description("Employee travel records including all expense reports").icon("local_airport").iconColor("#FFF176").build());
feedCategoryList.add(new FeedCategoryBuilder("Data").description("General Data ").icon("cloud").iconColor("#AB47BC").build());
feedCategoryList.add(new FeedCategoryBuilder("Emails").description("All email traffic data archived for the last 5 years").icon("email").iconColor("#FF5252").build());
feedCategoryList.add(new FeedCategoryBuilder("Customers").description("All customer data for various companies").icon("face").iconColor("#FF5252").build());
for (FeedCategory category : feedCategoryList) {
category.setId(UUID.randomUUID().toString());
categories.put(category.getId(), category);
}
}
Aggregations