Пример #1
0
 public String validateNewToDo(
     final String description,
     final Category category,
     final Subcategory subcategory,
     final LocalDate dueBy,
     final BigDecimal cost) {
   return Subcategory.validate(category, subcategory);
 }
Пример #2
0
 public String validateCategorized(
     final Category category, final Subcategory subcategory, final boolean completed) {
   return Subcategory.validate(category, subcategory);
 }
Пример #3
0
 public List<Subcategory> choices2NewToDo(final String description, final Category category) {
   return Subcategory.listFor(category);
 }
Пример #4
0
 public List<Subcategory> choices1Categorized(final Category category) {
   return Subcategory.listFor(category);
 }