/[A3C]/lib/A3C/Model/hrEduPerson.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /lib/A3C/Model/hrEduPerson.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 119 - (hide annotations)
Thu May 15 19:07:38 2008 UTC (16 years ago) by dpavlin
File size: 7963 byte(s)
added auto-generated models with:

  ./bin/ldap2model.pl --model hrEduPerson --mixin posixAccount --mixin wtAdmin
  ./bin/ldap2model.pl --model hrEduOrg --mixin dcObject --mixin posixAccount

1 dpavlin 119 package A3C::Model::hrEduPerson;
2     use strict;
3     use warnings;
4    
5     use Jifty::DBI::Schema;
6    
7     use A3C::Record schema {
8    
9     # hrEduPerson super: inetOrgPerson
10    
11     # hrEduPerson must:
12    
13     column hrEduPersonAffiliation =>
14     label is _('Odredjuje vezu izmedju osobe i maticne ustanove.'),
15     max_length is 128,
16     is mandatory;
17    
18     column sn =>
19     label is _('RFC2256: last (family) name(s) for which the entity is known by'),
20     is mandatory;
21    
22     column hrEduPersonUniqueID =>
23     label is _('Jedinstveni identifikator osobe'),
24     max_length is 96,
25     is mandatory;
26    
27     column hrEduPersonUniqueNumber =>
28     label is _('Jedinstveni identifikator osobe'),
29     is mandatory;
30    
31     column objectClass =>
32     label is _('RFC2256: object classes of the entity'),
33     is mandatory;
34    
35     column hrEduPersonPrimaryAffiliation =>
36     label is _('Temeljna (primarna) veza izmedju osobe i maticne ustanove.'),
37     max_length is 128,
38     is mandatory;
39    
40     column hrEduPersonHomeOrg =>
41     label is _('DNS (Internet) domena matiène ustanove'),
42     max_length is 128,
43     is mandatory;
44    
45     column hrEduPersonExpireDate =>
46     label is _('Datum do kojeg vrijedi odnos s ustanovom definiran u temeljnoj pripadnosti.'),
47     max_length is 8,
48     is mandatory;
49    
50     column cn =>
51     label is _('RFC2256: common name(s) for which the entity is known by'),
52     is mandatory;
53    
54    
55     # hrEduPerson may:
56    
57     column hrEduPersonExtensionNumber =>
58     label is _('Lokalni telefonski broj korisnika u ustanovi'),
59     max_length is 16;
60    
61     column hrEduPersonGroupMember =>
62     label is _('Grupa kojoj korisnik pripada.'),
63     max_length is 64;
64    
65     column mail =>
66     label is _('RFC1274: RFC822 Mailbox'),
67     max_length is 256;
68    
69     column preferredDeliveryMethod =>
70     label is _('RFC2256: preferred delivery method');
71    
72     column x500UniqueIdentifier =>
73     label is _('RFC2256: X.500 unique identifier');
74    
75     column internationaliSDNNumber =>
76     label is _('RFC2256: international ISDN number'),
77     max_length is 16;
78    
79     column hrEduPersonStaffCategory =>
80     label is _('Vrsta posla koju osoba obavlja u ustanovi.'),
81     max_length is 64;
82    
83     column manager =>
84     label is _('RFC1274: DN of manager');
85    
86     column hrEduPersonAcademicStatus =>
87     label is _('Zvanje koje je osoba stekla u sustavu znanosti i visokog skolstva.'),
88     max_length is 32;
89    
90     column departmentNumber =>
91     label is _('RFC2798: identifies a department within an organization');
92    
93     column secretary =>
94     label is _('RFC1274: DN of secretary');
95    
96     column userPKCS12 =>
97     label is _('RFC2798: personal identity information, a PKCS #12 PFX');
98    
99     column preferredLanguage =>
100     label is _('RFC2798: preferred written or spoken language for a person');
101    
102     column labeledURI =>
103     label is _('RFC2079: Uniform Resource Identifier with optional label');
104    
105     column initials =>
106     label is _('RFC2256: initials of some or all of names, but not the surname(s).');
107    
108     column businessCategory =>
109     label is _('RFC2256: business category'),
110     max_length is 128;
111    
112     column postalCode =>
113     label is _('RFC2256: postal code'),
114     max_length is 40;
115    
116     column telephoneNumber =>
117     label is _('RFC2256: Telephone Number'),
118     max_length is 32;
119    
120     column hrEduPersonRole =>
121     label is _('Uloga/funkcija koju osoba ima u ustanovi ili obnasa u ime ustanove.'),
122     max_length is 128;
123    
124     column facsimileTelephoneNumber =>
125     label is _('RFC2256: Facsimile (Fax) Telephone Number');
126    
127     column hrEduPersonProfessionalStatus =>
128     label is _('Najvisi stupanj strucne spreme ili akademski stupanj koji osoba posjeduje'),
129     max_length is 16;
130    
131     column homePhone =>
132     label is _('RFC1274: home telephone number');
133    
134     column audio =>
135     label is _('RFC1274: audio (u-law)'),
136     max_length is 25000;
137    
138     column hrEduPersonPrivacy =>
139     label is _('Oznaka privatnosti'),
140     max_length is 40;
141    
142     column street =>
143     label is _('RFC2256: street address of this object'),
144     max_length is 128;
145    
146     column uid =>
147     label is _('RFC1274: user identifier'),
148     max_length is 256;
149    
150     column x121Address =>
151     label is _('RFC2256: X.121 Address'),
152     max_length is 15;
153    
154     column description =>
155     label is _('RFC2256: descriptive information'),
156     max_length is 1024;
157    
158     column destinationIndicator =>
159     label is _('RFC2256: destination indicator'),
160     max_length is 128;
161    
162     column postOfficeBox =>
163     label is _('RFC2256: Post Office Box'),
164     max_length is 40;
165    
166     column ou =>
167     label is _('RFC2256: organizational unit this object belongs to');
168    
169     column userCertificate =>
170     label is _('RFC2256: X.509 user certificate, use ;binary');
171    
172     column hrEduPersonDateOfBirth =>
173     label is _('Datum rodjenja osobe');
174    
175     column userSMIMECertificate =>
176     label is _('RFC2798: PKCS#7 SignedData used to support S/MIME');
177    
178     column st =>
179     label is _('RFC2256: state or province which this object resides in');
180    
181     column title =>
182     label is _('RFC2256: title associated with the entity');
183    
184     column userPassword =>
185     label is _('RFC2256/2307: password of user'),
186     max_length is 128;
187    
188     column hrEduPersonTitle =>
189     label is _('Polozaj osobe u organizacijskoj shemi ustanove (primjerice voditelj odjela ili ravnatelj).'),
190     max_length is 128;
191    
192     column registeredAddress =>
193     label is _('RFC2256: registered postal address');
194    
195     column hrEduPersonScienceArea =>
196     label is _('Podrucje znanosti kojim se osoba bavi prema klasifikaciji MZOS.'),
197     max_length is 64;
198    
199     column l =>
200     label is _('RFC2256: locality which this object resides in');
201    
202     column jpegPhoto =>
203     label is _('RFC2798: a JPEG image');
204    
205     column hrEduPersonCommURI =>
206     label is _('URI s oznakom koji sadrzi pokazivac na informaciju o desktop uredjaju za potrebe usluge videokonferencija (po H.350 standardu).');
207    
208     column teletexTerminalIdentifier =>
209     label is _('RFC2256: Teletex Terminal Identifier');
210    
211     column carLicense =>
212     label is _('RFC2798: vehicle license or registration plate');
213    
214     column displayName =>
215     label is _('RFC2798: preferred name to be used when displaying entries');
216    
217     column hrEduPersonGender =>
218     label is _('Spol osobe prema sifarniku'),
219     max_length is 1;
220    
221     column employeeType =>
222     label is _('RFC2798: type of employment for a person');
223    
224     column telexNumber =>
225     label is _('RFC2256: Telex Number');
226    
227     column roomNumber =>
228     label is _('RFC1274: room number'),
229     max_length is 256;
230    
231     column seeAlso =>
232     label is _('RFC2256: DN of related object');
233    
234     column homePostalAddress =>
235     label is _('RFC1274: home postal address');
236    
237     column mobile =>
238     label is _('RFC1274: mobile telephone number');
239    
240     column o =>
241     label is _('RFC2256: organization this object belongs to');
242    
243     column hrEduPersonStudentCategory =>
244     label is _('detaljnija informacija o osobi koja je uz ustanovu vezana kao student ili ucenik'),
245     max_length is 64;
246    
247     column physicalDeliveryOfficeName =>
248     label is _('RFC2256: Physical Delivery Office Name'),
249     max_length is 128;
250    
251     column postalAddress =>
252     label is _('RFC2256: postal address');
253    
254     column pager =>
255     label is _('RFC1274: pager telephone number');
256    
257     column employeeNumber =>
258     label is _('RFC2798: numerically identifies an employee within an organization');
259    
260     column photo =>
261     label is _('RFC1274: photo (G3 fax)'),
262     max_length is 25000;
263    
264     column givenName =>
265     label is _('RFC2256: first name(s) for which the entity is known by');
266    
267    
268     # posixAccount super: top
269    
270     # posixAccount must:
271    
272     column homeDirectory =>
273     label is _('The absolute path to the home directory'),
274     is mandatory;
275    
276     column uidNumber =>
277     label is _('An integer uniquely identifying a user in an administrative domain'),
278     is mandatory;
279    
280     column gidNumber =>
281     label is _('An integer uniquely identifying a group in an administrative domain'),
282     is mandatory;
283    
284    
285     # posixAccount may:
286    
287     column gecos =>
288     label is _('The GECOS field; the common name');
289    
290     column loginShell =>
291     label is _('The path to the login shell');
292    
293    
294     # wtAdmin super: top
295    
296     # wtAdmin may:
297    
298     column wtAdminType =>
299     label is _('Vrsta administratora'),
300     max_length is 128;
301    
302    
303    
304    
305     };
306    
307    
308     =head2 name
309    
310     Auto-generated human readable id for generic access to name
311    
312     =cut
313    
314     sub name { $_[0]->id }
315    
316    
317     =head2 ACL
318    
319     We use L<A3C::DefaultACL> for access control
320    
321     =cut
322    
323     use A3C::DefaultACL;
324    
325     1;

  ViewVC Help
Powered by ViewVC 1.1.26