fr.paris.lutece.plugins.jcr.business
Interface INodeAction<T,L extends Collection<T>>

Type Parameters:
T - the type of result elements
L - the collection type
All Known Implementing Classes:
IndexerNodeAction

public interface INodeAction<T,L extends Collection<T>>

Specify action to perform when browsing a JCR


Method Summary
 L createCollection()
          Creates the resulting collection
 T doAction(IRepositoryFile file)
          Performs an action on file.
 

Method Detail

doAction

T doAction(IRepositoryFile file)
Performs an action on file. The result is an instance of T, or null to ignore the node

Parameters:
file - the input file
Returns:
the transformed node

createCollection

L createCollection()
Creates the resulting collection

Returns:
a collection


Copyright © 2014 Mairie de Paris. All Rights Reserved.