Class GeneratedSnIndexConfiguration

    • Field Detail

      • ID

        public static final java.lang.String ID
        Qualifier of the SnIndexConfiguration.id attribute
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Qualifier of the SnIndexConfiguration.name attribute
        See Also:
        Constant Field Values
      • USER

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

        public static final java.lang.String LISTENERS
        Qualifier of the SnIndexConfiguration.listeners attribute
        See Also:
        Constant Field Values
      • LANGUAGES

        public static final java.lang.String LANGUAGES
        Qualifier of the SnIndexConfiguration.languages attribute
        See Also:
        Constant Field Values
      • SNINDEXCONFIGURATION2LANGUAGE_SRC_ORDERED

        protected static java.lang.String SNINDEXCONFIGURATION2LANGUAGE_SRC_ORDERED
        Relation ordering override parameter constants for SnIndexConfiguration2Language from ((searchservices))
      • SNINDEXCONFIGURATION2LANGUAGE_TGT_ORDERED

        protected static java.lang.String SNINDEXCONFIGURATION2LANGUAGE_TGT_ORDERED
      • SNINDEXCONFIGURATION2LANGUAGE_MARKMODIFIED

        protected static java.lang.String SNINDEXCONFIGURATION2LANGUAGE_MARKMODIFIED
        Relation disable markmodifed parameter constants for SnIndexConfiguration2Language from ((searchservices))
      • CURRENCIES

        public static final java.lang.String CURRENCIES
        Qualifier of the SnIndexConfiguration.currencies attribute
        See Also:
        Constant Field Values
      • SNINDEXCONFIGURATION2CURRENCY_SRC_ORDERED

        protected static java.lang.String SNINDEXCONFIGURATION2CURRENCY_SRC_ORDERED
        Relation ordering override parameter constants for SnIndexConfiguration2Currency from ((searchservices))
      • SNINDEXCONFIGURATION2CURRENCY_TGT_ORDERED

        protected static java.lang.String SNINDEXCONFIGURATION2CURRENCY_TGT_ORDERED
      • SNINDEXCONFIGURATION2CURRENCY_MARKMODIFIED

        protected static java.lang.String SNINDEXCONFIGURATION2CURRENCY_MARKMODIFIED
        Relation disable markmodifed parameter constants for SnIndexConfiguration2Currency from ((searchservices))
      • SEARCHPROVIDERCONFIGURATION

        public static final java.lang.String SEARCHPROVIDERCONFIGURATION
        Qualifier of the SnIndexConfiguration.searchProviderConfiguration attribute
        See Also:
        Constant Field Values
      • INDEXTYPES

        public static final java.lang.String INDEXTYPES
        Qualifier of the SnIndexConfiguration.indexTypes attribute
        See Also:
        Constant Field Values
      • SYNONYMDICTIONARIES

        public static final java.lang.String SYNONYMDICTIONARIES
        Qualifier of the SnIndexConfiguration.synonymDictionaries attribute
        See Also:
        Constant Field Values
      • SNINDEXCONFIGURATION2SYNONYMDICTIONARY_SRC_ORDERED

        protected static java.lang.String SNINDEXCONFIGURATION2SYNONYMDICTIONARY_SRC_ORDERED
        Relation ordering override parameter constants for SnIndexConfiguration2SynonymDictionary from ((searchservices))
      • SNINDEXCONFIGURATION2SYNONYMDICTIONARY_TGT_ORDERED

        protected static java.lang.String SNINDEXCONFIGURATION2SYNONYMDICTIONARY_TGT_ORDERED
      • SNINDEXCONFIGURATION2SYNONYMDICTIONARY_MARKMODIFIED

        protected static java.lang.String SNINDEXCONFIGURATION2SYNONYMDICTIONARY_MARKMODIFIED
        Relation disable markmodifed parameter constants for SnIndexConfiguration2SynonymDictionary from ((searchservices))
      • DEFAULT_INITIAL_ATTRIBUTES

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

      • GeneratedSnIndexConfiguration

        public GeneratedSnIndexConfiguration()
    • 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
      • getCurrencies

        public java.util.List<Currency> getCurrencies​(SessionContext ctx)
        Generated method - Getter of the SnIndexConfiguration.currencies attribute.
        Returns:
        the currencies
      • getCurrencies

        public java.util.List<Currency> getCurrencies()
        Generated method - Getter of the SnIndexConfiguration.currencies attribute.
        Returns:
        the currencies
      • getCurrenciesCount

        public long getCurrenciesCount​(SessionContext ctx)
      • getCurrenciesCount

        public long getCurrenciesCount()
      • setCurrencies

        public void setCurrencies​(SessionContext ctx,
                                  java.util.List<Currency> value)
        Generated method - Setter of the SnIndexConfiguration.currencies attribute.
        Parameters:
        value - the currencies
      • setCurrencies

        public void setCurrencies​(java.util.List<Currency> value)
        Generated method - Setter of the SnIndexConfiguration.currencies attribute.
        Parameters:
        value - the currencies
      • addToCurrencies

        public void addToCurrencies​(SessionContext ctx,
                                    Currency value)
        Generated method - Adds value to currencies.
        Parameters:
        value - the item to add to currencies
      • addToCurrencies

        public void addToCurrencies​(Currency value)
        Generated method - Adds value to currencies.
        Parameters:
        value - the item to add to currencies
      • removeFromCurrencies

        public void removeFromCurrencies​(SessionContext ctx,
                                         Currency value)
        Generated method - Removes value from currencies.
        Parameters:
        value - the item to remove from currencies
      • removeFromCurrencies

        public void removeFromCurrencies​(Currency value)
        Generated method - Removes value from currencies.
        Parameters:
        value - the item to remove from currencies
      • getId

        public java.lang.String getId​(SessionContext ctx)
        Generated method - Getter of the SnIndexConfiguration.id attribute.
        Returns:
        the id
      • getId

        public java.lang.String getId()
        Generated method - Getter of the SnIndexConfiguration.id attribute.
        Returns:
        the id
      • setId

        public void setId​(SessionContext ctx,
                          java.lang.String value)
        Generated method - Setter of the SnIndexConfiguration.id attribute.
        Parameters:
        value - the id
      • setId

        public void setId​(java.lang.String value)
        Generated method - Setter of the SnIndexConfiguration.id attribute.
        Parameters:
        value - the id
      • getIndexTypes

        public java.util.List<SnIndexType> getIndexTypes​(SessionContext ctx)
        Generated method - Getter of the SnIndexConfiguration.indexTypes attribute.
        Returns:
        the indexTypes
      • getIndexTypes

        public java.util.List<SnIndexType> getIndexTypes()
        Generated method - Getter of the SnIndexConfiguration.indexTypes attribute.
        Returns:
        the indexTypes
      • setIndexTypes

        public void setIndexTypes​(SessionContext ctx,
                                  java.util.List<SnIndexType> value)
        Generated method - Setter of the SnIndexConfiguration.indexTypes attribute.
        Parameters:
        value - the indexTypes
      • setIndexTypes

        public void setIndexTypes​(java.util.List<SnIndexType> value)
        Generated method - Setter of the SnIndexConfiguration.indexTypes attribute.
        Parameters:
        value - the indexTypes
      • addToIndexTypes

        public void addToIndexTypes​(SessionContext ctx,
                                    SnIndexType value)
        Generated method - Adds value to indexTypes.
        Parameters:
        value - the item to add to indexTypes
      • addToIndexTypes

        public void addToIndexTypes​(SnIndexType value)
        Generated method - Adds value to indexTypes.
        Parameters:
        value - the item to add to indexTypes
      • removeFromIndexTypes

        public void removeFromIndexTypes​(SessionContext ctx,
                                         SnIndexType value)
        Generated method - Removes value from indexTypes.
        Parameters:
        value - the item to remove from indexTypes
      • removeFromIndexTypes

        public void removeFromIndexTypes​(SnIndexType value)
        Generated method - Removes value from indexTypes.
        Parameters:
        value - the item to remove from indexTypes
      • getLanguages

        public java.util.List<Language> getLanguages​(SessionContext ctx)
        Generated method - Getter of the SnIndexConfiguration.languages attribute.
        Returns:
        the languages
      • getLanguages

        public java.util.List<Language> getLanguages()
        Generated method - Getter of the SnIndexConfiguration.languages attribute.
        Returns:
        the languages
      • getLanguagesCount

        public long getLanguagesCount​(SessionContext ctx)
      • getLanguagesCount

        public long getLanguagesCount()
      • setLanguages

        public void setLanguages​(SessionContext ctx,
                                 java.util.List<Language> value)
        Generated method - Setter of the SnIndexConfiguration.languages attribute.
        Parameters:
        value - the languages
      • setLanguages

        public void setLanguages​(java.util.List<Language> value)
        Generated method - Setter of the SnIndexConfiguration.languages attribute.
        Parameters:
        value - the languages
      • addToLanguages

        public void addToLanguages​(SessionContext ctx,
                                   Language value)
        Generated method - Adds value to languages.
        Parameters:
        value - the item to add to languages
      • addToLanguages

        public void addToLanguages​(Language value)
        Generated method - Adds value to languages.
        Parameters:
        value - the item to add to languages
      • removeFromLanguages

        public void removeFromLanguages​(SessionContext ctx,
                                        Language value)
        Generated method - Removes value from languages.
        Parameters:
        value - the item to remove from languages
      • removeFromLanguages

        public void removeFromLanguages​(Language value)
        Generated method - Removes value from languages.
        Parameters:
        value - the item to remove from languages
      • getListeners

        public java.util.List<java.lang.String> getListeners​(SessionContext ctx)
        Generated method - Getter of the SnIndexConfiguration.listeners attribute.
        Returns:
        the listeners
      • getListeners

        public java.util.List<java.lang.String> getListeners()
        Generated method - Getter of the SnIndexConfiguration.listeners attribute.
        Returns:
        the listeners
      • setListeners

        public void setListeners​(SessionContext ctx,
                                 java.util.List<java.lang.String> value)
        Generated method - Setter of the SnIndexConfiguration.listeners attribute.
        Parameters:
        value - the listeners
      • setListeners

        public void setListeners​(java.util.List<java.lang.String> value)
        Generated method - Setter of the SnIndexConfiguration.listeners attribute.
        Parameters:
        value - the listeners
      • getName

        public java.lang.String getName​(SessionContext ctx)
        Generated method - Getter of the SnIndexConfiguration.name attribute.
        Returns:
        the name
      • getName

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

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

        public void setName​(java.lang.String value)
        Generated method - Setter of the SnIndexConfiguration.name attribute.
        Parameters:
        value - the name
      • getSearchProviderConfiguration

        public AbstractSnSearchProviderConfiguration getSearchProviderConfiguration​(SessionContext ctx)
        Generated method - Getter of the SnIndexConfiguration.searchProviderConfiguration attribute.
        Returns:
        the searchProviderConfiguration
      • getSearchProviderConfiguration

        public AbstractSnSearchProviderConfiguration getSearchProviderConfiguration()
        Generated method - Getter of the SnIndexConfiguration.searchProviderConfiguration attribute.
        Returns:
        the searchProviderConfiguration
      • setSearchProviderConfiguration

        public void setSearchProviderConfiguration​(SessionContext ctx,
                                                   AbstractSnSearchProviderConfiguration value)
        Generated method - Setter of the SnIndexConfiguration.searchProviderConfiguration attribute.
        Parameters:
        value - the searchProviderConfiguration
      • setSearchProviderConfiguration

        public void setSearchProviderConfiguration​(AbstractSnSearchProviderConfiguration value)
        Generated method - Setter of the SnIndexConfiguration.searchProviderConfiguration attribute.
        Parameters:
        value - the searchProviderConfiguration
      • getSynonymDictionaries

        public java.util.List<SnSynonymDictionary> getSynonymDictionaries​(SessionContext ctx)
        Generated method - Getter of the SnIndexConfiguration.synonymDictionaries attribute.
        Returns:
        the synonymDictionaries
      • getSynonymDictionaries

        public java.util.List<SnSynonymDictionary> getSynonymDictionaries()
        Generated method - Getter of the SnIndexConfiguration.synonymDictionaries attribute.
        Returns:
        the synonymDictionaries
      • getSynonymDictionariesCount

        public long getSynonymDictionariesCount​(SessionContext ctx)
      • getSynonymDictionariesCount

        public long getSynonymDictionariesCount()
      • setSynonymDictionaries

        public void setSynonymDictionaries​(SessionContext ctx,
                                           java.util.List<SnSynonymDictionary> value)
        Generated method - Setter of the SnIndexConfiguration.synonymDictionaries attribute.
        Parameters:
        value - the synonymDictionaries
      • setSynonymDictionaries

        public void setSynonymDictionaries​(java.util.List<SnSynonymDictionary> value)
        Generated method - Setter of the SnIndexConfiguration.synonymDictionaries attribute.
        Parameters:
        value - the synonymDictionaries
      • addToSynonymDictionaries

        public void addToSynonymDictionaries​(SessionContext ctx,
                                             SnSynonymDictionary value)
        Generated method - Adds value to synonymDictionaries.
        Parameters:
        value - the item to add to synonymDictionaries
      • addToSynonymDictionaries

        public void addToSynonymDictionaries​(SnSynonymDictionary value)
        Generated method - Adds value to synonymDictionaries.
        Parameters:
        value - the item to add to synonymDictionaries
      • removeFromSynonymDictionaries

        public void removeFromSynonymDictionaries​(SessionContext ctx,
                                                  SnSynonymDictionary value)
        Generated method - Removes value from synonymDictionaries.
        Parameters:
        value - the item to remove from synonymDictionaries
      • removeFromSynonymDictionaries

        public void removeFromSynonymDictionaries​(SnSynonymDictionary value)
        Generated method - Removes value from synonymDictionaries.
        Parameters:
        value - the item to remove from synonymDictionaries
      • getUser

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

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

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

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