]> err.no Git - scalable-opengroupware.org/blob - ZideStore/UI-X/Scheduler/OGoCalView.h
created libZideStoreCommonUI on Helge's request
[scalable-opengroupware.org] / ZideStore / UI-X / Scheduler / OGoCalView.h
1 // $Id: OGoCalView.h,v 1.3 2004/06/03 21:56:44 helge Exp $
2
3 #ifndef __ZideStoreUI_OGoCalView_H__
4 #define __ZideStoreUI_OGoCalView_H__
5
6 #include <Common/OGoComponent.h>
7
8 @class NSArray, NSCalendarDate;
9 @class SxAptManager, SxAptSetIdentifier;
10
11 @interface OGoCalView : OGoComponent
12 {
13   NSArray *appointments;
14   id      appointment;
15 }
16
17 /* accessors */
18
19 - (NSArray *)appointments;
20 - (id)appointment;
21
22 /* URLs */
23
24 - (NSString *)appointmentViewURL;
25 - (NSString *)ownMethodName;
26
27 /* backend */
28
29 - (SxAptManager *)aptManager;
30 - (SxAptSetIdentifier *)aptSetID;
31
32 /* fetching */
33
34 - (NSCalendarDate *)selectedDate;
35 - (NSCalendarDate *)startDate;
36 - (NSCalendarDate *)endDate;
37 - (NSArray *)fetchGIDs;
38 - (NSArray *)fetchCoreInfos;
39
40 /* date selection */
41 - (NSDictionary *)queryParametersBySettingSelectedDate:(NSCalendarDate *)_date;
42 - (void)setSelectedDateQueryParameter:(NSCalendarDate *)_newDate
43         inDictionary:(NSMutableDictionary *)_qp;
44 - (NSString *)dateStringForDate:(NSCalendarDate *)_date;
45 - (NSCalendarDate *)dateForDateString:(NSString *)_dateString;
46
47 @end
48
49 #endif /* __ZideStoreUI_OGoCalView_H__ */