Project

General

Profile

1
package eu.dnetlib.iis.export.actionmanager.module;
2

    
3
import java.util.List;
4

    
5
import eu.dnetlib.actionmanager.actions.AtomicAction;
6
import eu.dnetlib.actionmanager.common.Agent;
7

    
8
/**
9
 * Action builder module.
10
 * @author mhorst
11
 *
12
 * @param <T>
13
 */
14
public interface ActionBuilderModule<T> {
15

    
16
	/**
17
	 * Creates collection of actions.
18
	 * @param object
19
	 * @param agent action agent
20
	 * @param actionSetId action set identifier
21
	 * This instance should be used in read-only mode.
22
	 * @throws TrustLevelThresholdExceededException thrown when trust level threshold was exceeded
23
	 * @return collection of actions
24
	 */
25
	List<AtomicAction> build(T object, Agent agent, String actionSetId) throws TrustLevelThresholdExceededException;
26
	
27
}
28

    
(4-4/23)