Class GeneratedSolrIndexerQuery

    • Field Detail

      • IDENTIFIER

        public static final java.lang.String IDENTIFIER
        Qualifier of the SolrIndexerQuery.identifier attribute
        See Also:
        Constant Field Values
      • TYPE

        public static final java.lang.String TYPE
        Qualifier of the SolrIndexerQuery.type attribute
        See Also:
        Constant Field Values
      • QUERY

        public static final java.lang.String QUERY
        Qualifier of the SolrIndexerQuery.query attribute
        See Also:
        Constant Field Values
      • INJECTLASTINDEXTIME

        public static final java.lang.String INJECTLASTINDEXTIME
        Qualifier of the SolrIndexerQuery.injectLastIndexTime attribute
        See Also:
        Constant Field Values
      • INJECTCURRENTTIME

        public static final java.lang.String INJECTCURRENTTIME
        Qualifier of the SolrIndexerQuery.injectCurrentTime attribute
        See Also:
        Constant Field Values
      • INJECTCURRENTDATE

        public static final java.lang.String INJECTCURRENTDATE
        Qualifier of the SolrIndexerQuery.injectCurrentDate attribute
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Qualifier of the SolrIndexerQuery.user attribute
        See Also:
        Constant Field Values
      • PARAMETERPROVIDER

        public static final java.lang.String PARAMETERPROVIDER
        Qualifier of the SolrIndexerQuery.parameterProvider attribute
        See Also:
        Constant Field Values
      • SOLRINDEXEDTYPEPOS

        public static final java.lang.String SOLRINDEXEDTYPEPOS
        Qualifier of the SolrIndexerQuery.solrIndexedTypePOS attribute
        See Also:
        Constant Field Values
      • SOLRINDEXEDTYPE

        public static final java.lang.String SOLRINDEXEDTYPE
        Qualifier of the SolrIndexerQuery.solrIndexedType attribute
        See Also:
        Constant Field Values
      • SOLRINDEXERQUERYPARAMETERS

        public static final java.lang.String SOLRINDEXERQUERYPARAMETERS
        Qualifier of the SolrIndexerQuery.solrIndexerQueryParameters attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedSolrIndexerQuery

        public GeneratedSolrIndexerQuery()
    • Method Detail

      • 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 java.lang.String getIdentifier​(SessionContext ctx)
        Generated method - Getter of the SolrIndexerQuery.identifier attribute.
        Returns:
        the identifier - id of the query
      • getIdentifier

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

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

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

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

        public java.lang.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,
                                         java.lang.Boolean value)
        Generated method - Setter of the SolrIndexerQuery.injectCurrentDate attribute.
        Parameters:
        value - the injectCurrentDate
      • setInjectCurrentDate

        public void setInjectCurrentDate​(java.lang.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 java.lang.Boolean isInjectCurrentTime​(SessionContext ctx)
        Generated method - Getter of the SolrIndexerQuery.injectCurrentTime attribute.
        Returns:
        the injectCurrentTime
      • isInjectCurrentTime

        public java.lang.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,
                                         java.lang.Boolean value)
        Generated method - Setter of the SolrIndexerQuery.injectCurrentTime attribute.
        Parameters:
        value - the injectCurrentTime
      • setInjectCurrentTime

        public void setInjectCurrentTime​(java.lang.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 java.lang.Boolean isInjectLastIndexTime​(SessionContext ctx)
        Generated method - Getter of the SolrIndexerQuery.injectLastIndexTime attribute.
        Returns:
        the injectLastIndexTime
      • isInjectLastIndexTime

        public java.lang.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,
                                           java.lang.Boolean value)
        Generated method - Setter of the SolrIndexerQuery.injectLastIndexTime attribute.
        Parameters:
        value - the injectLastIndexTime
      • setInjectLastIndexTime

        public void setInjectLastIndexTime​(java.lang.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 java.lang.String getParameterProvider​(SessionContext ctx)
        Generated method - Getter of the SolrIndexerQuery.parameterProvider attribute.
        Returns:
        the parameterProvider
      • getParameterProvider

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

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

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

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

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

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

        public void setQuery​(java.lang.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 java.util.List<SolrIndexerQueryParameter> getSolrIndexerQueryParameters​(SessionContext ctx)
        Generated method - Getter of the SolrIndexerQuery.solrIndexerQueryParameters attribute.
        Returns:
        the solrIndexerQueryParameters
      • getSolrIndexerQueryParameters

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

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

        public void setSolrIndexerQueryParameters​(java.util.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