Subversion Repositories eFlore/Applications.del

Rev

Rev 311 | Rev 349 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 311 Rev 335
Line 1... Line 1...
1
package org.tela_botanica.del.client.cache;
1
package org.tela_botanica.del.client.cache;
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
import java.util.List;
3
import java.util.List;
-
 
4
 
4
 
5
import org.tela_botanica.del.client.modeles.Image;
5
import org.tela_botanica.del.client.modeles.Image;
6
import org.tela_botanica.del.client.modeles.InformationsRecherche;
Line 6... Line 7...
6
import org.tela_botanica.del.client.modeles.Observation;
7
import org.tela_botanica.del.client.modeles.Observation;
Line 12... Line 13...
12
	private Image imageCourante;
13
	private Image imageCourante;
13
	private String taxonPourRechercheEflore;
14
	private String taxonPourRechercheEflore;
14
	private Protocole protocoleCourant;
15
	private Protocole protocoleCourant;
15
	private List<Image> images;
16
	private List<Image> images;
16
	private int numPageRechercheImage = 0;
17
	private int numPageRechercheImage = 0;
17
	
18
 
18
	private int pasPagination = 10;
19
	private int pasPagination = 10;
19
	private int pageCouranteRecherche = 0;
20
	private int pageCouranteRecherche = 0;
20
	private String especeRecherche = "";
21
	private InformationsRecherche informationsRechercheImage;
-
 
22
	private InformationsRecherche informationsRechercheObservation;
21
	
23
 
22
	private static CacheClient instance;
24
	private static CacheClient instance;
Line 23... Line 25...
23
 
25
 
24
	private CacheClient() {
26
	private CacheClient() {
25
		instance = this;
27
		instance = this;
Line 50... Line 52...
50
 
52
 
51
	public int getNumPageRechercheImage() {
53
	public int getNumPageRechercheImage() {
52
		return numPageRechercheImage;
54
		return numPageRechercheImage;
Line 53... Line 55...
53
	}
55
	}
54
 
56
 
55
	//Pour la recherche  : 
57
	// Pour la recherche :
56
	public int getPasPagination() {
58
	public int getPasPagination() {
57
		return pasPagination;
59
		return pasPagination;
58
	}
60
	}
59
	
61
 
60
	public void setPasPagination(int pasPagination) {
62
	public void setPasPagination(int pasPagination) {
61
		this.pasPagination = pasPagination;
63
		this.pasPagination = pasPagination;
62
	}
-
 
63
	
-
 
64
	public String getEspeceRecherche() {
-
 
65
		return especeRecherche;
-
 
66
	}
-
 
67
	
-
 
68
	public void setEspeceRecherche(String especeRecherche) {
-
 
69
		this.especeRecherche = especeRecherche;
-
 
70
	}
64
	}
71
	
65
 
72
	public void setPageCouranteRecherche(int pageCouranteRecherche) {
66
	public void setPageCouranteRecherche(int pageCouranteRecherche) {
73
		this.pageCouranteRecherche = pageCouranteRecherche;
67
		this.pageCouranteRecherche = pageCouranteRecherche;
74
	}
68
	}
75
	
69
 
76
	public int getPageCouranteRecherche() {
70
	public int getPageCouranteRecherche() {
Line 77... Line 71...
77
		return this.pageCouranteRecherche;
71
		return this.pageCouranteRecherche;
Line 106... Line 100...
106
 
100
 
107
	public void setProtocoleCourant(Protocole protocoleCourant) {
101
	public void setProtocoleCourant(Protocole protocoleCourant) {
108
		this.protocoleCourant = protocoleCourant;
102
		this.protocoleCourant = protocoleCourant;
Line -... Line 103...
-
 
103
	}
-
 
104
 
-
 
105
	public InformationsRecherche getInformationsRechercheImage() {
-
 
106
		return informationsRechercheImage;
-
 
107
	}
-
 
108
 
-
 
109
	public InformationsRecherche getInformationsRechercheObservation() {
-
 
110
		return informationsRechercheObservation;
-
 
111
	}
-
 
112
 
-
 
113
	public void setInformationsRechercheImage(InformationsRecherche informationsRechercheImage) {
-
 
114
		this.informationsRechercheImage = informationsRechercheImage;
-
 
115
	}
-
 
116
 
-
 
117
	public void setInformationsRechercheObservation(InformationsRecherche informationsRechercheObservation) {
-
 
118
		this.informationsRechercheObservation = informationsRechercheObservation;
109
	}
119
	}