blob: 71148359c4317fe679a8b22c6b9f7cbf37e89e7f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
package models;
public class ImageRights {
private String userID;
private boolean read;
private boolean write;
private boolean changePermission;
private boolean admin;
private boolean linkAllowed;
public String getUserID() {
return userID;
}
public void setUserID(String userID) {
this.userID = userID;
}
public static ImageRights rights =new ImageRights();
public boolean getRead() {
return read;
}
public void setRead(boolean read) {
this.read = read;
}
public boolean getWrite() {
return write;
}
public void setWrite(boolean write) {
this.write = write;
}
public boolean getChangePermission() {
return changePermission;
}
public void setChangePermission(boolean changePermission) {
this.changePermission = changePermission;
}
public boolean getAdmin() {
return admin;
}
public void setAdmin(boolean admin) {
this.admin = admin;
}
public boolean getLinkAllowed() {
return linkAllowed;
}
public void setLinkAllowed(boolean linkAllowed) {
this.linkAllowed = linkAllowed;
}
}
|