View Javadoc

1   /*
2   * Licensed to the Apache Software Foundation (ASF) under one or more
3   * contributor license agreements.  See the NOTICE file distributed with
4   * this work for additional information regarding copyright ownership.
5   * The ASF licenses this file to You under the Apache License, Version 2.0
6   * (the "License"); you may not use this file except in compliance with
7   * the License.  You may obtain a copy of the License at
8   *
9   *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17  package org.apache.jetspeed.statistics.impl;
18  
19  import org.apache.jetspeed.statistics.StatisticsQueryCriteria;
20  
21  public class StatisticsQueryCriteriaImpl implements StatisticsQueryCriteria
22  {
23  
24      private String user;
25  
26      private String timePeriod;
27  
28      private String queryType;
29  
30      private String listsize;
31  
32      private String sorttype;
33  
34      private String sortorder;
35  
36      /***
37       * @return Returns the ipAddress.
38       */
39      public String getTimePeriod()
40      {
41          return timePeriod;
42      }
43  
44      /***
45       * @param ipAddress
46       *            The ipAddress to set.
47       */
48      public void setTimePeriod(String ipAddress)
49      {
50          this.timePeriod = ipAddress;
51      }
52  
53      /***
54       * @return Returns the user.
55       */
56      public String getUser()
57      {
58          return user;
59      }
60  
61      /***
62       * @param user
63       *            The user to set.
64       */
65      public void setUser(String user)
66      {
67          this.user = user;
68      }
69  
70      /*
71       * (non-Javadoc)
72       * 
73       * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#getQueryType()
74       */
75      public String getQueryType()
76      {
77  
78          return queryType;
79      }
80  
81      /*
82       * (non-Javadoc)
83       * 
84       * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#setQueryType(java.lang.String)
85       */
86      public void setQueryType(String queryType)
87      {
88          this.queryType = queryType;
89      }
90  
91      /* (non-Javadoc)
92       * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#getListsize()
93       */
94      public String getListsize()
95      {
96          return this.listsize;
97      }
98  
99      /* (non-Javadoc)
100      * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#getSorttype()
101      */
102     public String getSorttype()
103     {
104         return this.sorttype;
105     }
106 
107     /* (non-Javadoc)
108      * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#setListsize(java.lang.String)
109      */
110     public void setListsize(String listsize)
111     {
112         this.listsize = listsize;
113 
114     }
115 
116     /* (non-Javadoc)
117      * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#setSorttype(java.lang.String)
118      */
119     public void setSorttype(String sorttype)
120     {
121         this.sorttype = sorttype;
122     }
123 
124     /* (non-Javadoc)
125      * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#getSortorder()
126      */
127     public String getSortorder()
128     {
129         return this.sortorder;
130     }
131 
132     /* (non-Javadoc)
133      * @see org.apache.jetspeed.statistics.StatisticsQueryCriteria#setSortorder(java.lang.String)
134      */
135     public void setSortorder(String sortorder)
136     {
137         this.sortorder = sortorder;
138 
139     }
140 }