Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
IDEMRegistrator |
|
| 1.0;1 |
1 | /** | |
2 | * - Digitalis Internal Framework v2.0 - (C) 2007, Digitalis Informatica. Distribuicao e Gestao de Informatica, Lda. | |
3 | * Estrada de Paco de Arcos num.9 - Piso -1 2780-666 Paco de Arcos Telefone: (351) 21 4408990 Fax: (351) 21 4408999 | |
4 | * http://www.digitalis.pt | |
5 | */ | |
6 | package pt.digitalis.dif.dem.config; | |
7 | ||
8 | import java.util.List; | |
9 | ||
10 | import pt.digitalis.dif.dem.Entity; | |
11 | import pt.digitalis.dif.utils.annotations.Contribution; | |
12 | ||
13 | /** | |
14 | * @author Pedro Viegas <a href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a> | |
15 | * @created Sep 20, 2007 | |
16 | */ | |
17 | @Contribution | |
18 | public interface IDEMRegistrator { | |
19 | ||
20 | /** | |
21 | * Exclude the list of entities to exclude from the load process | |
22 | * | |
23 | * @param entityType | |
24 | * the entity type | |
25 | * @param entities | |
26 | * the list of entities to exclude | |
27 | */ | |
28 | public void excludeEntities(Entity entityType, List<String> entities); | |
29 | ||
30 | /** | |
31 | * Get the list of entities to be exclude from the DEM load process | |
32 | * | |
33 | * @param entityType | |
34 | * the entity type | |
35 | * @return the list of entities to be exclude | |
36 | */ | |
37 | public List<String> getEntitiesToExclude(Entity entityType); | |
38 | ||
39 | /** | |
40 | * Adds a package to the folder list. This CodeGen utility will search a group of conventioned subpackages and none | |
41 | * other: providers, applications, services, stages, validators | |
42 | * | |
43 | * @param packageName | |
44 | * the package name | |
45 | * @return T if app suite was successfully added, F otherwise | |
46 | */ | |
47 | public boolean registerAppSuiteBasePackage(String packageName); | |
48 | ||
49 | /** | |
50 | * Adds a package to the package list of classes to enrich. This CodeGen utility will search all subpackages inside | |
51 | * the given package for annotated entity classes | |
52 | * | |
53 | * @param packageName | |
54 | * the package name | |
55 | * @return T if package was successfully registered, F otherwise | |
56 | */ | |
57 | public boolean registerMetaModelPackage(String packageName); | |
58 | ||
59 | } |