Class GeneratedStreamConfiguration

    • Field Detail

      • STREAMID

        public static final java.lang.String STREAMID
        Qualifier of the StreamConfiguration.streamId attribute
        See Also:
        Constant Field Values
      • ITEMTYPEFORSTREAM

        public static final java.lang.String ITEMTYPEFORSTREAM
        Qualifier of the StreamConfiguration.itemTypeForStream attribute
        See Also:
        Constant Field Values
      • WHERECLAUSE

        public static final java.lang.String WHERECLAUSE
        Qualifier of the StreamConfiguration.whereClause attribute
        See Also:
        Constant Field Values
      • VERSIONSELECTCLAUSE

        public static final java.lang.String VERSIONSELECTCLAUSE
        Qualifier of the StreamConfiguration.versionSelectClause attribute
        See Also:
        Constant Field Values
      • ACTIVE

        public static final java.lang.String ACTIVE
        Qualifier of the StreamConfiguration.active attribute
        See Also:
        Constant Field Values
      • INFOEXPRESSION

        public static final java.lang.String INFOEXPRESSION
        Qualifier of the StreamConfiguration.infoExpression attribute
        See Also:
        Constant Field Values
      • CONTAINER

        public static final java.lang.String CONTAINER
        Qualifier of the StreamConfiguration.container attribute
        See Also:
        Constant Field Values
      • EXCLUDEDTYPES

        public static final java.lang.String EXCLUDEDTYPES
        Qualifier of the StreamConfiguration.excludedTypes attribute
        See Also:
        Constant Field Values
      • STREAMCONFIGURATIONEXCLUDEDSUBTYPES_SRC_ORDERED

        protected static java.lang.String STREAMCONFIGURATIONEXCLUDEDSUBTYPES_SRC_ORDERED
        Relation ordering override parameter constants for StreamConfigurationExcludedSubtypes from ((deltadetection))
      • STREAMCONFIGURATIONEXCLUDEDSUBTYPES_TGT_ORDERED

        protected static java.lang.String STREAMCONFIGURATIONEXCLUDEDSUBTYPES_TGT_ORDERED
      • STREAMCONFIGURATIONEXCLUDEDSUBTYPES_MARKMODIFIED

        protected static java.lang.String STREAMCONFIGURATIONEXCLUDEDSUBTYPES_MARKMODIFIED
        Relation disable markmodifed parameter constants for StreamConfigurationExcludedSubtypes from ((deltadetection))
      • DEFAULT_INITIAL_ATTRIBUTES

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

      • GeneratedStreamConfiguration

        public GeneratedStreamConfiguration()
    • Method Detail

      • isActive

        public java.lang.Boolean isActive​(SessionContext ctx)
        Generated method - Getter of the StreamConfiguration.active attribute.
        Returns:
        the active
      • isActive

        public java.lang.Boolean isActive()
        Generated method - Getter of the StreamConfiguration.active attribute.
        Returns:
        the active
      • isActiveAsPrimitive

        public boolean isActiveAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the StreamConfiguration.active attribute.
        Returns:
        the active
      • isActiveAsPrimitive

        public boolean isActiveAsPrimitive()
        Generated method - Getter of the StreamConfiguration.active attribute.
        Returns:
        the active
      • setActive

        public void setActive​(SessionContext ctx,
                              java.lang.Boolean value)
        Generated method - Setter of the StreamConfiguration.active attribute.
        Parameters:
        value - the active
      • setActive

        public void setActive​(java.lang.Boolean value)
        Generated method - Setter of the StreamConfiguration.active attribute.
        Parameters:
        value - the active
      • setActive

        public void setActive​(SessionContext ctx,
                              boolean value)
        Generated method - Setter of the StreamConfiguration.active attribute.
        Parameters:
        value - the active
      • setActive

        public void setActive​(boolean value)
        Generated method - Setter of the StreamConfiguration.active attribute.
        Parameters:
        value - the active
      • getContainer

        public StreamConfigurationContainer getContainer()
        Generated method - Getter of the StreamConfiguration.container attribute.
        Returns:
        the container
      • setContainer

        protected void setContainer​(SessionContext ctx,
                                    StreamConfigurationContainer value)
        Generated method - Setter of the StreamConfiguration.container attribute.
        Parameters:
        value - the container
      • setContainer

        protected void setContainer​(StreamConfigurationContainer value)
        Generated method - Setter of the StreamConfiguration.container attribute.
        Parameters:
        value - the container
      • 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
      • getExcludedTypes

        public java.util.Set<ComposedType> getExcludedTypes​(SessionContext ctx)
        Generated method - Getter of the StreamConfiguration.excludedTypes attribute.
        Returns:
        the excludedTypes
      • getExcludedTypes

        public java.util.Set<ComposedType> getExcludedTypes()
        Generated method - Getter of the StreamConfiguration.excludedTypes attribute.
        Returns:
        the excludedTypes
      • getExcludedTypesCount

        public long getExcludedTypesCount​(SessionContext ctx)
      • getExcludedTypesCount

        public long getExcludedTypesCount()
      • setExcludedTypes

        public void setExcludedTypes​(SessionContext ctx,
                                     java.util.Set<ComposedType> value)
        Generated method - Setter of the StreamConfiguration.excludedTypes attribute.
        Parameters:
        value - the excludedTypes
      • setExcludedTypes

        public void setExcludedTypes​(java.util.Set<ComposedType> value)
        Generated method - Setter of the StreamConfiguration.excludedTypes attribute.
        Parameters:
        value - the excludedTypes
      • addToExcludedTypes

        public void addToExcludedTypes​(SessionContext ctx,
                                       ComposedType value)
        Generated method - Adds value to excludedTypes.
        Parameters:
        value - the item to add to excludedTypes
      • addToExcludedTypes

        public void addToExcludedTypes​(ComposedType value)
        Generated method - Adds value to excludedTypes.
        Parameters:
        value - the item to add to excludedTypes
      • removeFromExcludedTypes

        public void removeFromExcludedTypes​(SessionContext ctx,
                                            ComposedType value)
        Generated method - Removes value from excludedTypes.
        Parameters:
        value - the item to remove from excludedTypes
      • removeFromExcludedTypes

        public void removeFromExcludedTypes​(ComposedType value)
        Generated method - Removes value from excludedTypes.
        Parameters:
        value - the item to remove from excludedTypes
      • getInfoExpression

        public java.lang.String getInfoExpression​(SessionContext ctx)
        Generated method - Getter of the StreamConfiguration.infoExpression attribute.
        Returns:
        the infoExpression
      • getInfoExpression

        public java.lang.String getInfoExpression()
        Generated method - Getter of the StreamConfiguration.infoExpression attribute.
        Returns:
        the infoExpression
      • setInfoExpression

        public void setInfoExpression​(SessionContext ctx,
                                      java.lang.String value)
        Generated method - Setter of the StreamConfiguration.infoExpression attribute.
        Parameters:
        value - the infoExpression
      • setInfoExpression

        public void setInfoExpression​(java.lang.String value)
        Generated method - Setter of the StreamConfiguration.infoExpression attribute.
        Parameters:
        value - the infoExpression
      • getItemTypeForStream

        public ComposedType getItemTypeForStream​(SessionContext ctx)
        Generated method - Getter of the StreamConfiguration.itemTypeForStream attribute.
        Returns:
        the itemTypeForStream
      • getItemTypeForStream

        public ComposedType getItemTypeForStream()
        Generated method - Getter of the StreamConfiguration.itemTypeForStream attribute.
        Returns:
        the itemTypeForStream
      • setItemTypeForStream

        public void setItemTypeForStream​(SessionContext ctx,
                                         ComposedType value)
        Generated method - Setter of the StreamConfiguration.itemTypeForStream attribute.
        Parameters:
        value - the itemTypeForStream
      • setItemTypeForStream

        public void setItemTypeForStream​(ComposedType value)
        Generated method - Setter of the StreamConfiguration.itemTypeForStream attribute.
        Parameters:
        value - the itemTypeForStream
      • getStreamId

        public java.lang.String getStreamId​(SessionContext ctx)
        Generated method - Getter of the StreamConfiguration.streamId attribute.
        Returns:
        the streamId
      • getStreamId

        public java.lang.String getStreamId()
        Generated method - Getter of the StreamConfiguration.streamId attribute.
        Returns:
        the streamId
      • setStreamId

        protected void setStreamId​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the StreamConfiguration.streamId attribute.
        Parameters:
        value - the streamId
      • setStreamId

        protected void setStreamId​(java.lang.String value)
        Generated method - Setter of the StreamConfiguration.streamId attribute.
        Parameters:
        value - the streamId
      • getVersionSelectClause

        public java.lang.String getVersionSelectClause​(SessionContext ctx)
        Generated method - Getter of the StreamConfiguration.versionSelectClause attribute.
        Returns:
        the versionSelectClause
      • getVersionSelectClause

        public java.lang.String getVersionSelectClause()
        Generated method - Getter of the StreamConfiguration.versionSelectClause attribute.
        Returns:
        the versionSelectClause
      • setVersionSelectClause

        public void setVersionSelectClause​(SessionContext ctx,
                                           java.lang.String value)
        Generated method - Setter of the StreamConfiguration.versionSelectClause attribute.
        Parameters:
        value - the versionSelectClause
      • setVersionSelectClause

        public void setVersionSelectClause​(java.lang.String value)
        Generated method - Setter of the StreamConfiguration.versionSelectClause attribute.
        Parameters:
        value - the versionSelectClause
      • getWhereClause

        public java.lang.String getWhereClause​(SessionContext ctx)
        Generated method - Getter of the StreamConfiguration.whereClause attribute.
        Returns:
        the whereClause
      • getWhereClause

        public java.lang.String getWhereClause()
        Generated method - Getter of the StreamConfiguration.whereClause attribute.
        Returns:
        the whereClause
      • setWhereClause

        public void setWhereClause​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the StreamConfiguration.whereClause attribute.
        Parameters:
        value - the whereClause
      • setWhereClause

        public void setWhereClause​(java.lang.String value)
        Generated method - Setter of the StreamConfiguration.whereClause attribute.
        Parameters:
        value - the whereClause