001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package org.apache.jetspeed.statistics.impl;
018:
019: import org.apache.jetspeed.statistics.StatisticsQueryCriteria;
020:
021: public class StatisticsQueryCriteriaImpl implements
022: StatisticsQueryCriteria {
023:
024: private String user;
025:
026: private String timePeriod;
027:
028: private String queryType;
029:
030: private String listsize;
031:
032: private String sorttype;
033:
034: private String sortorder;
035:
036: /**
037: * @return Returns the ipAddress.
038: */
039: public String getTimePeriod() {
040: return timePeriod;
041: }
042:
043: /**
044: * @param ipAddress
045: * The ipAddress to set.
046: */
047: public void setTimePeriod(String ipAddress) {
048: this .timePeriod = ipAddress;
049: }
050:
051: /**
052: * @return Returns the user.
053: */
054: public String getUser() {
055: return user;
056: }
057:
058: /**
059: * @param user
060: * The user to set.
061: */
062: public void setUser(String user) {
063: this .user = user;
064: }
065:
066: /*
067: * (non-Javadoc)
068: *
069: * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#getQueryType()
070: */
071: public String getQueryType() {
072:
073: return queryType;
074: }
075:
076: /*
077: * (non-Javadoc)
078: *
079: * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#setQueryType(java.lang.String)
080: */
081: public void setQueryType(String queryType) {
082: this .queryType = queryType;
083: }
084:
085: /* (non-Javadoc)
086: * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#getListsize()
087: */
088: public String getListsize() {
089: return this .listsize;
090: }
091:
092: /* (non-Javadoc)
093: * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#getSorttype()
094: */
095: public String getSorttype() {
096: return this .sorttype;
097: }
098:
099: /* (non-Javadoc)
100: * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#setListsize(java.lang.String)
101: */
102: public void setListsize(String listsize) {
103: this .listsize = listsize;
104:
105: }
106:
107: /* (non-Javadoc)
108: * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#setSorttype(java.lang.String)
109: */
110: public void setSorttype(String sorttype) {
111: this .sorttype = sorttype;
112: }
113:
114: /* (non-Javadoc)
115: * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#getSortorder()
116: */
117: public String getSortorder() {
118: return this .sortorder;
119: }
120:
121: /* (non-Javadoc)
122: * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#setSortorder(java.lang.String)
123: */
124: public void setSortorder(String sortorder) {
125: this.sortorder = sortorder;
126:
127: }
128: }
|