comparison src/main/java/de/mpiwg/itgroup/annotations/Annotation.java @ 10:90911b2da322

more work on permissions...
author casties
date Thu, 12 Jul 2012 17:01:32 +0200
parents b2bfc3bc9ba8
children 629e15b345aa
comparison
equal deleted inserted replaced
9:b2bfc3bc9ba8 10:90911b2da322
54 /** 54 /**
55 * The creation date of this annotation. 55 * The creation date of this annotation.
56 */ 56 */
57 protected String created; 57 protected String created;
58 58
59 protected String adminPermission; 59 /**
60 * The user or group that has admin permissions.
61 * null means any user.
62 */
63 protected Actor adminPermission;
64
65 /**
66 * The user or group that has delete permissions.
67 * null means any user.
68 */
69 protected Actor deletePermission;
70
71 /**
72 * The user or group that has update permissions.
73 * null means any user.
74 */
75 protected Actor updatePermission;
76
77 /**
78 * The user or group that has read permissions.
79 * null means any user.
80 */
81 protected Actor readPermission;
60 82
61 /** 83 /**
62 * @return the uri 84 * @return the uri
63 */ 85 */
64 public String getUri() { 86 public String getUri() {
187 * @param created the created to set 209 * @param created the created to set
188 */ 210 */
189 public void setCreated(String created) { 211 public void setCreated(String created) {
190 this.created = created; 212 this.created = created;
191 } 213 }
214
215 /**
216 * @return the adminPermission
217 */
218 public Actor getAdminPermission() {
219 return adminPermission;
220 }
221
222 /**
223 * @param adminPermission the adminPermission to set
224 */
225 public void setAdminPermission(Actor adminPermission) {
226 this.adminPermission = adminPermission;
227 }
228
229 /**
230 * @return the deletePermission
231 */
232 public Actor getDeletePermission() {
233 return deletePermission;
234 }
235
236 /**
237 * @param deletePermission the deletePermission to set
238 */
239 public void setDeletePermission(Actor deletePermission) {
240 this.deletePermission = deletePermission;
241 }
242
243 /**
244 * @return the updatePermission
245 */
246 public Actor getUpdatePermission() {
247 return updatePermission;
248 }
249
250 /**
251 * @param updatePermission the updatePermission to set
252 */
253 public void setUpdatePermission(Actor updatePermission) {
254 this.updatePermission = updatePermission;
255 }
256
257 /**
258 * @return the readPermission
259 */
260 public Actor getReadPermission() {
261 return readPermission;
262 }
263
264 /**
265 * @param readPermission the readPermission to set
266 */
267 public void setReadPermission(Actor readPermission) {
268 this.readPermission = readPermission;
269 }
192 270
193 271
194 } 272 }