SearchContext.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */

  20. package org.openspcoop2.utils.logger.beans.context.core.search;

  21. import java.io.Serializable;
  22. import java.util.Date;

  23. import org.openspcoop2.utils.logger.beans.BasicPaginatedSearchContext;
  24. import org.openspcoop2.utils.logger.beans.context.core.Actor;
  25. import org.openspcoop2.utils.logger.beans.context.core.Operation;
  26. import org.openspcoop2.utils.logger.beans.context.core.Role;
  27. import org.openspcoop2.utils.logger.beans.context.core.Service;

  28. /**
  29.  * SearchContext
  30.  *
  31.  * @author Poli Andrea (apoli@link.it)
  32.  * @author $Author$
  33.  * @version $Rev$, $Date$
  34.  */
  35. public class SearchContext extends BasicPaginatedSearchContext implements Serializable {

  36.     /**
  37.      *
  38.      */
  39.     private static final long serialVersionUID = 1L;
  40.    
  41.     private Date leftIntervalDate;
  42.     private Date rightIntervalDate;
  43.    
  44.     private String state;
  45.    
  46.     private ResultSearch result;
  47.    
  48.     private String domain;
  49.     private Role role;
  50.    
  51.     private Actor from;
  52.     private Actor to;
  53.    
  54.     private Service service;
  55.     private Operation operation;
  56.    
  57.     private String clientName;
  58.     private String clientPrincipal;

  59.     private String serverName;
  60.    
  61.     private IdentifierGroupSearch identifierSearch;

  62.     public String getClientName() {
  63.         return this.clientName;
  64.     }

  65.     public void setClientName(String clientName) {
  66.         this.clientName = clientName;
  67.     }

  68.     public String getClientPrincipal() {
  69.         return this.clientPrincipal;
  70.     }

  71.     public void setClientPrincipal(String clientPrincipal) {
  72.         this.clientPrincipal = clientPrincipal;
  73.     }

  74.     public String getServerName() {
  75.         return this.serverName;
  76.     }

  77.     public void setServerName(String serverName) {
  78.         this.serverName = serverName;
  79.     }
  80.    
  81.     public IdentifierGroupSearch getIdentifierSearch() {
  82.         return this.identifierSearch;
  83.     }

  84.     public void setIdentifierSearch(IdentifierGroupSearch identifierSearch) {
  85.         this.identifierSearch = identifierSearch;
  86.     }

  87.     public Date getLeftIntervalDate() {
  88.         return this.leftIntervalDate;
  89.     }

  90.     public void setLeftIntervalDate(Date leftIntervalDate) {
  91.         this.leftIntervalDate = leftIntervalDate;
  92.     }

  93.     public Date getRightIntervalDate() {
  94.         return this.rightIntervalDate;
  95.     }

  96.     public void setRightIntervalDate(Date rightIntervalDate) {
  97.         this.rightIntervalDate = rightIntervalDate;
  98.     }

  99.     public String getState() {
  100.         return this.state;
  101.     }

  102.     public void setState(String state) {
  103.         this.state = state;
  104.     }

  105.     public ResultSearch getResult() {
  106.         return this.result;
  107.     }

  108.     public void setResult(ResultSearch result) {
  109.         this.result = result;
  110.     }

  111.     public String getDomain() {
  112.         return this.domain;
  113.     }

  114.     public void setDomain(String domain) {
  115.         this.domain = domain;
  116.     }

  117.     public Role getRole() {
  118.         return this.role;
  119.     }

  120.     public void setRole(Role role) {
  121.         this.role = role;
  122.     }

  123.     public Actor getFrom() {
  124.         return this.from;
  125.     }

  126.     public void setFrom(Actor from) {
  127.         this.from = from;
  128.     }

  129.     public Actor getTo() {
  130.         return this.to;
  131.     }

  132.     public void setTo(Actor to) {
  133.         this.to = to;
  134.     }

  135.     public Service getService() {
  136.         return this.service;
  137.     }

  138.     public void setService(Service service) {
  139.         this.service = service;
  140.     }

  141.     public Operation getOperation() {
  142.         return this.operation;
  143.     }

  144.     public void setOperation(Operation operation) {
  145.         this.operation = operation;
  146.     }


  147. }