Class GeneratedSnIndexConfiguration

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

public abstract class GeneratedSnIndexConfiguration extends GenericItem
Generated class for type SnIndexConfiguration.
See Also:
  • Field Details

    • ID

      public static final String ID
      Qualifier of the SnIndexConfiguration.id attribute
      See Also:
    • NAME

      public static final String NAME
      Qualifier of the SnIndexConfiguration.name attribute
      See Also:
    • USER

      public static final String USER
      Qualifier of the SnIndexConfiguration.user attribute
      See Also:
    • LISTENERS

      public static final String LISTENERS
      Qualifier of the SnIndexConfiguration.listeners attribute
      See Also:
    • LANGUAGES

      public static final String LANGUAGES
      Qualifier of the SnIndexConfiguration.languages attribute
      See Also:
    • SNINDEXCONFIGURATION2LANGUAGE_SRC_ORDERED

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

      protected static String SNINDEXCONFIGURATION2LANGUAGE_TGT_ORDERED
    • SNINDEXCONFIGURATION2LANGUAGE_MARKMODIFIED

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

      public static final String CURRENCIES
      Qualifier of the SnIndexConfiguration.currencies attribute
      See Also:
    • SNINDEXCONFIGURATION2CURRENCY_SRC_ORDERED

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

      protected static String SNINDEXCONFIGURATION2CURRENCY_TGT_ORDERED
    • SNINDEXCONFIGURATION2CURRENCY_MARKMODIFIED

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

      public static final String SEARCHPROVIDERCONFIGURATION
      Qualifier of the SnIndexConfiguration.searchProviderConfiguration attribute
      See Also:
    • INDEXTYPES

      public static final String INDEXTYPES
      Qualifier of the SnIndexConfiguration.indexTypes attribute
      See Also:
    • SYNONYMDICTIONARIES

      public static final String SYNONYMDICTIONARIES
      Qualifier of the SnIndexConfiguration.synonymDictionaries attribute
      See Also:
    • SNINDEXCONFIGURATION2SYNONYMDICTIONARY_SRC_ORDERED

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

      protected static String SNINDEXCONFIGURATION2SYNONYMDICTIONARY_TGT_ORDERED
    • SNINDEXCONFIGURATION2SYNONYMDICTIONARY_MARKMODIFIED

      protected static String SNINDEXCONFIGURATION2SYNONYMDICTIONARY_MARKMODIFIED
      Relation disable markmodifed parameter constants for SnIndexConfiguration2SynonymDictionary from ((searchservices))
    • SEARCHPROVIDERCONFIGURATIONHANDLER

      protected static final BidirectionalOneToManyHandler<GeneratedSnIndexConfiguration> SEARCHPROVIDERCONFIGURATIONHANDLER
      BidirectionalOneToManyHandler for handling 1:n SEARCHPROVIDERCONFIGURATION's relation attributes from 'one' side.
    • INDEXTYPESHANDLER

      protected static final OneToManyHandler<SnIndexType> INDEXTYPESHANDLER
      OneToManyHandler for handling 1:n INDEXTYPES's relation attributes from 'many' side.
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedSnIndexConfiguration

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

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

      public 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, List<Currency> value)
      Generated method - Setter of the SnIndexConfiguration.currencies attribute.
      Parameters:
      value - the currencies
    • setCurrencies

      public void setCurrencies(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 String getId(SessionContext ctx)
      Generated method - Getter of the SnIndexConfiguration.id attribute.
      Returns:
      the id
    • getId

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

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

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

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

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

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

      public void setIndexTypes(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
    • isMarkModifiedDisabled

      @Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      isMarkModifiedDisabled in class Item
    • getLanguages

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

      public 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, List<Language> value)
      Generated method - Setter of the SnIndexConfiguration.languages attribute.
      Parameters:
      value - the languages
    • setLanguages

      public void setLanguages(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 List<String> getListeners(SessionContext ctx)
      Generated method - Getter of the SnIndexConfiguration.listeners attribute.
      Returns:
      the listeners
    • getListeners

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

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

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

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

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

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

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

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

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

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

      public void setAllName(Map<Language,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 List<SnSynonymDictionary> getSynonymDictionaries(SessionContext ctx)
      Generated method - Getter of the SnIndexConfiguration.synonymDictionaries attribute.
      Returns:
      the synonymDictionaries
    • getSynonymDictionaries

      public 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, List<SnSynonymDictionary> value)
      Generated method - Setter of the SnIndexConfiguration.synonymDictionaries attribute.
      Parameters:
      value - the synonymDictionaries
    • setSynonymDictionaries

      public void setSynonymDictionaries(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