Changeset 8858 for trunk/Jav_BDP/com/scenari/m/bdp/facet/SourceFacet.java
- Timestamp:
- 03/03/07 21:56:31 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Jav_BDP/com/scenari/m/bdp/facet/SourceFacet.java
r6862 r8858 30 30 public class SourceFacet implements IHSource { 31 31 32 /** Constante spécifiant de prendre la date de dernière modif de la source enveloppée par cet objet. */ 33 public static final long GET_WRAPPED_SOURCE = -99; 34 32 35 IHSource fSource = null; 33 36 34 long fLastUpdt = -1;37 long fLastUpdt = GET_WRAPPED_SOURCE; 35 38 36 39 String fContentType = null; … … 91 94 92 95 public long hGetLastModif() throws Exception { 93 if(fLastUpdt >=0) return fLastUpdt;96 if(fLastUpdt != GET_WRAPPED_SOURCE) return fLastUpdt; 94 97 return fSource.hGetLastModif(); 95 98 } 96 99 97 100 public long hGetLastModifWithChilds() throws Exception { 98 if(fLastUpdt >=0) return fLastUpdt;101 if(fLastUpdt!= GET_WRAPPED_SOURCE) return fLastUpdt; 99 102 return fSource.hGetLastModifWithChilds(); 100 103 }
Note: See TracChangeset
for help on using the changeset viewer.