Class GeneratedAbstractAdvancedSavedQuerySearchParameter

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

public abstract class GeneratedAbstractAdvancedSavedQuerySearchParameter extends GenericItem
See Also:
  • Field Details

  • Constructor Details

    • GeneratedAbstractAdvancedSavedQuerySearchParameter

      public GeneratedAbstractAdvancedSavedQuerySearchParameter()
  • Method Details

    • getDefaultAttributeModes

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

      public EnumerationValue getComparator(SessionContext ctx)
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.comparator attribute.
      Returns:
      the comparator
    • getComparator

      public EnumerationValue getComparator()
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.comparator attribute.
      Returns:
      the comparator
    • setComparator

      public void setComparator(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.comparator attribute.
      Parameters:
      value - the comparator
    • setComparator

      public void setComparator(EnumerationValue value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.comparator attribute.
      Parameters:
      value - the comparator
    • 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
    • getEmptyHandling

      public EnumerationValue getEmptyHandling(SessionContext ctx)
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.emptyHandling attribute.
      Returns:
      the emptyHandling
    • getEmptyHandling

      public EnumerationValue getEmptyHandling()
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.emptyHandling attribute.
      Returns:
      the emptyHandling
    • setEmptyHandling

      public void setEmptyHandling(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.emptyHandling attribute.
      Parameters:
      value - the emptyHandling
    • setEmptyHandling

      public void setEmptyHandling(EnumerationValue value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.emptyHandling attribute.
      Parameters:
      value - the emptyHandling
    • getJoinAlias

      public String getJoinAlias(SessionContext ctx)
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.joinAlias attribute.
      Returns:
      the joinAlias
    • getJoinAlias

      public String getJoinAlias()
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.joinAlias attribute.
      Returns:
      the joinAlias
    • setJoinAlias

      public void setJoinAlias(SessionContext ctx, String value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.joinAlias attribute.
      Parameters:
      value - the joinAlias
    • setJoinAlias

      public void setJoinAlias(String value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.joinAlias attribute.
      Parameters:
      value - the joinAlias
    • isLower

      public Boolean isLower(SessionContext ctx)
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.lower attribute.
      Returns:
      the lower
    • isLower

      public Boolean isLower()
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.lower attribute.
      Returns:
      the lower
    • isLowerAsPrimitive

      public boolean isLowerAsPrimitive(SessionContext ctx)
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.lower attribute.
      Returns:
      the lower
    • isLowerAsPrimitive

      public boolean isLowerAsPrimitive()
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.lower attribute.
      Returns:
      the lower
    • setLower

      public void setLower(SessionContext ctx, Boolean value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.lower attribute.
      Parameters:
      value - the lower
    • setLower

      public void setLower(Boolean value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.lower attribute.
      Parameters:
      value - the lower
    • setLower

      public void setLower(SessionContext ctx, boolean value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.lower attribute.
      Parameters:
      value - the lower
    • setLower

      public void setLower(boolean value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.lower attribute.
      Parameters:
      value - the lower
    • getName

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

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

      public Map<Language,String> getAllName(SessionContext ctx)
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.name attribute.
      Returns:
      the localized name
    • getAllName

      public Map<Language,String> getAllName()
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.name attribute.
      Returns:
      the localized name
    • setName

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

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

      public void setAllName(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.name attribute.
      Parameters:
      value - the name
    • setAllName

      public void setAllName(Map<Language,String> value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.name attribute.
      Parameters:
      value - the name
    • getSearchParameterName

      public String getSearchParameterName(SessionContext ctx)
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.searchParameterName attribute.
      Returns:
      the searchParameterName
    • getSearchParameterName

      public String getSearchParameterName()
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.searchParameterName attribute.
      Returns:
      the searchParameterName
    • setSearchParameterName

      public void setSearchParameterName(SessionContext ctx, String value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.searchParameterName attribute.
      Parameters:
      value - the searchParameterName
    • setSearchParameterName

      public void setSearchParameterName(String value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.searchParameterName attribute.
      Parameters:
      value - the searchParameterName
    • getValueType

      public Type getValueType(SessionContext ctx)
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.valueType attribute.
      Returns:
      the valueType
    • getValueType

      public Type getValueType()
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.valueType attribute.
      Returns:
      the valueType
    • setValueType

      public void setValueType(SessionContext ctx, Type value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.valueType attribute.
      Parameters:
      value - the valueType
    • setValueType

      public void setValueType(Type value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.valueType attribute.
      Parameters:
      value - the valueType
    • getWherePart

      public WherePart getWherePart(SessionContext ctx)
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.wherePart attribute.
      Returns:
      the wherePart
    • getWherePart

      public WherePart getWherePart()
      Generated method - Getter of the AbstractAdvancedSavedQuerySearchParameter.wherePart attribute.
      Returns:
      the wherePart
    • setWherePart

      public void setWherePart(SessionContext ctx, WherePart value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.wherePart attribute.
      Parameters:
      value - the wherePart
    • setWherePart

      public void setWherePart(WherePart value)
      Generated method - Setter of the AbstractAdvancedSavedQuerySearchParameter.wherePart attribute.
      Parameters:
      value - the wherePart