1   
2   
3   
4   
5   
6   
7   
8   package com.buckosoft.BuckoVidLib.domain.rest;
9   
10  import javax.xml.bind.annotation.XmlRootElement;
11  
12  import com.buckosoft.BuckoVidLib.web.ImageController;
13  
14  
15  
16  
17  
18  
19  @XmlRootElement(name="User")
20  public class RestUser {
21  	private	String	username = "";
22  	private	boolean	admin = false;
23  	private	boolean	unrestricted = false;
24  	private	boolean	hideRestricted = false;
25  	private	int		backgroundFit = ImageController.bgFill;
26  	private	int		artShowFit = ImageController.bgFill;
27  	private	int		backgroundDelay = 30;
28  	private	int		artShowDelay = 10;
29  	private	int		findMaxResults = 40;
30  
31  	
32  
33  
34  	public String getUsername() {
35  		return username;
36  	}
37  	
38  
39  
40  	public void setUsername(String username) {
41  		this.username = username;
42  	}
43  	
44  
45  
46  	public boolean isAdmin() {
47  		return admin;
48  	}
49  	
50  
51  
52  	public void setAdmin(boolean admin) {
53  		this.admin = admin;
54  	}
55  	
56  
57  
58  	public boolean isUnrestricted() {
59  		return unrestricted;
60  	}
61  	
62  
63  
64  	public void setUnrestricted(boolean unrestricted) {
65  		this.unrestricted = unrestricted;
66  	}
67  	
68  	
69  
70  
71  	public boolean isHideRestricted() {
72  		return hideRestricted;
73  	}
74  	
75  
76  
77  	public void setHideRestricted(boolean hideRestricted) {
78  		this.hideRestricted = hideRestricted;
79  	}
80  	
81  
82  
83  	public int getBackgroundFit() {
84  		return backgroundFit;
85  	}
86  	
87  
88  
89  	public void setBackgroundFit(int backgroundFit) {
90  		this.backgroundFit = backgroundFit;
91  	}
92  	
93  
94  
95  	public int getArtShowFit() {
96  		return artShowFit;
97  	}
98  	
99  
100 
101 	public void setArtShowFit(int artShowFit) {
102 		this.artShowFit = artShowFit;
103 	}
104 	
105 
106 
107 	public int getBackgroundDelay() {
108 		return backgroundDelay;
109 	}
110 	
111 
112 
113 	public void setBackgroundDelay(int backgroundDelay) {
114 		this.backgroundDelay = backgroundDelay;
115 	}
116 	
117 
118 
119 	public int getArtShowDelay() {
120 		return artShowDelay;
121 	}
122 	
123 
124 
125 	public void setArtShowDelay(int artShowDelay) {
126 		this.artShowDelay = artShowDelay;
127 	}
128 	
129 
130 
131 	public int getFindMaxResults() {
132 		return findMaxResults;
133 	}
134 	
135 
136 
137 	public void setFindMaxResults(int findMaxResults) {
138 		this.findMaxResults = findMaxResults;
139 	}
140 }