Class GeneratedEventConfiguration

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

public abstract class GeneratedEventConfiguration extends GenericItem
Generated class for type EventConfiguration.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedEventConfiguration

      public GeneratedEventConfiguration()
  • Method Details

    • getDefaultAttributeModes

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

      public String getConverterBean(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.converterBean attribute.
      Returns:
      the converterBean - Spring Bean Name
    • getConverterBean

      public String getConverterBean()
      Generated method - Getter of the EventConfiguration.converterBean attribute.
      Returns:
      the converterBean - Spring Bean Name
    • setConverterBean

      public void setConverterBean(SessionContext ctx, String value)
      Generated method - Setter of the EventConfiguration.converterBean attribute.
      Parameters:
      value - the converterBean - Spring Bean Name
    • setConverterBean

      public void setConverterBean(String value)
      Generated method - Setter of the EventConfiguration.converterBean attribute.
      Parameters:
      value - the converterBean - Spring Bean Name
    • 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
    • getDescription

      public String getDescription(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.description attribute.
      Returns:
      the description - Human-readable Description
    • getDescription

      public String getDescription()
      Generated method - Getter of the EventConfiguration.description attribute.
      Returns:
      the description - Human-readable Description
    • setDescription

      public void setDescription(SessionContext ctx, String value)
      Generated method - Setter of the EventConfiguration.description attribute.
      Parameters:
      value - the description - Human-readable Description
    • setDescription

      public void setDescription(String value)
      Generated method - Setter of the EventConfiguration.description attribute.
      Parameters:
      value - the description - Human-readable Description
    • getDestinationTarget

      public DestinationTarget getDestinationTarget(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.destinationTarget attribute.
      Returns:
      the destinationTarget - Destination Target
    • getDestinationTarget

      public DestinationTarget getDestinationTarget()
      Generated method - Getter of the EventConfiguration.destinationTarget attribute.
      Returns:
      the destinationTarget - Destination Target
    • setDestinationTarget

      protected void setDestinationTarget(SessionContext ctx, DestinationTarget value)
      Generated method - Setter of the EventConfiguration.destinationTarget attribute.
      Parameters:
      value - the destinationTarget - Destination Target
    • setDestinationTarget

      protected void setDestinationTarget(DestinationTarget value)
      Generated method - Setter of the EventConfiguration.destinationTarget attribute.
      Parameters:
      value - the destinationTarget - Destination Target
    • getEventClass

      public String getEventClass(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.eventClass attribute.
      Returns:
      the eventClass - Full path of Class
    • getEventClass

      public String getEventClass()
      Generated method - Getter of the EventConfiguration.eventClass attribute.
      Returns:
      the eventClass - Full path of Class
    • setEventClass

      public void setEventClass(SessionContext ctx, String value)
      Generated method - Setter of the EventConfiguration.eventClass attribute.
      Parameters:
      value - the eventClass - Full path of Class
    • setEventClass

      public void setEventClass(String value)
      Generated method - Setter of the EventConfiguration.eventClass attribute.
      Parameters:
      value - the eventClass - Full path of Class
    • getEventPropertyConfigurations

      public List<EventPropertyConfiguration> getEventPropertyConfigurations(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.eventPropertyConfigurations attribute.
      Returns:
      the eventPropertyConfigurations - Event Property Configurations
    • getEventPropertyConfigurations

      public List<EventPropertyConfiguration> getEventPropertyConfigurations()
      Generated method - Getter of the EventConfiguration.eventPropertyConfigurations attribute.
      Returns:
      the eventPropertyConfigurations - Event Property Configurations
    • setEventPropertyConfigurations

      public void setEventPropertyConfigurations(SessionContext ctx, List<EventPropertyConfiguration> value)
      Generated method - Setter of the EventConfiguration.eventPropertyConfigurations attribute.
      Parameters:
      value - the eventPropertyConfigurations - Event Property Configurations
    • setEventPropertyConfigurations

      public void setEventPropertyConfigurations(List<EventPropertyConfiguration> value)
      Generated method - Setter of the EventConfiguration.eventPropertyConfigurations attribute.
      Parameters:
      value - the eventPropertyConfigurations - Event Property Configurations
    • addToEventPropertyConfigurations

      public void addToEventPropertyConfigurations(SessionContext ctx, EventPropertyConfiguration value)
      Generated method - Adds value to eventPropertyConfigurations.
      Parameters:
      value - the item to add to eventPropertyConfigurations - Event Property Configurations
    • addToEventPropertyConfigurations

      public void addToEventPropertyConfigurations(EventPropertyConfiguration value)
      Generated method - Adds value to eventPropertyConfigurations.
      Parameters:
      value - the item to add to eventPropertyConfigurations - Event Property Configurations
    • removeFromEventPropertyConfigurations

      public void removeFromEventPropertyConfigurations(SessionContext ctx, EventPropertyConfiguration value)
      Generated method - Removes value from eventPropertyConfigurations.
      Parameters:
      value - the item to remove from eventPropertyConfigurations - Event Property Configurations
    • removeFromEventPropertyConfigurations

      public void removeFromEventPropertyConfigurations(EventPropertyConfiguration value)
      Generated method - Removes value from eventPropertyConfigurations.
      Parameters:
      value - the item to remove from eventPropertyConfigurations - Event Property Configurations
    • isExportFlag

      public Boolean isExportFlag(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.exportFlag attribute.
      Returns:
      the exportFlag - Export Flag. Indicates whether the event or its specification is exported to its target destination.
    • isExportFlag

      public Boolean isExportFlag()
      Generated method - Getter of the EventConfiguration.exportFlag attribute.
      Returns:
      the exportFlag - Export Flag. Indicates whether the event or its specification is exported to its target destination.
    • isExportFlagAsPrimitive

      public boolean isExportFlagAsPrimitive(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.exportFlag attribute.
      Returns:
      the exportFlag - Export Flag. Indicates whether the event or its specification is exported to its target destination.
    • isExportFlagAsPrimitive

      public boolean isExportFlagAsPrimitive()
      Generated method - Getter of the EventConfiguration.exportFlag attribute.
      Returns:
      the exportFlag - Export Flag. Indicates whether the event or its specification is exported to its target destination.
    • setExportFlag

      public void setExportFlag(SessionContext ctx, Boolean value)
      Generated method - Setter of the EventConfiguration.exportFlag attribute.
      Parameters:
      value - the exportFlag - Export Flag. Indicates whether the event or its specification is exported to its target destination.
    • setExportFlag

      public void setExportFlag(Boolean value)
      Generated method - Setter of the EventConfiguration.exportFlag attribute.
      Parameters:
      value - the exportFlag - Export Flag. Indicates whether the event or its specification is exported to its target destination.
    • setExportFlag

      public void setExportFlag(SessionContext ctx, boolean value)
      Generated method - Setter of the EventConfiguration.exportFlag attribute.
      Parameters:
      value - the exportFlag - Export Flag. Indicates whether the event or its specification is exported to its target destination.
    • setExportFlag

      public void setExportFlag(boolean value)
      Generated method - Setter of the EventConfiguration.exportFlag attribute.
      Parameters:
      value - the exportFlag - Export Flag. Indicates whether the event or its specification is exported to its target destination.
    • getExportName

      public String getExportName(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.exportName attribute.
      Returns:
      the exportName - Name of the event in the target system
    • getExportName

      public String getExportName()
      Generated method - Getter of the EventConfiguration.exportName attribute.
      Returns:
      the exportName - Name of the event in the target system
    • setExportName

      public void setExportName(SessionContext ctx, String value)
      Generated method - Setter of the EventConfiguration.exportName attribute.
      Parameters:
      value - the exportName - Name of the event in the target system
    • setExportName

      public void setExportName(String value)
      Generated method - Setter of the EventConfiguration.exportName attribute.
      Parameters:
      value - the exportName - Name of the event in the target system
    • getExtensionName

      public String getExtensionName(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.extensionName attribute.
      Returns:
      the extensionName - Name of the EC extension where the event class is defined
    • getExtensionName

      public String getExtensionName()
      Generated method - Getter of the EventConfiguration.extensionName attribute.
      Returns:
      the extensionName - Name of the EC extension where the event class is defined
    • setExtensionName

      public void setExtensionName(SessionContext ctx, String value)
      Generated method - Setter of the EventConfiguration.extensionName attribute.
      Parameters:
      value - the extensionName - Name of the EC extension where the event class is defined
    • setExtensionName

      public void setExtensionName(String value)
      Generated method - Setter of the EventConfiguration.extensionName attribute.
      Parameters:
      value - the extensionName - Name of the EC extension where the event class is defined
    • getFilterLocation

      public String getFilterLocation(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.filterLocation attribute.
      Returns:
      the filterLocation - Specifies the filter script URI to filter Kyma events. The filter script URI should follow this format model://yourScriptName
    • getFilterLocation

      public String getFilterLocation()
      Generated method - Getter of the EventConfiguration.filterLocation attribute.
      Returns:
      the filterLocation - Specifies the filter script URI to filter Kyma events. The filter script URI should follow this format model://yourScriptName
    • setFilterLocation

      public void setFilterLocation(SessionContext ctx, String value)
      Generated method - Setter of the EventConfiguration.filterLocation attribute.
      Parameters:
      value - the filterLocation - Specifies the filter script URI to filter Kyma events. The filter script URI should follow this format model://yourScriptName
    • setFilterLocation

      public void setFilterLocation(String value)
      Generated method - Setter of the EventConfiguration.filterLocation attribute.
      Parameters:
      value - the filterLocation - Specifies the filter script URI to filter Kyma events. The filter script URI should follow this format model://yourScriptName
    • getMappingType

      public EnumerationValue getMappingType(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.mappingType attribute.
      Returns:
      the mappingType - Way of event data mapping
    • getMappingType

      public EnumerationValue getMappingType()
      Generated method - Getter of the EventConfiguration.mappingType attribute.
      Returns:
      the mappingType - Way of event data mapping
    • setMappingType

      public void setMappingType(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the EventConfiguration.mappingType attribute.
      Parameters:
      value - the mappingType - Way of event data mapping
    • setMappingType

      public void setMappingType(EnumerationValue value)
      Generated method - Setter of the EventConfiguration.mappingType attribute.
      Parameters:
      value - the mappingType - Way of event data mapping
    • getPriority

      public EnumerationValue getPriority(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.priority attribute.
      Returns:
      the priority - Export Priority
    • getPriority

      public EnumerationValue getPriority()
      Generated method - Getter of the EventConfiguration.priority attribute.
      Returns:
      the priority - Export Priority
    • setPriority

      public void setPriority(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the EventConfiguration.priority attribute.
      Parameters:
      value - the priority - Export Priority
    • setPriority

      public void setPriority(EnumerationValue value)
      Generated method - Setter of the EventConfiguration.priority attribute.
      Parameters:
      value - the priority - Export Priority
    • getVersion

      public Integer getVersion(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.version attribute.
      Returns:
      the version - Event Configuration Version
    • getVersion

      public Integer getVersion()
      Generated method - Getter of the EventConfiguration.version attribute.
      Returns:
      the version - Event Configuration Version
    • getVersionAsPrimitive

      public int getVersionAsPrimitive(SessionContext ctx)
      Generated method - Getter of the EventConfiguration.version attribute.
      Returns:
      the version - Event Configuration Version
    • getVersionAsPrimitive

      public int getVersionAsPrimitive()
      Generated method - Getter of the EventConfiguration.version attribute.
      Returns:
      the version - Event Configuration Version
    • setVersion

      protected void setVersion(SessionContext ctx, Integer value)
      Generated method - Setter of the EventConfiguration.version attribute.
      Parameters:
      value - the version - Event Configuration Version
    • setVersion

      protected void setVersion(Integer value)
      Generated method - Setter of the EventConfiguration.version attribute.
      Parameters:
      value - the version - Event Configuration Version
    • setVersion

      protected void setVersion(SessionContext ctx, int value)
      Generated method - Setter of the EventConfiguration.version attribute.
      Parameters:
      value - the version - Event Configuration Version
    • setVersion

      protected void setVersion(int value)
      Generated method - Setter of the EventConfiguration.version attribute.
      Parameters:
      value - the version - Event Configuration Version