Subversion Repositories eFlore/Applications.coel

Rev

Rev 1513 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1513 Rev 1733
Line 46... Line 46...
46
	protected String[] getChampsObligatoires()	{
46
    protected String[] getChampsObligatoires() {
47
		return champsObligatoires;
47
	return champsObligatoires;
48
	}
48
    }
Line 49... Line 49...
49
	
49
	
50
	// ACTION
50
    // ACTION
-
 
51
    public Integer getAction() {
-
 
52
	if (renvoyerValeurCorrecte("mark_action").equals("")) {
-
 
53
	    return null;
51
	public String getAction() {
54
	}
52
		return renvoyerValeurCorrecte("mark_action");
55
	return Integer.parseInt(renvoyerValeurCorrecte("mark_action"));
53
	}
56
    }
54
	public void setAction(String a) {
57
    public void setAction(String a) {
55
		this.set("mark_action", a);
58
	this.set("mark_action", a != null ? Integer.parseInt(a) : null);
Line 56... Line 59...
56
	}
59
    }
57
	
60
	
58
	// ACTION INFO
61
    // ACTION INFO
Line 84... Line 87...
84
	public void setCollectionAutre(String type, Object valeur) {
87
    public void setCollectionAutre(String type, Object valeur) {
85
		remplacerTypeDansChaineDenormalise("collection_autre", type, valeur);
88
	remplacerTypeDansChaineDenormalise("collection_autre", type, valeur);
86
	}
89
    }
Line 87... Line 90...
87
	
90
	
88
	// ACTION FUTURE
91
    // ACTION FUTURE
-
 
92
    public Integer getActionFuture() {
-
 
93
	if (renvoyerValeurCorrecte("mark_action_future").equals("")) {
-
 
94
	    return null;
89
	public String getActionFuture() {
95
	}
90
		return renvoyerValeurCorrecte("mark_action_future");
96
	return Integer.parseInt(renvoyerValeurCorrecte("mark_action_future"));
91
	}
97
    }
92
	public void setActionFuture(String af) {
98
    public void setActionFuture(String af) {
93
		this.set("mark_action_future", af);
99
	this.set("mark_action_future", af != null ? Integer.parseInt(af) : null);
Line 94... Line 100...
94
	}
100
    }
95
	
101
	
96
	// ACTION FUTURE INFO
102
    // ACTION FUTURE INFO
Line 101... Line 107...
101
		this.set("action_future", af);
107
	this.set("action_future", af);
102
	}
108
    }
Line 103... Line 109...
103
 
109
 
104
	
110
	
-
 
111
    // RECHERCHE
-
 
112
    public Integer getRecherche() {
-
 
113
	if (renvoyerValeurCorrecte("mark_recherche").equals("")) {
105
	// RECHERCHE
114
	    return null;
-
 
115
	}
106
	public String getRecherche() {
116
	return Integer.parseInt(renvoyerValeurCorrecte("mark_recherche"));
107
		return renvoyerValeurCorrecte("mark_recherche");
117
 
108
	}
118
    }
109
	public void setRecherche(String r) {
119
    public void setRecherche(String r) {
Line 110... Line 120...
110
		this.set("mark_recherche", r);
120
	this.set("mark_recherche", r != null ? Integer.parseInt(r) : null);
111
	}
121
    }
112
	
122
	
Line 131... Line 141...
131
	public void setRechercheType(String type, Object valeur) {
141
    public void setRechercheType(String type, Object valeur) {
132
		remplacerTypeDansChaineDenormalise("truk_recherche_type", type, valeur);
142
	remplacerTypeDansChaineDenormalise("truk_recherche_type", type, valeur);
133
	}
143
    }
Line 134... Line 144...
134
	
144
	
135
	// ACCES SANS MOTIF
145
    // ACCES SANS MOTIF
-
 
146
    public Integer getAccesSansMotif() {
-
 
147
	if (renvoyerValeurCorrecte("mark_acces_ss_motif").equals("")) {
-
 
148
	    return null;
136
	public String getAccesSansMotif() {
149
	}
-
 
150
	return Integer.parseInt(renvoyerValeurCorrecte("mark_acces_ss_motif"));
137
		return renvoyerValeurCorrecte("mark_acces_ss_motif");
151
 
138
	}
152
    }
139
	public void setAccesSansMotif(String asm) {
153
    public void setAccesSansMotif(String asm) {
140
		this.set("mark_acces_ss_motif", asm);
154
	this.set("mark_acces_ss_motif", asm != null ? Integer.parseInt(asm) : null);
Line 141... Line 155...
141
	}
155
    }
142
	
156
	
143
	// ACCES SANS MOTIF INFO
157
    // ACCES SANS MOTIF INFO
Line 147... Line 161...
147
	public void setAccesSansMotifInfo(String asm) {
161
    public void setAccesSansMotifInfo(String asm) {
148
		this.set("acces_ss_motif", asm);
162
	this.set("acces_ss_motif", asm);
149
	}
163
    }
Line 150... Line 164...
150
	
164
	
151
	// VISITE AVEC MOTIF
165
    // VISITE AVEC MOTIF
-
 
166
    public Integer getVisiteAvecMotif() {
-
 
167
	if (renvoyerValeurCorrecte("mark_visite_avec_motif").equals("")) {
-
 
168
	    return null;
152
	public String getVisiteAvecMotif() {
169
	}
-
 
170
	return Integer.parseInt(renvoyerValeurCorrecte("mark_visite_avec_motif"));
153
		return renvoyerValeurCorrecte("mark_visite_avec_motif");
171
 
154
	}
172
    }
155
	public void setVisiteAvecMotif(String vam) {
173
    public void setVisiteAvecMotif(String vam) {
156
		this.set("mark_visite_avec_motif", vam);
174
	this.set("mark_visite_avec_motif", vam != null ? Integer.parseInt(vam) : null);
Line 157... Line 175...
157
	}
175
    }
158
	
176
	
159
	// VISITE AVEC MOTIF INFO
177
    // VISITE AVEC MOTIF INFO