|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Data
Common interface for all types of calendar item data elements
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_DATA
The name of the default Data implemention used |
| Method Summary | |
|---|---|
void |
delete(CalendarItem item)
Removes the given CalendarItem from the data |
java.util.List<CalendarItem> |
find(java.lang.String searchString)
Search inside after the given search String |
java.util.List<CalendarItem> |
getItems()
Returns the elements in this data element |
java.lang.String |
getName()
Returns the name of the Data Element |
void |
init()
Initialize the element |
void |
insert(CalendarItem item)
Inserts the given CalendarItem |
boolean |
isWritable()
Tells the calendar if the returned elements are editable |
void |
start()
Starts the getting of data with this element |
void |
stop()
Stops the process of receiving data with this element |
void |
update(CalendarItem item)
Saves the given CalendarItem |
| Field Detail |
|---|
static final java.lang.String DEFAULT_DATA
| Method Detail |
|---|
java.lang.String getName()
boolean isWritable()
void init()
throws DataException
DataException
void start()
throws DataException
DataException
void stop()
throws DataException
DataException
java.util.List<CalendarItem> find(java.lang.String searchString)
throws DataException
searchString -
DataException
java.util.List<CalendarItem> getItems()
throws DataException
DataException
void insert(CalendarItem item)
throws DataException
item -
DataException
void update(CalendarItem item)
throws DataException
item -
DataException
void delete(CalendarItem item)
throws DataException
item -
DataException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||