Class GeneratedEventConfiguration

    • Field Detail

      • EVENTCLASS

        public static final java.lang.String EVENTCLASS
        Qualifier of the EventConfiguration.eventClass attribute
        See Also:
        Constant Field Values
      • VERSION

        public static final java.lang.String VERSION
        Qualifier of the EventConfiguration.version attribute
        See Also:
        Constant Field Values
      • EXPORTFLAG

        public static final java.lang.String EXPORTFLAG
        Qualifier of the EventConfiguration.exportFlag attribute
        See Also:
        Constant Field Values
      • PRIORITY

        public static final java.lang.String PRIORITY
        Qualifier of the EventConfiguration.priority attribute
        See Also:
        Constant Field Values
      • EXPORTNAME

        public static final java.lang.String EXPORTNAME
        Qualifier of the EventConfiguration.exportName attribute
        See Also:
        Constant Field Values
      • MAPPINGTYPE

        public static final java.lang.String MAPPINGTYPE
        Qualifier of the EventConfiguration.mappingType attribute
        See Also:
        Constant Field Values
      • CONVERTERBEAN

        public static final java.lang.String CONVERTERBEAN
        Qualifier of the EventConfiguration.converterBean attribute
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Qualifier of the EventConfiguration.description attribute
        See Also:
        Constant Field Values
      • EXTENSIONNAME

        public static final java.lang.String EXTENSIONNAME
        Qualifier of the EventConfiguration.extensionName attribute
        See Also:
        Constant Field Values
      • FILTERLOCATION

        public static final java.lang.String FILTERLOCATION
        Qualifier of the EventConfiguration.filterLocation attribute
        See Also:
        Constant Field Values
      • EVENTPROPERTYCONFIGURATIONS

        public static final java.lang.String EVENTPROPERTYCONFIGURATIONS
        Qualifier of the EventConfiguration.eventPropertyConfigurations attribute
        See Also:
        Constant Field Values
      • DESTINATIONTARGET

        public static final java.lang.String DESTINATIONTARGET
        Qualifier of the EventConfiguration.destinationTarget 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

      • GeneratedEventConfiguration

        public GeneratedEventConfiguration()
    • Method Detail

      • getConverterBean

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

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

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

        public void setConverterBean​(java.lang.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 java.lang.String getDescription​(SessionContext ctx)
        Generated method - Getter of the EventConfiguration.description attribute.
        Returns:
        the description - Human-readable Description
      • getDescription

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

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

        public void setDescription​(java.lang.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 java.lang.String getEventClass​(SessionContext ctx)
        Generated method - Getter of the EventConfiguration.eventClass attribute.
        Returns:
        the eventClass - Full path of Class
      • getEventClass

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

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

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

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

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

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

        public void setEventPropertyConfigurations​(java.util.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 java.lang.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 java.lang.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,
                                  java.lang.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​(java.lang.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 java.lang.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 java.lang.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,
                                  java.lang.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​(java.lang.String value)
        Generated method - Setter of the EventConfiguration.exportName attribute.
        Parameters:
        value - the exportName - Name of the event in the target system
      • getExtensionName

        public java.lang.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 java.lang.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,
                                     java.lang.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​(java.lang.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 java.lang.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 java.lang.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,
                                      java.lang.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​(java.lang.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 java.lang.Integer getVersion​(SessionContext ctx)
        Generated method - Getter of the EventConfiguration.version attribute.
        Returns:
        the version - Event Configuration Version
      • getVersion

        public java.lang.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,
                                  java.lang.Integer value)
        Generated method - Setter of the EventConfiguration.version attribute.
        Parameters:
        value - the version - Event Configuration Version
      • setVersion

        protected void setVersion​(java.lang.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