Class HashCache.UriData
- java.lang.Object
-
- org.ametys.plugins.core.ui.minimize.HashCache.UriData
-
- Enclosing class:
- HashCache
public static class HashCache.UriData extends Object
The description of an URI
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
_firstLevel
private Long
_lastModified
private String
_media
private String
_uri
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Long
getLastModified()
Get the file last modified dateString
getMedia()
Get the file mediasString
getUri()
Get the file uriint
hashCode()
boolean
isFirstLevel()
Check if the file is a first level filevoid
setLastModified(Long lastModified)
Set the last modified valuevoid
setMedia(String media)
set the medias valueString
toString()
-
-
-
Field Detail
-
_lastModified
private Long _lastModified
-
_firstLevel
private boolean _firstLevel
-
-
Method Detail
-
setLastModified
public void setLastModified(Long lastModified)
Set the last modified value- Parameters:
lastModified
- the lastModified to set
-
setMedia
public void setMedia(String media)
set the medias value- Parameters:
media
- the medias to set
-
getLastModified
public Long getLastModified()
Get the file last modified date- Returns:
- the lastModified
-
isFirstLevel
public boolean isFirstLevel()
Check if the file is a first level file- Returns:
- True if the file is first level
-
-