BrightSide Workbench Full Report + Source Code
UserCalendarEvent.java
Go to the documentation of this file.
1 /*
2  * TurrĂ³ i Cutiller Foundation. License notice.
3  * Copyright (C) 2012 Lluis TurrĂ³ Cutiller <http://www.turro.org/>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Affero General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Affero General Public License for more details.
14  *
15  * You should have received a copy of the GNU Affero General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 package org.turro.calendar.event;
20 
21 import java.util.Collection;
22 import java.util.Date;
23 import org.turro.plugin.calendar.ICalendarEvent;
24 import org.turro.plugin.contacts.IContact;
25 import org.zkoss.calendar.api.CalendarEvent;
26 
31 public class UserCalendarEvent implements ICalendarEvent, CalendarEvent {
32 
34 
36  this.delegate = delegate;
37  }
38 
39  @Override
40  public String getPath() {
41  return delegate.getPath();
42  }
43 
44  @Override
45  public void setPath(String path) {
46  delegate.setPath(path);
47  }
48 
49  @Override
50  public String getEventId() {
51  return delegate.getEventId();
52  }
53 
54  @Override
55  public void setEventId(String eventId) {
56  delegate.setEventId(eventId);
57  }
58 
59  @Override
60  public Date getBeginDate() {
61  return delegate.getBeginDate();
62  }
63 
64  @Override
65  public Date getEndDate() {
66  return delegate.getEndDate();
67  }
68 
69  @Override
70  public String getTitle() {
71  return delegate.getTitle();
72  }
73 
74  @Override
75  public String getContent() {
76  return delegate.getContent();
77  }
78 
79  @Override
80  public String getMotive() {
81  return delegate.getMotive();
82  }
83 
84  @Override
85  public String getHeaderColor() {
86  return delegate.getHeaderColor();
87  }
88 
89  @Override
90  public String getContentColor() {
91  return delegate.getContentColor();
92  }
93 
94  @Override
95  public String getZclass() {
96  return delegate.getZclass();
97  }
98 
99  @Override
100  public boolean isLocked() {
101  return delegate.isLocked();
102  }
103 
104  @Override
105  public boolean isDone() {
106  return delegate.isDone();
107  }
108 
109  @Override
110  public void setBeginDate(Date date) {
111  delegate.setBeginDate(date);
112  }
113 
114  @Override
115  public void setEndDate(Date date) {
116  delegate.setEndDate(date);
117  }
118 
119  @Override
120  public void setTitle(String title) {
121  delegate.setTitle(title);
122  }
123 
124  @Override
125  public void setContent(String content) {
126  delegate.setContent(content);
127  }
128 
129  @Override
130  public void setMotive(String motive) {
131  delegate.setMotive(motive);
132  }
133 
134  @Override
135  public void setHeaderColor(String hc) {
137  }
138 
139  @Override
140  public void setContentColor(String cc) {
142  }
143 
144  @Override
145  public void setLocked(boolean locked) {
146  delegate.setLocked(locked);
147  }
148 
149  @Override
150  public void setDone(boolean done) {
151  delegate.setDone(done);
152  }
153 
154  @Override
155  public boolean isCancelled() {
156  return delegate.isCancelled();
157  }
158 
159  @Override
160  public void setCancelled(boolean cancelled) {
161  delegate.setCancelled(cancelled);
162  }
163 
164  @Override
166  return delegate.getOrganizer();
167  }
168 
169  @Override
170  public Collection<IContact> getAttendees() {
171  return delegate.getAttendees();
172  }
173 
174  @Override
175  public void setOrganizer(IContact contact) {
176  delegate.setOrganizer(contact);
177  }
178 
179  @Override
180  public void addAttendee(IContact contact) {
181  delegate.addAttendee(contact);
182  }
183 
184  @Override
185  public String getAddress() {
186  return delegate.getAddress();
187  }
188 
189  @Override
190  public void setAddress(String address) {
191  delegate.setAddress(address);
192  }
193 
194 }
void setCancelled(boolean cancelled)
Collection< IContact > getAttendees()