Class HashCache.UriData
java.lang.Object
org.ametys.plugins.core.ui.minimize.HashCache.UriData
- Enclosing class:
- HashCache
The description of an URI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the file last modified dategetMedia()
Get the file mediasgetUri()
Get the file uriint
hashCode()
boolean
Check if the file is a first level filevoid
setLastModified
(Long lastModified) Set the last modified valuevoid
set the medias valuetoString()
-
Constructor Details
-
UriData
Default constructor for a file data- Parameters:
uri
- The uri locating the filefirstLevel
- False if the file data is an import from another file data
-
-
Method Details
-
setLastModified
Set the last modified value- Parameters:
lastModified
- the lastModified to set
-
setMedia
set the medias value- Parameters:
media
- the medias to set
-
getUri
Get the file uri- Returns:
- the uri
-
getLastModified
Get the file last modified date- Returns:
- the lastModified
-
getMedia
Get the file medias- Returns:
- the medias
-
isFirstLevel
Check if the file is a first level file- Returns:
- True if the file is first level
-
equals
-
hashCode
-
toString
-