Package org.javlo.module.file
Class FileBean
- java.lang.Object
-
- org.javlo.module.file.FileBean
-
- All Implemented Interfaces:
LanguageListSorter.ILanguage
,ITaxonomyContainer
public class FileBean extends Object implements LanguageListSorter.ILanguage, ITaxonomyContainer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileBean.FileBeanComparator
-
Constructor Summary
Constructors Constructor Description FileBean(ContentContext ctx, File file)
FileBean(ContentContext ctx, File file, String beanLanguage)
FileBean(ContentContext ctx, StaticInfo staticInfo)
-
Method Summary
-
-
-
Constructor Detail
-
FileBean
public FileBean(ContentContext ctx, File file)
-
FileBean
public FileBean(ContentContext ctx, File file, String beanLanguage)
-
FileBean
public FileBean(ContentContext ctx, StaticInfo staticInfo)
-
-
Method Detail
-
getURL
public String getURL()
-
getAbsoluteURL
public String getAbsoluteURL()
-
isImage
public boolean isImage()
-
isEditable
public boolean isEditable()
-
isVideo
public boolean isVideo()
-
getFileExtension
public String getFileExtension()
-
getType
public String getType()
-
getDynamicUrl
public String getDynamicUrl()
-
getStaticInfo
public StaticInfo getStaticInfo()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getKeywords
public String getKeywords()
-
getReference
public String getReference()
-
getLanguage
public String getLanguage()
-
getLocation
public String getLocation()
-
getDateTime
public String getDateTime()
-
getDate
public String getDate()
-
getSortableDate
public String getSortableDate() throws ParseException
- Throws:
ParseException
-
getManualDate
public String getManualDate()
-
getCreationDate
public String getCreationDate()
-
getTitle
public String getTitle()
-
getCopyright
public String getCopyright()
-
getAuthors
public String getAuthors()
-
getId
public String getId()
-
getFocusZoneX
public int getFocusZoneX()
-
getFocusZoneY
public int getFocusZoneY()
-
getSize
public String getSize()
-
getSortableSize
public String getSortableSize()
-
main
public static void main(String[] args)
-
getPosition
public StaticInfo.Position getPosition()
-
getManType
public String getManType()
-
isShared
public boolean isShared()
-
isDirectory
public boolean isDirectory()
-
getPopularity
public int getPopularity()
-
getPath
public String getPath()
-
isFoundInContent
public boolean isFoundInContent()
-
addTranslation
public void addTranslation(FileBean fileBean)
-
getBeanLanguage
public String getBeanLanguage()
-
setBeanLanguage
public void setBeanLanguage(String beanLanguage)
-
getSortLanguage
public String getSortLanguage()
- Specified by:
getSortLanguage
in interfaceLanguageListSorter.ILanguage
-
getVersionHash
public String getVersionHash()
-
isJpeg
public boolean isJpeg()
-
isToJpeg
public boolean isToJpeg()
-
getTaxonomy
public Set<String> getTaxonomy()
- Specified by:
getTaxonomy
in interfaceITaxonomyContainer
-
getTaxonomySelect
public String getTaxonomySelect()
-
getLastDayVisit
public int getLastDayVisit() throws ServiceException, IOException
- Throws:
ServiceException
IOException
-
getLastMountVisit
public int getLastMountVisit() throws ServiceException, IOException
- Throws:
ServiceException
IOException
-
getLastYearVisit
public int getLastYearVisit() throws ServiceException, IOException
- Throws:
ServiceException
IOException
-
getWeight
public int getWeight()
-
setWeight
public void setWeight(int weight)
-
-