View Javadoc
1   /*
2    * Copyright (C) 2003-2007 eXo Platform SAS.
3    *
4    * This program is free software; you can redistribute it and/or
5    * modify it under the terms of the GNU Affero General Public License
6    * as published by the Free Software Foundation; either version 3
7    * of the License, or (at your option) any later version.
8    *
9    * This program is distributed in the hope that it will be useful,
10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   * GNU General Public License for more details.
13   *
14   * You should have received a copy of the GNU General Public License
15   * along with this program; if not, see<http://www.gnu.org/licenses/>.
16   */
17  package org.exoplatform.services.cms.queries.impl;
18  
19  import java.util.List;
20  
21  /**
22   * Created by The eXo Platform SARL
23   * Author : Nguyen Quang Hung
24   *          nguyenkequanghung@yahoo.com
25   * mar 02, 2007
26   */
27  public class QueryData{
28  
29    private String name ;
30    private String language ;
31    private String statement ;
32    private List<String> permissions ;
33    private boolean cachedResult ;
34  
35    public  QueryData(){}
36  
37    public String getName() { return this.name ; }
38    public void setName(String name) { this.name = name ; }
39  
40    public String getLanguage() { return this.language ; }
41    public void setLanguage(String l) { this.language = l ; }
42  
43    public List<String> getPermissions() { return this.permissions ; }
44    public void setPermissions(List<String> permission) { this.permissions = permission ; }
45  
46    public String getStatement() { return this.statement ; }
47    public void setStatement(String s) { this.statement = s ; }
48  
49    public boolean getCacheResult() { return this.cachedResult ; }
50    public void setCacheResult(boolean r) { this.cachedResult = r ; }
51  }