Package sk.iway.iwcm.components.gallery
Class GalleryApp
java.lang.Object
sk.iway.iwcm.components.WebjetComponentAbstract
sk.iway.iwcm.components.gallery.GalleryApp
- All Implemented Interfaces:
WebjetComponentInterface
-
Field Summary
Fields inherited from class sk.iway.iwcm.components.WebjetComponentAbstract
appHideFields, cacheMinutes, device, EMPTY_PAGE, showForLoggedUser, wrapperAriaLabel, wrapperClass, wrapperId, wrapperTitle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAppOptions(ComponentRequest componentRequest, jakarta.servlet.http.HttpServletRequest request) Returns list of options for app editor in webpagegetDir()intInteger[]getStyle()Returns additional gallery styles from the installation-specific directory and the common gallery directory.voidinitAppEditor(ComponentRequest componentRequest, jakarta.servlet.http.HttpServletRequest request) Initialization method for app editor in webpagebooleanisAuthor()booleanbooleanbooleanbooleanvoidsetAuthor(boolean author) voidvoidvoidsetItemsOnPage(int itemsOnPage) voidsetLongDescription(boolean longDescription) voidsetOrderBy(String orderBy) voidsetOrderDirection(String orderDirection) voidsetPerexGroup(Integer[] perexGroup) voidsetRecursive(boolean recursive) voidsetShortDescription(boolean shortDescription) voidvoidsetThumbsShortDescription(boolean thumbsShortDescription) Methods inherited from class sk.iway.iwcm.components.WebjetComponentAbstract
addCurrentValueToOptions, addCurrentValueToOptions, addOptions, buildWrapperDiv, getAppHideFields, getBaseAppOptions, getCacheMinutes, getDevice, getShowForLoggedUser, getViewFolder, getWrapperAriaLabel, getWrapperClass, getWrapperId, getWrapperTitle, init, init, isEditorPreview, parseOptionsFromConfig, setAppHideFields, setCacheMinutes, setDevice, setShowForLoggedUser, setViewFolder, setWrapperAriaLabel, setWrapperClass, setWrapperId, setWrapperTitle
-
Constructor Details
-
GalleryApp
public GalleryApp()
-
-
Method Details
-
initAppEditor
public void initAppEditor(ComponentRequest componentRequest, jakarta.servlet.http.HttpServletRequest request) Description copied from class:WebjetComponentAbstractInitialization method for app editor in webpage- Specified by:
initAppEditorin interfaceWebjetComponentInterface- Overrides:
initAppEditorin classWebjetComponentAbstract
-
getAppOptions
public Map<String,List<OptionDto>> getAppOptions(ComponentRequest componentRequest, jakarta.servlet.http.HttpServletRequest request) Description copied from class:WebjetComponentAbstractReturns list of options for app editor in webpage- Specified by:
getAppOptionsin interfaceWebjetComponentInterface- Overrides:
getAppOptionsin classWebjetComponentAbstract
-
getStyleNames
Returns additional gallery styles from the installation-specific directory and the common gallery directory. The installation-specific directory is processed first to match the rendering priority in gallery.jsp.- Returns:
- unique gallery style names
-
getStyle
-
getDir
-
isRecursive
public boolean isRecursive() -
getItemsOnPage
public int getItemsOnPage() -
getOrderBy
-
getOrderDirection
-
isThumbsShortDescription
public boolean isThumbsShortDescription() -
isShortDescription
public boolean isShortDescription() -
isLongDescription
public boolean isLongDescription() -
isAuthor
public boolean isAuthor() -
getPerexGroup
-
getIframe
-
setStyle
-
setDir
-
setRecursive
public void setRecursive(boolean recursive) -
setItemsOnPage
public void setItemsOnPage(int itemsOnPage) -
setOrderBy
-
setOrderDirection
-
setThumbsShortDescription
public void setThumbsShortDescription(boolean thumbsShortDescription) -
setShortDescription
public void setShortDescription(boolean shortDescription) -
setLongDescription
public void setLongDescription(boolean longDescription) -
setAuthor
public void setAuthor(boolean author) -
setPerexGroup
-
setIframe
-