Source code: org/acs/damsel/client/edit/EditCollectionForm.java
1 package org.acs.damsel.client.edit;
2
3 import org.apache.struts.action.*;
4 import javax.servlet.http.*;
5
6 public class EditCollectionForm extends ActionForm {
7 private String schemaSelect = "";
8 private String collectionSelect = new String();
9 private boolean buttonSelect = false;
10 private String permission = "custom";
11 private String assetView = "custom";
12 private String resultsView = "custom";
13 private boolean collectionChanged = false;
14 private boolean permSelected = false;
15 private String assetViewSelected = "";
16 private String resultsViewSelected = "";
17 private boolean schemaSelected = false;
18 private boolean groupDelete;
19 private boolean groupRead;
20 private boolean groupWrite;
21 private boolean othersDelete;
22 private boolean othersRead;
23 private boolean othersWrite;
24 private boolean ownerDelete;
25 private boolean ownerRead;
26 private boolean ownerWrite;
27 private String groupSelect;
28 private String permissionID;
29 private String description;
30
31
32 public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
33 return null;
34 }
35 public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
36 this.setGroupDelete(false);
37 this.setGroupRead(false);
38 this.setGroupWrite(false);
39 this.setOthersDelete(false);
40 this.setOthersRead(false);
41 this.setOthersWrite(false);
42 this.setOwnerDelete(false);
43 this.setOwnerRead(false);
44 this.setOwnerWrite(false);
45
46 }
47 public String getCollectionSelect() {
48 return collectionSelect;
49 }
50 public void setCollectionSelect(String collectionSelect) {
51 this.collectionSelect = collectionSelect;
52 }
53 public String getSchemaSelect() {
54 return schemaSelect;
55 }
56 public void setSchemaSelect(String schemaSelect) {
57 this.schemaSelect = schemaSelect;
58 }
59 public boolean isButtonSelect() {
60 return buttonSelect;
61 }
62 public void setButtonSelect(boolean buttonSelect) {
63 this.buttonSelect = buttonSelect;
64 }
65 public String getPermission() {
66 return permission;
67 }
68 public void setPermission(String permission) {
69 this.permission = permission;
70 }
71 public boolean isCollectionChanged() {
72 return collectionChanged;
73 }
74 public void setCollectionChanged(boolean collectionChanged) {
75 this.collectionChanged = collectionChanged;
76 }
77 public boolean isPermSelected() {
78 return permSelected;
79 }
80 public void setPermSelected(boolean permSelected) {
81 this.permSelected = permSelected;
82 }
83 public String getAssetView() {
84 return assetView;
85 }
86 public void setAssetView(String assetView) {
87 this.assetView = assetView;
88 }
89 public String getResultsView() {
90 return resultsView;
91 }
92 public void setResultsView(String resultsView) {
93 this.resultsView = resultsView;
94 }
95 public String getResultsViewSelected() {
96 return resultsViewSelected;
97 }
98 public void setResultsViewSelected(String resultsViewSelected) {
99 this.resultsViewSelected = resultsViewSelected;
100 }
101 public String getAssetViewSelected() {
102 return assetViewSelected;
103 }
104 public void setAssetViewSelected(String assetViewSelected) {
105 this.assetViewSelected = assetViewSelected;
106 }
107 public boolean isSchemaSelected() {
108 return schemaSelected;
109 }
110 public void setSchemaSelected(boolean schemaSelected) {
111 this.schemaSelected = schemaSelected;
112 }
113 public boolean isGroupDelete() {
114 return groupDelete;
115 }
116 public void setGroupDelete(boolean groupDelete) {
117 this.groupDelete = groupDelete;
118 }
119 public boolean isGroupRead() {
120 return groupRead;
121 }
122 public void setGroupRead(boolean groupRead) {
123 this.groupRead = groupRead;
124 }
125 public void setGroupSelect(String groupSelect) {
126 this.groupSelect = groupSelect;
127 }
128 public String getGroupSelect() {
129 return groupSelect;
130 }
131 public boolean isGroupWrite() {
132 return groupWrite;
133 }
134 public void setGroupWrite(boolean groupWrite) {
135 this.groupWrite = groupWrite;
136 }
137 public void setOthersDelete(boolean othersDelete) {
138 this.othersDelete = othersDelete;
139 }
140 public boolean isOthersDelete() {
141 return othersDelete;
142 }
143 public boolean isOthersRead() {
144 return othersRead;
145 }
146 public void setOthersRead(boolean othersRead) {
147 this.othersRead = othersRead;
148 }
149 public boolean isOthersWrite() {
150 return othersWrite;
151 }
152 public void setOthersWrite(boolean othersWrite) {
153 this.othersWrite = othersWrite;
154 }
155 public boolean isOwnerDelete() {
156 return ownerDelete;
157 }
158 public void setOwnerDelete(boolean ownerDelete) {
159 this.ownerDelete = ownerDelete;
160 }
161 public boolean isOwnerRead() {
162 return ownerRead;
163 }
164 public void setOwnerRead(boolean ownerRead) {
165 this.ownerRead = ownerRead;
166 }
167 public boolean isOwnerWrite() {
168 return ownerWrite;
169 }
170 public void setOwnerWrite(boolean ownerWrite) {
171 this.ownerWrite = ownerWrite;
172 }
173 public String getPermissionID() {
174 return permissionID;
175 }
176 public void setPermissionID(String permissionID) {
177 this.permissionID = permissionID;
178 }
179 public String getDescription() {
180 return description;
181 }
182 public void setDescription(String description) {
183 this.description = description;
184 }
185
186 }