Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
EntityEmailContract |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2005-2011 The Kuali Foundation | |
3 | * | |
4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
5 | * you may not use this file except in compliance with the License. | |
6 | * You may obtain a copy of the License at | |
7 | * | |
8 | * http://www.opensource.org/licenses/ecl2.php | |
9 | * | |
10 | * Unless required by applicable law or agreed to in writing, software | |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | * See the License for the specific language governing permissions and | |
14 | * limitations under the License. | |
15 | */ | |
16 | package org.kuali.rice.kim.api.identity.email; | |
17 | ||
18 | import org.kuali.rice.core.api.mo.common.Defaultable; | |
19 | import org.kuali.rice.core.api.mo.common.GloballyUnique; | |
20 | import org.kuali.rice.core.api.mo.common.Identifiable; | |
21 | import org.kuali.rice.core.api.mo.common.Versioned; | |
22 | import org.kuali.rice.core.api.mo.common.active.Inactivatable; | |
23 | import org.kuali.rice.kim.api.identity.CodedAttributeContract; | |
24 | ||
25 | public interface EntityEmailContract extends Versioned, GloballyUnique, Defaultable, Inactivatable, Identifiable { | |
26 | /** | |
27 | * Gets this id of the parent identity object. | |
28 | * @return the identity id for this {@link EntityEmailContract} | |
29 | */ | |
30 | String getEntityId(); | |
31 | ||
32 | /** | |
33 | * Gets this entityTypeCode of the {@link EntityEmailContract}'s object. | |
34 | * @return the identity type code for this {@link EntityEmailContract} | |
35 | */ | |
36 | String getEntityTypeCode(); | |
37 | ||
38 | /** | |
39 | * Gets this {@link org.kuali.rice.kim.api.identity.email.EntityEmail}'s type code. | |
40 | * @return the type code for this {@link org.kuali.rice.kim.api.identity.email.EntityEmail}, or null if none has been assigned. | |
41 | */ | |
42 | CodedAttributeContract getEmailType(); | |
43 | ||
44 | /** | |
45 | * Gets this {@link EntityEmail}'s email address. | |
46 | * @return the email address for this {@link EntityEmail}, or null if none has been assigned. | |
47 | */ | |
48 | String getEmailAddress(); | |
49 | ||
50 | /** | |
51 | * Gets this {@link EntityEmail}'s unmasked email address. | |
52 | * @return the unmasked email address for this {@link EntityEmail}, or null if none has been assigned. | |
53 | */ | |
54 | String getEmailAddressUnmasked(); | |
55 | /** | |
56 | * Returns a boolean value that determines if email fields should be suppressed. | |
57 | * @return boolean value that determines if email should be suppressed. | |
58 | */ | |
59 | boolean isSuppressEmail(); | |
60 | } |