All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.xsd.smooks.persistence-1.2.xsd Maven / Gradle / Ivy

The newest version!



    

    
        Smooks Persistence Configuration
    

    
    	
			
				This DAO inserter calls the insert method of a DAO, using a entity bean from
				the bean context as parameter.
			
		
    

    
		
			
				This DAO inserter calls the insert method of a DAO, using a entity bean from
				the bean context as parameter.
			
		

       	
       		
       			
       				
       					
       						The name of the DAO that will be used. If it is not set then the default DAO is used.
       					
       				
       			
       			
       				
       					
       						The ID under which the entity bean is
       						bound in the bean context.
       					
       				
       			
       			
       				
       					
       						The bean id under which the inserted bean will be stored. If not set then the object returned
                            by the insert method will not be stored in bean context.
       					
       				
       			
       			
       				
       					
       						The name of the insert method. Depending of the adapter this can mean different things.
       						For instance when using annotated DAO's you can name the methods and target them with this property, but
       						when using the Ibatis adapter you set the id of the Ibatis statement in this attribute.
       						This attribute is not supported by all scribe adapters.
       					
       				
       			
       			
       				
       					
       						The element selector to select the element when the inserter should execute.
       					
       				
       			
       			
       				
       					
       						Namespace control for the "InsertOnElement" attribute.
       					
       				
       			
				
       				
       					
       						If the inserter should execute on the 'before' event.
       					
       				
       			
       		
       	

    

	
    	
			
			
		
    

    
		
			
			
		

       	
       		
       			
       				
       					
       						The name of the DAO that will be used. If it is not set then the default DAO is used.
       					
       				
       			
       			
       				
       					
       						The ID under which the entity bean is
       						bound in the bean context.
       					
       				
       			
       			
       				
       					
       						The bean id under which the updated bean will be stored. If not set then the object returned
       						by the update method will not be stored in bean context.
       					
       				
       			
       			
       				
       					
       						The name of the update method. Depending of the adapter this can mean different things.
       						For instance when using annotated DAO's you can name the methods and target them with this property, but
       						when using the Ibatis adapter you set the id of the Ibatis statement in this attribute.
       					
       				
       			
       			
       				
       					
       						The element selector to select the element when the inserter should execute.
       					
       				
       			
       			
       				
       					
       						Namespace control for the "updateOnElement" attribute.
       					
       				
       			
				
       				
       					
       						If the updater should execute on the 'before' event.
       					
       				
       			
       		
       	

    

    
    	
			
				This DAO deleter calls the delete method of a DAO, using a entity bean from
				the bean context as parameter.
			
		
    

	
		
			
				This DAO deleter calls the delete method of a DAO, using a entity bean from
				the bean context as parameter.
			
		

       	
       		
       			
       				
       					
       						The name of the DAO that will be used.
       						If it is not set then the default DAO is used.
       					
       				
       			
       			
       				
       					
       						The ID under which the entity bean is
       						bound in the bean context.
       					
       				
       			
       			
       				
       					
       						The bean id under which the deleted bean will be stored. If not set then the deleted
                            bean will not be stored in bean context.
       					
       				
       			
       			
       				
       					
       						The name of the delete method. Depending of the adapter this can mean different things.
       						For instance when using annotated DAO's you can name the methods and target them with this property, but
       						when using the Ibatis adapter you set the id of the Ibatis statement in this attribute.
       						This attribute is not supported by all scribe adapters.
       					
       				
       			
       			
       				
       					
       						The element selector to select the element when the delete should execute.
       					
       				
       			
       			
       				
       					
       						Namespace control for the "deleteOnElement" attribute.
       					
       				
       			
				
       				
       					
       						If the deleter should execute on the 'before' event.
       					
       				
       			
       		
       	

    

    
    	
			
				This DAO flusher calls the flush method of a DAO.
			
		
    

    
		
			
				This DAO flusher calls the flush method of a DAO.
			
		

       	
       		
       			
       				
       					
       						The name of the DAO that needs to get flushed. If it is not set then the default DAO will be flushed.
       					
       				
       			
       			
       				
       					
       						The element selector to select the element when the flusher should execute.
       					
       				
       			
       			
       				
       					
       						Namespace control for the "flushOnElement" attribute.
       					
       				
       			
				
       				
       					
       						If the flusher should execute on the 'before' event.
       					
       				
       			
       		
       	

    

    
    	
			
				Can locate data/records by execution lookup methods or invoking
				queries.
				

The lookup methods or query can define parameters. The data for these parameters can directly be extracted from the input data stream or from existing beans in the beancontext or from a MVEL expression. The parameters can be named or be positional. In case of positional parameters the order in which the parameters are defined is crucial. Can locate data/records by execution lookup methods or invoking queries.

The lookup methods or query can define parameters. The data for these parameters can directly be extracted from the input data stream or from existing beans in the beancontext or from a MVEL expression. The parameters can be named or be positional.

The locator can handle multiple results or one unique result. In case of multiple result a List is set in the bean context. In case of a unique result the result will directly be set in the bean context.

In case of a query the query language depends on the dao or the scribe adapter. The query to locate the records/entities with. The lookup method/query parameters. The bean id under which the result is stored. If multiple results The name of the DAO that used. If it is not set then the default DAO will be used. The name of the lookup method. Defines the action when no result is found. If the lookup should only return one result. If true and multiple results are found then an Exception will be thrown. If true and only one result is found then this result will be set in the bean context. The element selector to select the element when the locator should execute. Namespace control for the "flushOnElement" attribute. If no result was located then the bean will be removed from bean context. If no result was located then an exception will be thrown. Defines if the position of the defined parameters is used to define the order in which they are handed over to the method or query. The lookup or query method will be called with a List containing the parameters. Defines the parameters should have names. The lookup or query method will be called with a Map containing the parameters. The lookup method/query parameters. A value parameter that retrieves its value directly from the input data using an element selector. Uses an object from the bean context as parameter. Uses the result from a MVEL expression as parameter. The expression is defined within this element. A CDATA tag or comment tag should be used to prevent problems with XML restricted characters. If the parameters are named or positional. A value parameter that retrieves its value directly from the input data using an element selector. The decoder parameters. In case of NAMED parameters the name of the parameter must be defined here. DEPRECATED

This attribute is in here by mistake and has no function. The data selector. The data decoder. The default value if the data is null or an empty string. The namespace for the data selector. In case of NAMED parameters the name of the parameter must be defined here. The bean id of bean that will be retrieved from the bean context. The element on which the bean will be retrieved from the bean context. By default this happens on the same element the locator is defined one. The namespace of the wireOnElement selector. In case of NAMED parameters the name of the parameter must be defined here. The element on which the expression will be executed. By default this happens on the same element the locator is defined one. The namespace of the execOnElement selector. The name of the parameter.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy