Package sk.iway.iwcm.gallery
Class GalleryActionBean
java.lang.Object
sk.iway.iwcm.system.stripes.WebJETActionBean
sk.iway.iwcm.gallery.GalleryActionBean
- All Implemented Interfaces:
net.sourceforge.stripes.action.ActionBean,IncludeRequestWrapperInterface
-
Field Summary
Fields inherited from class sk.iway.iwcm.system.stripes.WebJETActionBean
context, RESOLUTION_CLOSE, RESOLUTION_CONTINUE, RESOLUTION_CSRF, RESOLUTION_NOT_LOGGED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.sourceforge.stripes.action.ResolutionbooleangetDir()intintgetimg()intintbooleangetStyle()intgetWidth()booleanisAuthor()booleanbooleanbooleanbooleannet.sourceforge.stripes.action.ResolutionSave image from pixabay URL into WebJETvoidsetAuthor(boolean author) voidvoidsetHeight(int height) voidsetImagesInRow(int imagesInRow) voidvoidsetItemsCount(int itemsCount) voidsetItemsOnPage(int itemsOnPage) voidsetLongDescription(boolean longDescription) voidsetOrderBy(String orderBy) voidsetOrderDirection(String orderDirection) voidsetPerexGroup(String perexGroup) voidsetPhotoList(List<GalleryBean> photoList) voidsetRecursive(boolean recursive) voidsetShortDescription(boolean shortDescription) voidvoidsetThumbsShortDescription(boolean thumbsShortDescription) voidsetVirtualPath(String virtualPath) voidsetWidth(int width) Methods inherited from class sk.iway.iwcm.system.stripes.WebJETActionBean
getContext, getCurrentUser, getRequest, getSession, isAdminLogged, isAdminLoggedWithPerms, isAnyUserLogged, prepareIncludeRequestWrapper, removeIncludeRequestWrapper, setContext, setErrorTextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface sk.iway.iwcm.system.stripes.IncludeRequestWrapperInterface
prepareIncludeRequestWrapper, removeIncludeRequestWrapper
-
Constructor Details
-
GalleryActionBean
public GalleryActionBean()
-
-
Method Details
-
defaultEvent
@DefaultHandler public net.sourceforge.stripes.action.Resolution defaultEvent() -
getPerexGroup
-
setPerexGroup
-
getDir
-
setDir
-
isRecursive
public boolean isRecursive() -
setRecursive
public void setRecursive(boolean recursive) -
getOrderBy
-
setOrderBy
-
getOrderDirection
-
setOrderDirection
-
getPhotoList
-
setPhotoList
-
getPagination
public boolean getPagination() -
getItemsCount
public int getItemsCount() -
setItemsCount
public void setItemsCount(int itemsCount) -
getItemsOnPage
public int getItemsOnPage() -
setItemsOnPage
public void setItemsOnPage(int itemsOnPage) -
getStyle
-
setStyle
-
getStyles
-
getAlsoTags
public boolean getAlsoTags() -
saveImage
public net.sourceforge.stripes.action.Resolution saveImage()Save image from pixabay URL into WebJET- Returns:
-
getimg
-
setImg
-
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
getVirtualPath
-
setVirtualPath
-
isShortDescription
public boolean isShortDescription() -
setShortDescription
public void setShortDescription(boolean shortDescription) -
isLongDescription
public boolean isLongDescription() -
setLongDescription
public void setLongDescription(boolean longDescription) -
isAuthor
public boolean isAuthor() -
setAuthor
public void setAuthor(boolean author) -
getImagesInRow
public int getImagesInRow() -
setImagesInRow
public void setImagesInRow(int imagesInRow) -
isThumbsShortDescription
public boolean isThumbsShortDescription() -
setThumbsShortDescription
public void setThumbsShortDescription(boolean thumbsShortDescription)
-