Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1136 Rev 1150
Line 11... Line 11...
11
 
11
 
12
	private static final long serialVersionUID = 7216356814682582569L;
12
	private static final long serialVersionUID = 7216356814682582569L;
13
	private static final String PREFIXE = "ccm";
13
	private static final String PREFIXE = "ccm";
14
	private Collection collection = null;
14
	private Collection collection = null;
-
 
15
	private CollectionACommentaire collectionACommentaire = null;
Line 15... Line 16...
15
	private CollectionACommentaire collectionACommentaire = null;
16
	public static String[] champsObligatoires = {"ccm_id_commentaire"};
16
	
17
	
Line 17... Line 18...
17
	public Commentaire() {	
18
	public Commentaire() {	
Line 39... Line 40...
39
	@Override
40
	@Override
40
	protected String getPrefixe() {
41
	protected String getPrefixe() {
41
		return PREFIXE;
42
		return PREFIXE;
42
	}
43
	}
Line -... Line 44...
-
 
44
	
-
 
45
	protected String[] getChampsObligatoires()	{
-
 
46
		return champsObligatoires;
-
 
47
	}
43
	
48
	
44
	private void initialiserChampsPourGrille() {
49
	private void initialiserChampsPourGrille() {
45
		set("_collection_nom_", getCollection().getNom());
50
		set("_collection_nom_", getCollection().getNom());
46
		set("_type_", getCollectionACommentaire().getType());
51
		set("_type_", getCollectionACommentaire().getType());
47
		set("_titre_", getTitre());
52
		set("_titre_", getTitre());