001: /*
002: * Milin Radivoj
003: * rmilin@gmail.com
004: */
005:
006: package org.enhydra.snapperPreviewer.business;
007:
008: import org.enhydra.snapperPreviewer.spec.DocumentGroup;
009: import org.enhydra.snapperPreviewer.spec.FileType;
010: import org.enhydra.snapperPreviewer.spec.Path;
011: import org.enhydra.snapperPreviewer.spec.Site;
012:
013: /**
014: * @author Milin Radivoj
015: *
016: */
017: public class SiteImpl implements Site {
018:
019: private String NAME;
020: private String LANGUAGE;
021: private int QUERYNR;
022: private String LASTQUERY;
023: private int MAXSIZE;
024: private int MAXAGE;
025: private int FILENR;
026: private boolean SEARCH;
027: private boolean DOWNLOAD;
028: private boolean INDEXCONTENT;
029: private boolean INDEXDIRECTORY;
030: private boolean INDEXUNKNOWNFILETYPES;
031: private String INDEXDIR;
032: private String FILTERDB;
033: private String FILTERTABLE;
034: private String FILTERCOLUMN;
035: private String INCLUDEDB;
036: private String INCLUDETABLE;
037: private String INCLUDECOLUMN;
038: private String INCLUDECOLUMNMODIFIED;
039: private String METADB;
040: private String METATABLE;
041: private String METAFILE;
042: private String METAKEY;
043: private String METAVALUE;
044: private String LASTUPDATE;
045: private Path[] pathList;
046: private FileType[] fileTypeList;
047: private DocumentGroup dg;
048:
049: public String getNAME() {
050: return NAME;
051: }
052:
053: public String getLANGUAGE() {
054: return LANGUAGE;
055: }
056:
057: public int getMAXSIZE() {
058: return MAXSIZE;
059: }
060:
061: public int getMAXAGE() {
062: return MAXAGE;
063: }
064:
065: public int getFILENR() {
066: return FILENR;
067: }
068:
069: public boolean getSEARCH() {
070: return SEARCH;
071: }
072:
073: public boolean getDOWNLOAD() {
074: return DOWNLOAD;
075: }
076:
077: public boolean getINDEXCONTENT() {
078: return INDEXCONTENT;
079: }
080:
081: public boolean getINDEXDIRECTORY() {
082: return INDEXDIRECTORY;
083: }
084:
085: public boolean getINDEXUNKNOWNFILETYPES() {
086: return INDEXUNKNOWNFILETYPES;
087: }
088:
089: public String getINDEXDIR() {
090: return INDEXDIR;
091: }
092:
093: public String getFILTERDB() {
094: return FILTERDB;
095: }
096:
097: public String getFILTERTABLE() {
098: return FILTERTABLE;
099: }
100:
101: public String getFILTERCOLUMN() {
102: return FILTERCOLUMN;
103: }
104:
105: public String getINCLUDEDB() {
106: return INCLUDEDB;
107: }
108:
109: public String getINCLUDETABLE() {
110: return INCLUDETABLE;
111: }
112:
113: public String getINCLUDECOLUMN() {
114: return INCLUDECOLUMN;
115: }
116:
117: public String getINCLUDECOLUMNMODIFIED() {
118: return INCLUDECOLUMNMODIFIED;
119: }
120:
121: public String getMETADB() {
122: return METADB;
123: }
124:
125: public String getMETATABLE() {
126: return METATABLE;
127: }
128:
129: public String getMETAFILE() {
130: return METAFILE;
131: }
132:
133: public String getMETAKEY() {
134: return METAKEY;
135: }
136:
137: public String getMETAVALUE() {
138: return METAVALUE;
139: }
140:
141: public void setNAME(String str) {
142: NAME = str;
143: }
144:
145: public void setLANGUAGE(String str) {
146: LANGUAGE = str;
147: }
148:
149: public void setMAXSIZE(int str) {
150: MAXSIZE = str;
151: }
152:
153: public void setMAXAGE(int str) {
154: MAXAGE = str;
155: }
156:
157: public void setFILENR(int str) {
158: FILENR = str;
159: }
160:
161: public void setSEARCH(boolean str) {
162: SEARCH = str;
163: }
164:
165: public void setDOWNLOAD(boolean str) {
166: DOWNLOAD = str;
167: }
168:
169: public void setINDEXCONTENT(boolean str) {
170: INDEXCONTENT = str;
171: }
172:
173: public void setINDEXDIRECTORY(boolean str) {
174: INDEXDIRECTORY = str;
175: }
176:
177: public void setINDEXUNKNOWNFILETYPES(boolean str) {
178: INDEXUNKNOWNFILETYPES = str;
179: }
180:
181: public void setINDEXDIR(String str) {
182: INDEXDIR = str;
183: }
184:
185: public void setFILTERDB(String str) {
186: FILTERDB = str;
187: }
188:
189: public void setFILTERTABLE(String str) {
190: FILTERTABLE = str;
191: }
192:
193: public void setFILTERCOLUMN(String str) {
194: FILTERCOLUMN = str;
195: }
196:
197: public void setINCLUDEDB(String str) {
198: INCLUDEDB = str;
199: }
200:
201: public void setINCLUDETABLE(String str) {
202: INCLUDETABLE = str;
203: }
204:
205: public void setINCLUDECOLUMN(String str) {
206: INCLUDECOLUMN = str;
207: }
208:
209: public void setINCLUDECOLUMNMODIFIED(String str) {
210: INCLUDECOLUMNMODIFIED = str;
211: }
212:
213: public void setMETADB(String str) {
214: METADB = str;
215: }
216:
217: public void setMETATABLE(String str) {
218: METATABLE = str;
219: }
220:
221: public void setMETAFILE(String str) {
222: METAFILE = str;
223: }
224:
225: public void setMETAKEY(String str) {
226: METAKEY = str;
227: }
228:
229: public void setMETAVALUE(String str) {
230: METAVALUE = str;
231: }
232:
233: public void deleteDir(String index) {
234: //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
235: }
236:
237: public Path[] getPathList() {
238: return pathList;
239: }
240:
241: public void setPathList(Path[] pathList) {
242: this .pathList = pathList;
243: }
244:
245: public DocumentGroup getDocumentGroup() {
246: return dg;
247: }
248:
249: public void setDocumentGroup(DocumentGroup group) {
250: dg = group;
251: }
252:
253: public String getLASTUPDATE() {
254: return LASTUPDATE;
255: }
256:
257: public void setLASTUPDATE(String str) {
258: LASTUPDATE = str;
259: }
260:
261: public void setQUERYNR(int str) {
262: QUERYNR = str;
263: }
264:
265: public int getQUERYNR() {
266: return QUERYNR;
267:
268: }
269:
270: public String getLASTQUERY() {
271: return LASTQUERY;
272: }
273:
274: public void setLASTQUERY(String str) {
275: LASTQUERY = str;
276: }
277: }
|