Package sk.iway.iwcm.gallery
Class GalleryBean
java.lang.Object
sk.iway.iwcm.gallery.GalleryBean
GalleryBean.java - informacie o obrazku z DB
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDescriptionByLng
(String lng, String item) int
Vrati URL k obrazku ako imagePath+/+imageNameString[]
int
int
int
int
int
vrati short description, tak aby neobsahoval \nint
Returns bean property uploadDate, if it ist null, tries to find file corresponding to this bean, if found, returns date of last modification of this file, if not found returns nullboolean
void
setAllowedDomains
(String allowedDomains) void
void
setBigDimension
(String bigDimension) void
setBigLength
(String bigLength) void
setCyclicViewing
(boolean cyclicViewing) void
setImageId
(int imageId) void
setImageName
(String imageName) void
setImagePath
(String imagePath) void
setLongDescription
(String longDescription) void
setNextImage
(String nextImage) void
setOriginalImage
(String originalImage) void
setPerexGroup
(String[] perexGroup) void
setPrevImage
(String prevImage) void
setSelectedHeight
(int selectedHeight) void
setSelectedWidth
(int selectedWidth) void
setSelectedX
(int selectedX) void
setSelectedY
(int selectedY) void
setSendCount
(int sendCount) void
setShortDescription
(String shortDescription) void
setSortPriority
(int sortPriority) void
setUploadDate
(Date uploadDate) toString()
-
Constructor Details
-
GalleryBean
public GalleryBean()
-
-
Method Details
-
getImageUrl
Vrati URL k obrazku ako imagePath+/+imageName- Returns:
-
getImagePath
-
setImagePath
-
setImageName
-
getImageName
-
setShortDescription
-
getShortDescription
-
getDescriptionByLng
-
getAuthor
-
setAuthor
-
getShortDescriptionJS
vrati short description, tak aby neobsahoval \n- Returns:
-
setLongDescription
-
getLongDescription
-
getLongDescriptionJS
-
setImageId
public void setImageId(int imageId) -
getImageId
public int getImageId() -
getBigDimension
-
setBigDimension
-
getBigLength
-
setBigLength
-
getNextImage
-
setNextImage
-
getPrevImage
-
setPrevImage
-
setOriginalImage
-
getOriginalImage
-
getSendCount
public int getSendCount() -
setSendCount
public void setSendCount(int sendCount) -
getAllowedDomains
-
setAllowedDomains
-
getPerexGroup
-
setPerexGroup
-
getSelectedX
public int getSelectedX() -
setSelectedX
public void setSelectedX(int selectedX) -
getSelectedY
public int getSelectedY() -
setSelectedY
public void setSelectedY(int selectedY) -
getSelectedWidth
public int getSelectedWidth() -
setSelectedWidth
public void setSelectedWidth(int selectedWidth) -
getSelectedHeight
public int getSelectedHeight() -
setSelectedHeight
public void setSelectedHeight(int selectedHeight) -
getUploadDate
Returns bean property uploadDate, if it ist null, tries to find file corresponding to this bean, if found, returns date of last modification of this file, if not found returns null- Returns:
-
getUploadDateNull
-
setUploadDate
-
setSortPriority
public void setSortPriority(int sortPriority) -
getSortPriority
public int getSortPriority() -
isCyclicViewing
public boolean isCyclicViewing() -
setCyclicViewing
public void setCyclicViewing(boolean cyclicViewing) -
toString
-