1 /**
2 * Copyright 2011-2012 The Kuali Foundation Licensed under the
3 * Educational Community License, Version 2.0 (the "License"); you may
4 * not use this file except in compliance with the License. You may
5 * obtain a copy of the License at
6 *
7 * http://www.osedu.org/licenses/ECL-2.0
8 *
9 * Unless required by applicable law or agreed to in writing,
10 * software distributed under the License is distributed on an "AS IS"
11 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12 * or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 package org.kuali.mobility.people.entity;
16
17 import java.util.List;
18
19 /**
20 * Interface for a group
21 * @author Kuali Mobility Team (mobility.collab@kuali.org)
22 * @since
23 */
24 public interface Group extends DirectoryEntry {
25
26 /**
27 *
28 * @return
29 */
30 public String getHashedDN();
31
32 /**
33 *
34 * @return
35 */
36 public String getDN();
37
38 /**
39 *
40 * @param userName
41 */
42 public void setDN(String userName);
43
44 /**
45 *
46 * @return
47 */
48 public String getDisplayName();
49
50 /**
51 *
52 * @param displayName
53 */
54 public void setDisplayName(String displayName);
55
56 /**
57 *
58 * @return
59 */
60 public List<String> getDescriptions();
61
62 /**
63 *
64 * @param descriptions
65 */
66 public void setDescriptions(List<String> descriptions);
67
68 /**
69 *
70 * @return
71 */
72 public String getEmail();
73
74 /**
75 *
76 * @param email
77 */
78 public void setEmail(String email);
79
80 /**
81 *
82 * @return
83 */
84 public String getTelephoneNumber();
85
86 /**
87 *
88 * @param telephoneNumber
89 */
90 public void setTelephoneNumber(String telephoneNumber);
91
92 /**
93 *
94 * @return
95 */
96 public String getFacsimileTelephoneNumber();
97
98 /**
99 *
100 * @param facsimileTelephoneNumber
101 */
102 public void setFacsimileTelephoneNumber(String facsimileTelephoneNumber);
103
104 /**
105 *
106 * @return
107 */
108 public List<? extends Person> getMembers();
109
110 /**
111 *
112 * @param members
113 */
114 public void setMembers( List<? extends Person> members );
115
116 /**
117 *
118 * @return
119 */
120 public List<? extends Person> getOwners();
121
122 /**
123 *
124 * @param owners
125 */
126 public void setOwners( List<? extends Person> owners );
127
128 /**
129 *
130 * @return
131 */
132 public List<? extends Group> getSubGroups();
133
134 /**
135 *
136 * @param subGroups
137 */
138 public void setSubGroups( List<? extends Group> subGroups );
139 }