|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.calendar.CalendarEventCategories
public class CalendarEventCategories
The categories in which an event, scheduled in a calendar, is classified. The categories are expected to be managed by the event itself.
| Constructor Summary | |
|---|---|
protected |
CalendarEventCategories()
|
| Method Summary | |
|---|---|
void |
add(String categoryId)
Adds a category to an event scheduled in a calendar. |
void |
addAll(List<String> categoryIds)
Adds several categories to an event scheduled in a calendar. |
void |
addAll(String... categoryIds)
Adds one or several categories to an event scheduled in a calendar. |
String[] |
asArray()
Converts this categories container to an array of category identifiers. |
List<String> |
asList()
Converts this categories container to a list of category identifiers. |
boolean |
contains(String category)
Is the specified category is in the categories of an event scheduled in a calendar. |
boolean |
isEmpty()
Is there is no any categories set for an event? |
void |
remove(String... categoryIds)
Removes one or several categories from the categories of an event scheduled in a calendar. |
void |
remove(String categoryId)
Removes a category from the categories of an event scheduled in a calendar. |
void |
removeAll(List<String> categoryIds)
Removes several categories from the categories of an event scheduled in a calendar. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CalendarEventCategories()
| Method Detail |
|---|
public void add(String categoryId)
categoryId - the identifier of the category to add.public void addAll(List<String> categoryIds)
categoryIds - the identifiers of the categories to add.public void addAll(String... categoryIds)
categoryIds - the identifiers of the categories to add.public void remove(String categoryId)
categoryId - the identifier of the category to remove.public void removeAll(List<String> categoryIds)
categoryIds - the identifiers of the categories to remove.public void remove(String... categoryIds)
categoryIds - the identifiers of the categories to remove.public List<String> asList()
public String[] asArray()
public boolean contains(String category)
category - a category identifier.
public boolean isEmpty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||