|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.gouv.culture.sdx.documentbase.DocumentBaseSourceValidity
A source validity for a document base.
The source is not valid is the document base has been updated.
This is used to cache pages when document base has not been updated.
| Field Summary |
| Fields inherited from interface org.apache.excalibur.source.SourceValidity |
INVALID, UNKNOWN, UNKNWON, VALID |
| Constructor Summary | |
DocumentBaseSourceValidity(DocumentBase d)
Creates a source validity from a document base. |
|
| Method Summary | |
long |
getTimeStamp()
Returns the current timestamp |
int |
isValid()
Checks to see if it is valid. |
int |
isValid(org.apache.excalibur.source.SourceValidity newValidity)
Checks to see if it is valid agains a new validity. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DocumentBaseSourceValidity(DocumentBase d)
d - The document base.| Method Detail |
public int isValid()
isValid in interface org.apache.excalibur.source.SourceValiditypublic int isValid(org.apache.excalibur.source.SourceValidity newValidity)
isValid in interface org.apache.excalibur.source.SourceValiditynewValidity - The new validity object.public long getTimeStamp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||