Class GeneratedSolrSearchQueryTemplate

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
SolrSearchQueryTemplate

public abstract class GeneratedSolrSearchQueryTemplate extends GenericItem
Generated class for type SolrSearchQueryTemplate.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedSolrSearchQueryTemplate

      public GeneratedSolrSearchQueryTemplate()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • createItem

      protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
      Description copied from class: Item
      Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

      In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
      Sn example:

      
       public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
       ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
       man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
       // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
       SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
       super.getNonInitialAttributes( ctx, allAttributes );
       // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
      
       
      Overrides:
      createItem in class GenericItem
      Parameters:
      ctx - the current session context which this item is created within
      type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
      Returns:
      the new item instance
      Throws:
      JaloBusinessException - indicates an error during creation - any changes will be rollbacked
    • isEnableHighlighting

      public Boolean isEnableHighlighting(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.enableHighlighting attribute.
      Returns:
      the enableHighlighting
    • isEnableHighlighting

      public Boolean isEnableHighlighting()
      Generated method - Getter of the SolrSearchQueryTemplate.enableHighlighting attribute.
      Returns:
      the enableHighlighting
    • isEnableHighlightingAsPrimitive

      public boolean isEnableHighlightingAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.enableHighlighting attribute.
      Returns:
      the enableHighlighting
    • isEnableHighlightingAsPrimitive

      public boolean isEnableHighlightingAsPrimitive()
      Generated method - Getter of the SolrSearchQueryTemplate.enableHighlighting attribute.
      Returns:
      the enableHighlighting
    • setEnableHighlighting

      public void setEnableHighlighting(SessionContext ctx, Boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.enableHighlighting attribute.
      Parameters:
      value - the enableHighlighting
    • setEnableHighlighting

      public void setEnableHighlighting(Boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.enableHighlighting attribute.
      Parameters:
      value - the enableHighlighting
    • setEnableHighlighting

      public void setEnableHighlighting(SessionContext ctx, boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.enableHighlighting attribute.
      Parameters:
      value - the enableHighlighting
    • setEnableHighlighting

      public void setEnableHighlighting(boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.enableHighlighting attribute.
      Parameters:
      value - the enableHighlighting
    • getFtsQueryBuilder

      public String getFtsQueryBuilder(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.ftsQueryBuilder attribute.
      Returns:
      the ftsQueryBuilder
    • getFtsQueryBuilder

      public String getFtsQueryBuilder()
      Generated method - Getter of the SolrSearchQueryTemplate.ftsQueryBuilder attribute.
      Returns:
      the ftsQueryBuilder
    • setFtsQueryBuilder

      public void setFtsQueryBuilder(SessionContext ctx, String value)
      Generated method - Setter of the SolrSearchQueryTemplate.ftsQueryBuilder attribute.
      Parameters:
      value - the ftsQueryBuilder
    • setFtsQueryBuilder

      public void setFtsQueryBuilder(String value)
      Generated method - Setter of the SolrSearchQueryTemplate.ftsQueryBuilder attribute.
      Parameters:
      value - the ftsQueryBuilder
    • getAllFtsQueryBuilderParameters

      public Map<String,String> getAllFtsQueryBuilderParameters(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute.
      Returns:
      the ftsQueryBuilderParameters
    • getAllFtsQueryBuilderParameters

      public Map<String,String> getAllFtsQueryBuilderParameters()
      Generated method - Getter of the SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute.
      Returns:
      the ftsQueryBuilderParameters
    • setAllFtsQueryBuilderParameters

      public void setAllFtsQueryBuilderParameters(SessionContext ctx, Map<String,String> value)
      Generated method - Setter of the SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute.
      Parameters:
      value - the ftsQueryBuilderParameters
    • setAllFtsQueryBuilderParameters

      public void setAllFtsQueryBuilderParameters(Map<String,String> value)
      Generated method - Setter of the SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute.
      Parameters:
      value - the ftsQueryBuilderParameters
    • isGroup

      public Boolean isGroup(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.group attribute.
      Returns:
      the group
    • isGroup

      public Boolean isGroup()
      Generated method - Getter of the SolrSearchQueryTemplate.group attribute.
      Returns:
      the group
    • isGroupAsPrimitive

      public boolean isGroupAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.group attribute.
      Returns:
      the group
    • isGroupAsPrimitive

      public boolean isGroupAsPrimitive()
      Generated method - Getter of the SolrSearchQueryTemplate.group attribute.
      Returns:
      the group
    • setGroup

      public void setGroup(SessionContext ctx, Boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.group attribute.
      Parameters:
      value - the group
    • setGroup

      public void setGroup(Boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.group attribute.
      Parameters:
      value - the group
    • setGroup

      public void setGroup(SessionContext ctx, boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.group attribute.
      Parameters:
      value - the group
    • setGroup

      public void setGroup(boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.group attribute.
      Parameters:
      value - the group
    • isGroupFacets

      public Boolean isGroupFacets(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.groupFacets attribute.
      Returns:
      the groupFacets
    • isGroupFacets

      public Boolean isGroupFacets()
      Generated method - Getter of the SolrSearchQueryTemplate.groupFacets attribute.
      Returns:
      the groupFacets
    • isGroupFacetsAsPrimitive

      public boolean isGroupFacetsAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.groupFacets attribute.
      Returns:
      the groupFacets
    • isGroupFacetsAsPrimitive

      public boolean isGroupFacetsAsPrimitive()
      Generated method - Getter of the SolrSearchQueryTemplate.groupFacets attribute.
      Returns:
      the groupFacets
    • setGroupFacets

      public void setGroupFacets(SessionContext ctx, Boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.groupFacets attribute.
      Parameters:
      value - the groupFacets
    • setGroupFacets

      public void setGroupFacets(Boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.groupFacets attribute.
      Parameters:
      value - the groupFacets
    • setGroupFacets

      public void setGroupFacets(SessionContext ctx, boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.groupFacets attribute.
      Parameters:
      value - the groupFacets
    • setGroupFacets

      public void setGroupFacets(boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.groupFacets attribute.
      Parameters:
      value - the groupFacets
    • getGroupLimit

      public Integer getGroupLimit(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.groupLimit attribute.
      Returns:
      the groupLimit
    • getGroupLimit

      public Integer getGroupLimit()
      Generated method - Getter of the SolrSearchQueryTemplate.groupLimit attribute.
      Returns:
      the groupLimit
    • getGroupLimitAsPrimitive

      public int getGroupLimitAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.groupLimit attribute.
      Returns:
      the groupLimit
    • getGroupLimitAsPrimitive

      public int getGroupLimitAsPrimitive()
      Generated method - Getter of the SolrSearchQueryTemplate.groupLimit attribute.
      Returns:
      the groupLimit
    • setGroupLimit

      public void setGroupLimit(SessionContext ctx, Integer value)
      Generated method - Setter of the SolrSearchQueryTemplate.groupLimit attribute.
      Parameters:
      value - the groupLimit
    • setGroupLimit

      public void setGroupLimit(Integer value)
      Generated method - Setter of the SolrSearchQueryTemplate.groupLimit attribute.
      Parameters:
      value - the groupLimit
    • setGroupLimit

      public void setGroupLimit(SessionContext ctx, int value)
      Generated method - Setter of the SolrSearchQueryTemplate.groupLimit attribute.
      Parameters:
      value - the groupLimit
    • setGroupLimit

      public void setGroupLimit(int value)
      Generated method - Setter of the SolrSearchQueryTemplate.groupLimit attribute.
      Parameters:
      value - the groupLimit
    • getGroupProperty

      public SolrIndexedProperty getGroupProperty(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.groupProperty attribute.
      Returns:
      the groupProperty
    • getGroupProperty

      public SolrIndexedProperty getGroupProperty()
      Generated method - Getter of the SolrSearchQueryTemplate.groupProperty attribute.
      Returns:
      the groupProperty
    • setGroupProperty

      public void setGroupProperty(SessionContext ctx, SolrIndexedProperty value)
      Generated method - Setter of the SolrSearchQueryTemplate.groupProperty attribute.
      Parameters:
      value - the groupProperty
    • setGroupProperty

      public void setGroupProperty(SolrIndexedProperty value)
      Generated method - Setter of the SolrSearchQueryTemplate.groupProperty attribute.
      Parameters:
      value - the groupProperty
    • getIndexedType

      public SolrIndexedType getIndexedType(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.indexedType attribute.
      Returns:
      the indexedType
    • getIndexedType

      public SolrIndexedType getIndexedType()
      Generated method - Getter of the SolrSearchQueryTemplate.indexedType attribute.
      Returns:
      the indexedType
    • setIndexedType

      protected void setIndexedType(SessionContext ctx, SolrIndexedType value)
      Generated method - Setter of the SolrSearchQueryTemplate.indexedType attribute.
      Parameters:
      value - the indexedType
    • setIndexedType

      protected void setIndexedType(SolrIndexedType value)
      Generated method - Setter of the SolrSearchQueryTemplate.indexedType attribute.
      Parameters:
      value - the indexedType
    • getName

      public String getName(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.name attribute.
      Returns:
      the name
    • getName

      public String getName()
      Generated method - Getter of the SolrSearchQueryTemplate.name attribute.
      Returns:
      the name
    • setName

      public void setName(SessionContext ctx, String value)
      Generated method - Setter of the SolrSearchQueryTemplate.name attribute.
      Parameters:
      value - the name
    • setName

      public void setName(String value)
      Generated method - Setter of the SolrSearchQueryTemplate.name attribute.
      Parameters:
      value - the name
    • getPageSize

      public Integer getPageSize(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.pageSize attribute.
      Returns:
      the pageSize
    • getPageSize

      public Integer getPageSize()
      Generated method - Getter of the SolrSearchQueryTemplate.pageSize attribute.
      Returns:
      the pageSize
    • getPageSizeAsPrimitive

      public int getPageSizeAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.pageSize attribute.
      Returns:
      the pageSize
    • getPageSizeAsPrimitive

      public int getPageSizeAsPrimitive()
      Generated method - Getter of the SolrSearchQueryTemplate.pageSize attribute.
      Returns:
      the pageSize
    • setPageSize

      public void setPageSize(SessionContext ctx, Integer value)
      Generated method - Setter of the SolrSearchQueryTemplate.pageSize attribute.
      Parameters:
      value - the pageSize
    • setPageSize

      public void setPageSize(Integer value)
      Generated method - Setter of the SolrSearchQueryTemplate.pageSize attribute.
      Parameters:
      value - the pageSize
    • setPageSize

      public void setPageSize(SessionContext ctx, int value)
      Generated method - Setter of the SolrSearchQueryTemplate.pageSize attribute.
      Parameters:
      value - the pageSize
    • setPageSize

      public void setPageSize(int value)
      Generated method - Setter of the SolrSearchQueryTemplate.pageSize attribute.
      Parameters:
      value - the pageSize
    • isRestrictFieldsInResponse

      public Boolean isRestrictFieldsInResponse(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.restrictFieldsInResponse attribute.
      Returns:
      the restrictFieldsInResponse
    • isRestrictFieldsInResponse

      public Boolean isRestrictFieldsInResponse()
      Generated method - Getter of the SolrSearchQueryTemplate.restrictFieldsInResponse attribute.
      Returns:
      the restrictFieldsInResponse
    • isRestrictFieldsInResponseAsPrimitive

      public boolean isRestrictFieldsInResponseAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.restrictFieldsInResponse attribute.
      Returns:
      the restrictFieldsInResponse
    • isRestrictFieldsInResponseAsPrimitive

      public boolean isRestrictFieldsInResponseAsPrimitive()
      Generated method - Getter of the SolrSearchQueryTemplate.restrictFieldsInResponse attribute.
      Returns:
      the restrictFieldsInResponse
    • setRestrictFieldsInResponse

      public void setRestrictFieldsInResponse(SessionContext ctx, Boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.restrictFieldsInResponse attribute.
      Parameters:
      value - the restrictFieldsInResponse
    • setRestrictFieldsInResponse

      public void setRestrictFieldsInResponse(Boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.restrictFieldsInResponse attribute.
      Parameters:
      value - the restrictFieldsInResponse
    • setRestrictFieldsInResponse

      public void setRestrictFieldsInResponse(SessionContext ctx, boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.restrictFieldsInResponse attribute.
      Parameters:
      value - the restrictFieldsInResponse
    • setRestrictFieldsInResponse

      public void setRestrictFieldsInResponse(boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.restrictFieldsInResponse attribute.
      Parameters:
      value - the restrictFieldsInResponse
    • getSearchQueryProperties

      public Collection<SolrSearchQueryProperty> getSearchQueryProperties(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.searchQueryProperties attribute.
      Returns:
      the searchQueryProperties
    • getSearchQueryProperties

      public Collection<SolrSearchQueryProperty> getSearchQueryProperties()
      Generated method - Getter of the SolrSearchQueryTemplate.searchQueryProperties attribute.
      Returns:
      the searchQueryProperties
    • setSearchQueryProperties

      public void setSearchQueryProperties(SessionContext ctx, Collection<SolrSearchQueryProperty> value)
      Generated method - Setter of the SolrSearchQueryTemplate.searchQueryProperties attribute.
      Parameters:
      value - the searchQueryProperties
    • setSearchQueryProperties

      public void setSearchQueryProperties(Collection<SolrSearchQueryProperty> value)
      Generated method - Setter of the SolrSearchQueryTemplate.searchQueryProperties attribute.
      Parameters:
      value - the searchQueryProperties
    • addToSearchQueryProperties

      public void addToSearchQueryProperties(SessionContext ctx, SolrSearchQueryProperty value)
      Generated method - Adds value to searchQueryProperties.
      Parameters:
      value - the item to add to searchQueryProperties
    • addToSearchQueryProperties

      public void addToSearchQueryProperties(SolrSearchQueryProperty value)
      Generated method - Adds value to searchQueryProperties.
      Parameters:
      value - the item to add to searchQueryProperties
    • removeFromSearchQueryProperties

      public void removeFromSearchQueryProperties(SessionContext ctx, SolrSearchQueryProperty value)
      Generated method - Removes value from searchQueryProperties.
      Parameters:
      value - the item to remove from searchQueryProperties
    • removeFromSearchQueryProperties

      public void removeFromSearchQueryProperties(SolrSearchQueryProperty value)
      Generated method - Removes value from searchQueryProperties.
      Parameters:
      value - the item to remove from searchQueryProperties
    • getSearchQuerySorts

      public Collection<SolrSearchQuerySort> getSearchQuerySorts(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.searchQuerySorts attribute.
      Returns:
      the searchQuerySorts
    • getSearchQuerySorts

      public Collection<SolrSearchQuerySort> getSearchQuerySorts()
      Generated method - Getter of the SolrSearchQueryTemplate.searchQuerySorts attribute.
      Returns:
      the searchQuerySorts
    • setSearchQuerySorts

      public void setSearchQuerySorts(SessionContext ctx, Collection<SolrSearchQuerySort> value)
      Generated method - Setter of the SolrSearchQueryTemplate.searchQuerySorts attribute.
      Parameters:
      value - the searchQuerySorts
    • setSearchQuerySorts

      public void setSearchQuerySorts(Collection<SolrSearchQuerySort> value)
      Generated method - Setter of the SolrSearchQueryTemplate.searchQuerySorts attribute.
      Parameters:
      value - the searchQuerySorts
    • addToSearchQuerySorts

      public void addToSearchQuerySorts(SessionContext ctx, SolrSearchQuerySort value)
      Generated method - Adds value to searchQuerySorts.
      Parameters:
      value - the item to add to searchQuerySorts
    • addToSearchQuerySorts

      public void addToSearchQuerySorts(SolrSearchQuerySort value)
      Generated method - Adds value to searchQuerySorts.
      Parameters:
      value - the item to add to searchQuerySorts
    • removeFromSearchQuerySorts

      public void removeFromSearchQuerySorts(SessionContext ctx, SolrSearchQuerySort value)
      Generated method - Removes value from searchQuerySorts.
      Parameters:
      value - the item to remove from searchQuerySorts
    • removeFromSearchQuerySorts

      public void removeFromSearchQuerySorts(SolrSearchQuerySort value)
      Generated method - Removes value from searchQuerySorts.
      Parameters:
      value - the item to remove from searchQuerySorts
    • isShowFacets

      public Boolean isShowFacets(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.showFacets attribute.
      Returns:
      the showFacets
    • isShowFacets

      public Boolean isShowFacets()
      Generated method - Getter of the SolrSearchQueryTemplate.showFacets attribute.
      Returns:
      the showFacets
    • isShowFacetsAsPrimitive

      public boolean isShowFacetsAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SolrSearchQueryTemplate.showFacets attribute.
      Returns:
      the showFacets
    • isShowFacetsAsPrimitive

      public boolean isShowFacetsAsPrimitive()
      Generated method - Getter of the SolrSearchQueryTemplate.showFacets attribute.
      Returns:
      the showFacets
    • setShowFacets

      public void setShowFacets(SessionContext ctx, Boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.showFacets attribute.
      Parameters:
      value - the showFacets
    • setShowFacets

      public void setShowFacets(Boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.showFacets attribute.
      Parameters:
      value - the showFacets
    • setShowFacets

      public void setShowFacets(SessionContext ctx, boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.showFacets attribute.
      Parameters:
      value - the showFacets
    • setShowFacets

      public void setShowFacets(boolean value)
      Generated method - Setter of the SolrSearchQueryTemplate.showFacets attribute.
      Parameters:
      value - the showFacets