Class GeneratedSolrIndexerQuery

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

public abstract class GeneratedSolrIndexerQuery extends GenericItem
Generated class for type SolrIndexerQuery.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedSolrIndexerQuery

      public GeneratedSolrIndexerQuery()
  • 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
    • getIdentifier

      public String getIdentifier(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.identifier attribute.
      Returns:
      the identifier - id of the query
    • getIdentifier

      public String getIdentifier()
      Generated method - Getter of the SolrIndexerQuery.identifier attribute.
      Returns:
      the identifier - id of the query
    • setIdentifier

      protected void setIdentifier(SessionContext ctx, String value)
      Generated method - Setter of the SolrIndexerQuery.identifier attribute.
      Parameters:
      value - the identifier - id of the query
    • setIdentifier

      protected void setIdentifier(String value)
      Generated method - Setter of the SolrIndexerQuery.identifier attribute.
      Parameters:
      value - the identifier - id of the query
    • isInjectCurrentDate

      public Boolean isInjectCurrentDate(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.injectCurrentDate attribute.
      Returns:
      the injectCurrentDate
    • isInjectCurrentDate

      public Boolean isInjectCurrentDate()
      Generated method - Getter of the SolrIndexerQuery.injectCurrentDate attribute.
      Returns:
      the injectCurrentDate
    • isInjectCurrentDateAsPrimitive

      public boolean isInjectCurrentDateAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.injectCurrentDate attribute.
      Returns:
      the injectCurrentDate
    • isInjectCurrentDateAsPrimitive

      public boolean isInjectCurrentDateAsPrimitive()
      Generated method - Getter of the SolrIndexerQuery.injectCurrentDate attribute.
      Returns:
      the injectCurrentDate
    • setInjectCurrentDate

      public void setInjectCurrentDate(SessionContext ctx, Boolean value)
      Generated method - Setter of the SolrIndexerQuery.injectCurrentDate attribute.
      Parameters:
      value - the injectCurrentDate
    • setInjectCurrentDate

      public void setInjectCurrentDate(Boolean value)
      Generated method - Setter of the SolrIndexerQuery.injectCurrentDate attribute.
      Parameters:
      value - the injectCurrentDate
    • setInjectCurrentDate

      public void setInjectCurrentDate(SessionContext ctx, boolean value)
      Generated method - Setter of the SolrIndexerQuery.injectCurrentDate attribute.
      Parameters:
      value - the injectCurrentDate
    • setInjectCurrentDate

      public void setInjectCurrentDate(boolean value)
      Generated method - Setter of the SolrIndexerQuery.injectCurrentDate attribute.
      Parameters:
      value - the injectCurrentDate
    • isInjectCurrentTime

      public Boolean isInjectCurrentTime(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.injectCurrentTime attribute.
      Returns:
      the injectCurrentTime
    • isInjectCurrentTime

      public Boolean isInjectCurrentTime()
      Generated method - Getter of the SolrIndexerQuery.injectCurrentTime attribute.
      Returns:
      the injectCurrentTime
    • isInjectCurrentTimeAsPrimitive

      public boolean isInjectCurrentTimeAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.injectCurrentTime attribute.
      Returns:
      the injectCurrentTime
    • isInjectCurrentTimeAsPrimitive

      public boolean isInjectCurrentTimeAsPrimitive()
      Generated method - Getter of the SolrIndexerQuery.injectCurrentTime attribute.
      Returns:
      the injectCurrentTime
    • setInjectCurrentTime

      public void setInjectCurrentTime(SessionContext ctx, Boolean value)
      Generated method - Setter of the SolrIndexerQuery.injectCurrentTime attribute.
      Parameters:
      value - the injectCurrentTime
    • setInjectCurrentTime

      public void setInjectCurrentTime(Boolean value)
      Generated method - Setter of the SolrIndexerQuery.injectCurrentTime attribute.
      Parameters:
      value - the injectCurrentTime
    • setInjectCurrentTime

      public void setInjectCurrentTime(SessionContext ctx, boolean value)
      Generated method - Setter of the SolrIndexerQuery.injectCurrentTime attribute.
      Parameters:
      value - the injectCurrentTime
    • setInjectCurrentTime

      public void setInjectCurrentTime(boolean value)
      Generated method - Setter of the SolrIndexerQuery.injectCurrentTime attribute.
      Parameters:
      value - the injectCurrentTime
    • isInjectLastIndexTime

      public Boolean isInjectLastIndexTime(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.injectLastIndexTime attribute.
      Returns:
      the injectLastIndexTime
    • isInjectLastIndexTime

      public Boolean isInjectLastIndexTime()
      Generated method - Getter of the SolrIndexerQuery.injectLastIndexTime attribute.
      Returns:
      the injectLastIndexTime
    • isInjectLastIndexTimeAsPrimitive

      public boolean isInjectLastIndexTimeAsPrimitive(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.injectLastIndexTime attribute.
      Returns:
      the injectLastIndexTime
    • isInjectLastIndexTimeAsPrimitive

      public boolean isInjectLastIndexTimeAsPrimitive()
      Generated method - Getter of the SolrIndexerQuery.injectLastIndexTime attribute.
      Returns:
      the injectLastIndexTime
    • setInjectLastIndexTime

      public void setInjectLastIndexTime(SessionContext ctx, Boolean value)
      Generated method - Setter of the SolrIndexerQuery.injectLastIndexTime attribute.
      Parameters:
      value - the injectLastIndexTime
    • setInjectLastIndexTime

      public void setInjectLastIndexTime(Boolean value)
      Generated method - Setter of the SolrIndexerQuery.injectLastIndexTime attribute.
      Parameters:
      value - the injectLastIndexTime
    • setInjectLastIndexTime

      public void setInjectLastIndexTime(SessionContext ctx, boolean value)
      Generated method - Setter of the SolrIndexerQuery.injectLastIndexTime attribute.
      Parameters:
      value - the injectLastIndexTime
    • setInjectLastIndexTime

      public void setInjectLastIndexTime(boolean value)
      Generated method - Setter of the SolrIndexerQuery.injectLastIndexTime attribute.
      Parameters:
      value - the injectLastIndexTime
    • getParameterProvider

      public String getParameterProvider(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.parameterProvider attribute.
      Returns:
      the parameterProvider
    • getParameterProvider

      public String getParameterProvider()
      Generated method - Getter of the SolrIndexerQuery.parameterProvider attribute.
      Returns:
      the parameterProvider
    • setParameterProvider

      public void setParameterProvider(SessionContext ctx, String value)
      Generated method - Setter of the SolrIndexerQuery.parameterProvider attribute.
      Parameters:
      value - the parameterProvider
    • setParameterProvider

      public void setParameterProvider(String value)
      Generated method - Setter of the SolrIndexerQuery.parameterProvider attribute.
      Parameters:
      value - the parameterProvider
    • getQuery

      public String getQuery(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.query attribute.
      Returns:
      the query
    • getQuery

      public String getQuery()
      Generated method - Getter of the SolrIndexerQuery.query attribute.
      Returns:
      the query
    • setQuery

      public void setQuery(SessionContext ctx, String value)
      Generated method - Setter of the SolrIndexerQuery.query attribute.
      Parameters:
      value - the query
    • setQuery

      public void setQuery(String value)
      Generated method - Setter of the SolrIndexerQuery.query attribute.
      Parameters:
      value - the query
    • getSolrIndexedType

      public SolrIndexedType getSolrIndexedType(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.solrIndexedType attribute.
      Returns:
      the solrIndexedType
    • getSolrIndexedType

      public SolrIndexedType getSolrIndexedType()
      Generated method - Getter of the SolrIndexerQuery.solrIndexedType attribute.
      Returns:
      the solrIndexedType
    • setSolrIndexedType

      public void setSolrIndexedType(SessionContext ctx, SolrIndexedType value)
      Generated method - Setter of the SolrIndexerQuery.solrIndexedType attribute.
      Parameters:
      value - the solrIndexedType
    • setSolrIndexedType

      public void setSolrIndexedType(SolrIndexedType value)
      Generated method - Setter of the SolrIndexerQuery.solrIndexedType attribute.
      Parameters:
      value - the solrIndexedType
    • getSolrIndexerQueryParameters

      public List<SolrIndexerQueryParameter> getSolrIndexerQueryParameters(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.solrIndexerQueryParameters attribute.
      Returns:
      the solrIndexerQueryParameters
    • getSolrIndexerQueryParameters

      public List<SolrIndexerQueryParameter> getSolrIndexerQueryParameters()
      Generated method - Getter of the SolrIndexerQuery.solrIndexerQueryParameters attribute.
      Returns:
      the solrIndexerQueryParameters
    • setSolrIndexerQueryParameters

      public void setSolrIndexerQueryParameters(SessionContext ctx, List<SolrIndexerQueryParameter> value)
      Generated method - Setter of the SolrIndexerQuery.solrIndexerQueryParameters attribute.
      Parameters:
      value - the solrIndexerQueryParameters
    • setSolrIndexerQueryParameters

      public void setSolrIndexerQueryParameters(List<SolrIndexerQueryParameter> value)
      Generated method - Setter of the SolrIndexerQuery.solrIndexerQueryParameters attribute.
      Parameters:
      value - the solrIndexerQueryParameters
    • addToSolrIndexerQueryParameters

      public void addToSolrIndexerQueryParameters(SessionContext ctx, SolrIndexerQueryParameter value)
      Generated method - Adds value to solrIndexerQueryParameters.
      Parameters:
      value - the item to add to solrIndexerQueryParameters
    • addToSolrIndexerQueryParameters

      public void addToSolrIndexerQueryParameters(SolrIndexerQueryParameter value)
      Generated method - Adds value to solrIndexerQueryParameters.
      Parameters:
      value - the item to add to solrIndexerQueryParameters
    • removeFromSolrIndexerQueryParameters

      public void removeFromSolrIndexerQueryParameters(SessionContext ctx, SolrIndexerQueryParameter value)
      Generated method - Removes value from solrIndexerQueryParameters.
      Parameters:
      value - the item to remove from solrIndexerQueryParameters
    • removeFromSolrIndexerQueryParameters

      public void removeFromSolrIndexerQueryParameters(SolrIndexerQueryParameter value)
      Generated method - Removes value from solrIndexerQueryParameters.
      Parameters:
      value - the item to remove from solrIndexerQueryParameters
    • getType

      public EnumerationValue getType(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.type attribute.
      Returns:
      the type - type of operation: full, update or delete
    • getType

      public EnumerationValue getType()
      Generated method - Getter of the SolrIndexerQuery.type attribute.
      Returns:
      the type - type of operation: full, update or delete
    • setType

      protected void setType(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the SolrIndexerQuery.type attribute.
      Parameters:
      value - the type - type of operation: full, update or delete
    • setType

      protected void setType(EnumerationValue value)
      Generated method - Setter of the SolrIndexerQuery.type attribute.
      Parameters:
      value - the type - type of operation: full, update or delete
    • getUser

      public User getUser(SessionContext ctx)
      Generated method - Getter of the SolrIndexerQuery.user attribute.
      Returns:
      the user
    • getUser

      public User getUser()
      Generated method - Getter of the SolrIndexerQuery.user attribute.
      Returns:
      the user
    • setUser

      public void setUser(SessionContext ctx, User value)
      Generated method - Setter of the SolrIndexerQuery.user attribute.
      Parameters:
      value - the user
    • setUser

      public void setUser(User value)
      Generated method - Setter of the SolrIndexerQuery.user attribute.
      Parameters:
      value - the user