Class AbstractPubChooserProvider
java.lang.Object
com.jalios.jcms.handler.pubchooser.provider.AbstractPubChooserProvider
- All Implemented Interfaces:
PubChooserProvider
- Direct Known Subclasses:
BasicSubChooserProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept()Returns true if the menu should propose this itemReturns thePubChooserContextgetIcon()Returns the icon of the menu itemgetJsp()Returns the jsp of the body of the menu itemgetKey()Returns the provider key (from props)getLabel()Return the label used in the menu.Deprecated.booleanbooleanbooleanbooleanDeprecated.
-
Field Details
-
ctx
-
-
Constructor Details
-
AbstractPubChooserProvider
-
-
Method Details
-
accept
public boolean accept()Description copied from interface:PubChooserProviderReturns true if the menu should propose this item- Specified by:
acceptin interfacePubChooserProvider- Returns:
- true if the menu should propose this item
-
getLabel
Description copied from interface:PubChooserProviderReturn the label used in the menu.- Specified by:
getLabelin interfacePubChooserProvider- Returns:
- the label used in the menu.
-
getIcon
Description copied from interface:PubChooserProviderReturns the icon of the menu item- Specified by:
getIconin interfacePubChooserProvider- Returns:
- the icon of the menu item
-
getJsp
Description copied from interface:PubChooserProviderReturns the jsp of the body of the menu item- Specified by:
getJspin interfacePubChooserProvider- Returns:
- the jsp of the body of the menu item
-
getKey
Description copied from interface:PubChooserProviderReturns the provider key (from props)- Specified by:
getKeyin interfacePubChooserProvider- Returns:
- the provider key (from props)
-
textSearchEnabled
Deprecated.Description copied from interface:PubChooserProviderReturns true if text search should be displayed- Specified by:
textSearchEnabledin interfacePubChooserProvider- Returns:
- true if text search should be displayed
-
getContext
Description copied from interface:PubChooserProviderReturns thePubChooserContext- Specified by:
getContextin interfacePubChooserProvider- Returns:
- the
PubChooserContext
-
getSubProviders
Deprecated.Description copied from interface:PubChooserProviderReturns a list of sub providers (This will replace the current provider by this list)- Specified by:
getSubProvidersin interfacePubChooserProvider- Returns:
- a list of sub providers (This will replace the current provider by this list)
-
hasKindImage
public boolean hasKindImage() -
hasKindVideo
public boolean hasKindVideo() -
hasKindAudio
public boolean hasKindAudio()
-