Package sk.iway.iwcm.components.news
Class NewsApp
java.lang.Object
sk.iway.iwcm.components.WebjetComponentAbstract
sk.iway.iwcm.components.news.NewsApp
- All Implemented Interfaces:
WebjetComponentInterface
- Direct Known Subclasses:
NewsActionBean
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected Stringprotected intprotected List<GroupDetails>protected booleanprotected intprotected Stringprotected intprotected booleanprotected int[]protected int[]protected booleanprotected Stringprotected intprotected StringFields inherited from class sk.iway.iwcm.components.WebjetComponentAbstract
appHideFields, cacheMinutes, device, 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 webpageintintgetOrder()intint[]int[]intbooleanbooleanbooleanbooleanbooleanisPaging()booleanvoidsetAlsoSubGroups(boolean alsoSubGroups) voidsetAscending(boolean ascending) voidsetCheckDuplicity(boolean checkDuplicity) voidsetContextClasses(String contextClasses) voidsetDocMode(int docMode) voidsetGroupIds(List<GroupDetails> groupIds) voidsetLoadData(boolean loadData) voidsetNewsTemplatesRepository(NewsTemplatesRepository newsTemplatesRepository) voidsetOffset(int offset) voidvoidsetPageSize(int pageSize) voidsetPaging(boolean paging) voidsetPerexGroup(int[] perexGroup) voidsetPerexGroupNot(int[] perexGroupNot) voidsetPerexNotRequired(boolean perexNotRequired) voidsetPublishType(String publishType) voidsetSubGroupsDepth(int subGroupsDepth) voidsetTemplate(String template) 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, initAppEditor, setAppHideFields, setCacheMinutes, setDevice, setShowForLoggedUser, setViewFolder, setWrapperAriaLabel, setWrapperClass, setWrapperId, setWrapperTitle
-
Field Details
-
groupIds
-
alsoSubGroups
protected boolean alsoSubGroups -
subGroupsDepth
protected int subGroupsDepth -
publishType
-
perexNotRequired
protected boolean perexNotRequired -
docMode
protected int docMode -
order
-
ascending
protected boolean ascending -
paging
protected boolean paging -
pageSize
protected int pageSize -
offset
protected int offset -
loadData
protected boolean loadData -
checkDuplicity
protected boolean checkDuplicity -
contextClasses
-
template
-
perexGroup
protected int[] perexGroup -
perexGroupNot
protected int[] perexGroupNot
-
-
Constructor Details
-
NewsApp
-
NewsApp
public NewsApp()
-
-
Method Details
-
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
-
getNewsTemplatesRepository
-
getGroupIds
-
isAlsoSubGroups
public boolean isAlsoSubGroups() -
getSubGroupsDepth
public int getSubGroupsDepth() -
getPublishType
-
isPerexNotRequired
public boolean isPerexNotRequired() -
getDocMode
public int getDocMode() -
getOrder
-
isAscending
public boolean isAscending() -
isPaging
public boolean isPaging() -
getPageSize
public int getPageSize() -
getOffset
public int getOffset() -
isLoadData
public boolean isLoadData() -
isCheckDuplicity
public boolean isCheckDuplicity() -
getContextClasses
-
getTemplate
-
getPerexGroup
public int[] getPerexGroup() -
getPerexGroupNot
public int[] getPerexGroupNot() -
setNewsTemplatesRepository
-
setGroupIds
-
setAlsoSubGroups
public void setAlsoSubGroups(boolean alsoSubGroups) -
setSubGroupsDepth
public void setSubGroupsDepth(int subGroupsDepth) -
setPublishType
-
setPerexNotRequired
public void setPerexNotRequired(boolean perexNotRequired) -
setDocMode
public void setDocMode(int docMode) -
setOrder
-
setAscending
public void setAscending(boolean ascending) -
setPaging
public void setPaging(boolean paging) -
setPageSize
public void setPageSize(int pageSize) -
setOffset
public void setOffset(int offset) -
setLoadData
public void setLoadData(boolean loadData) -
setCheckDuplicity
public void setCheckDuplicity(boolean checkDuplicity) -
setContextClasses
-
setTemplate
-
setPerexGroup
public void setPerexGroup(int[] perexGroup) -
setPerexGroupNot
public void setPerexGroupNot(int[] perexGroupNot)
-