Class CalendarContentReturnable
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.frontoffice.search.metamodel.impl.AbstractParameterAdder
org.ametys.web.frontoffice.search.metamodel.impl.AbstractParameterAdderReturnable
org.ametys.web.frontoffice.search.metamodel.impl.AbstractContentBasedReturnable
org.ametys.plugins.calendar.search.CalendarContentReturnable
- All Implemented Interfaces:
LogEnabled
,PluginAware
,Returnable
,Initializable
,Configurable
,Contextualizable
,Serviceable
Returnable
for contents with a start date-
Field Summary
Modifier and TypeFieldDescriptionprotected SourceResolver
The source resolverstatic final String
Avalon RoleFields inherited from class org.ametys.web.frontoffice.search.metamodel.impl.AbstractContentBasedReturnable
_associatedContentSearchable, _contentFilterHelper, _contentHelper, _contentTypesHelper, _context, _label, _searchableEP
Fields inherited from class org.ametys.web.frontoffice.search.metamodel.impl.AbstractParameterAdder
_manager, _pluginName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
The Avalon Role for the associated Content Searchableprotected Collection<String>
getContentTypes
(AdditionalParameterValueMap additionalParameterValues) Gets the content types which will be used to construct the query to filter the returned documentsprotected String
Gets the prefix for definitions (for facets, sorts...)getId()
Gets the id of the extensiongetSaxer
(Collection<Returnable> allReturnables, AdditionalParameterValueMap additionalParameterValues) Returns thesaxer
responsible to SAX hits of this Returnable.Get the source resolverGet the tag provider extension pointprotected String
getViewForSax
(AdditionalParameterValueMap additionalParameterValues) Get the model view for saxboolean
Returnstrue
if this returnable is privatevoid
service
(ServiceManager smanager) Methods inherited from class org.ametys.web.frontoffice.search.metamodel.impl.AbstractContentBasedReturnable
_setAssociatedContentSearchable, configure, contextualize, filterReturnedDocumentQuery, getContentHelper, getFacets, getLabel, getSorts, initialize, langQueryProducer, relationsWith, sitemapQueryJoiner, siteQueryJoiner, tagQueryJoiner
Methods inherited from class org.ametys.web.frontoffice.search.metamodel.impl.AbstractParameterAdder
additionalServiceParameters, setPluginInfo
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.web.frontoffice.search.metamodel.Returnable
additionalServiceParameters, selectedByDefault
-
Field Details
-
ROLE
Avalon Role -
_srcResolver
The source resolver
-
-
Constructor Details
-
CalendarContentReturnable
public CalendarContentReturnable()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractContentBasedReturnable
- Throws:
ServiceException
-
getId
Description copied from interface:Returnable
Gets the id of the extension- Returns:
- the id of the extension
-
isPrivate
Description copied from interface:Returnable
Returnstrue
if this returnable is private- Returns:
true
if this returnable is private
-
getSourceResolver
Get the source resolver- Returns:
- the source resolver
-
getTagProviderExtensionPoint
Get the tag provider extension point- Returns:
- the tag provider extension point
-
getSaxer
public ReturnableSaxer getSaxer(Collection<Returnable> allReturnables, AdditionalParameterValueMap additionalParameterValues) Description copied from interface:Returnable
Returns thesaxer
responsible to SAX hits of this Returnable.- Parameters:
allReturnables
- AllReturnable
s (including this)additionalParameterValues
- The additional parameter values- Returns:
- the
saxer
responsible to SAX hits of this Returnable.
-
associatedContentSearchableRole
Description copied from class:AbstractContentBasedReturnable
The Avalon Role for the associated Content Searchable- Specified by:
associatedContentSearchableRole
in classAbstractContentBasedReturnable
- Returns:
- The Avalon Role for the associated Content Searchable
-
getViewForSax
Get the model view for sax- Parameters:
additionalParameterValues
- The additional parameter values- Returns:
- the model view to use for saxing results
-
getContentTypes
Description copied from class:AbstractContentBasedReturnable
Gets the content types which will be used to construct the query to filter the returned documents- Specified by:
getContentTypes
in classAbstractContentBasedReturnable
- Parameters:
additionalParameterValues
- The additional parameter values- Returns:
- the content types which will be used to construct the query to filter the returned documents
-
getDefinitionPrefix
Description copied from class:AbstractContentBasedReturnable
Gets the prefix for definitions (for facets, sorts...)- Specified by:
getDefinitionPrefix
in classAbstractContentBasedReturnable
- Returns:
- the prefix for definitions
-