Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
EntityEmailContract |
|
| 1.0;1 |
1 | package org.kuali.rice.kim.api.entity.email; | |
2 | ||
3 | ||
4 | import org.kuali.rice.core.api.mo.common.GloballyUnique; | |
5 | import org.kuali.rice.core.api.mo.common.Identifiable; | |
6 | import org.kuali.rice.core.api.mo.common.Versioned; | |
7 | import org.kuali.rice.kim.api.entity.TypeContract; | |
8 | import org.kuali.rice.krad.bo.DefaultableInactivateable; | |
9 | ||
10 | public interface EntityEmailContract extends Versioned, GloballyUnique, DefaultableInactivateable, Identifiable { | |
11 | /** | |
12 | * Gets this id of the parent entity object. | |
13 | * @return the entity id for this {@link EntityEmailContract} | |
14 | */ | |
15 | String getEntityId(); | |
16 | ||
17 | /** | |
18 | * Gets this entityTypeCode of the {@link EntityEmailContract}'s object. | |
19 | * @return the entity type code for this {@link EntityEmailContract} | |
20 | */ | |
21 | String getEntityTypeCode(); | |
22 | ||
23 | /** | |
24 | * Gets this {@link org.kuali.rice.kim.api.entity.email.EntityEmail}'s type code. | |
25 | * @return the type code for this {@link org.kuali.rice.kim.api.entity.email.EntityEmail}, or null if none has been assigned. | |
26 | */ | |
27 | TypeContract getEmailType(); | |
28 | ||
29 | /** | |
30 | * Gets this {@link EntityEmail}'s email address. | |
31 | * @return the email address for this {@link EntityEmail}, or null if none has been assigned. | |
32 | */ | |
33 | String getEmailAddress(); | |
34 | ||
35 | /** | |
36 | * Gets this {@link EntityEmail}'s unmasked email address. | |
37 | * @return the unmasked email address for this {@link EntityEmail}, or null if none has been assigned. | |
38 | */ | |
39 | String getEmailAddressUnmasked(); | |
40 | /** | |
41 | * Returns a boolean value that determines if email fields should be suppressed. | |
42 | * @return boolean value that determines if email should be suppressed. | |
43 | */ | |
44 | boolean isSuppressEmail(); | |
45 | } |