Class: UCB::LDAP::StudentTerm
- Inherits:
-
Entry
- Object
- Entry
- UCB::LDAP::StudentTerm
show all
- Defined in:
- lib/ucb_ldap/student_term.rb
Overview
UCB::LDAP::StudentTerm
This class models a student’s term entries in the UCB LDAP directory.
terms = StudentTerm.find_by_uid("1234")
StudentTerms are usually loaded through a Person instance:
p = Person.find_by_uid("1234") terms = p.student_terms
Note on Binds
You must have a privileged bind and pass your credentials to UCB::LDAP.authenticate() before performing your StudentTerm search.
Constant Summary
Constants inherited
from Entry
Entry::TESTING
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Entry
#assigned_attributes, #attributes, canonical, #canonical, combine_filters, create, create!, #dn, entity_name, filter_in, find_by_dn, #initialize, make_search_filter, #method_missing, net_ldap, #net_ldap, object_classes, required_attributes, required_schema_attributes, schema_attribute, schema_attributes_array, schema_attributes_hash, search, set_schema_attributes, tree_base, tree_base=, unique_object_class
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class UCB::LDAP::Entry
Class Method Details
.find_by_uid(uid) ⇒ Object
Returns an Array of JobAppointment for uid
, sorted by record_number(). Returns an empty Array ([]) if nothing is found.
107
108
109
110
|
# File 'lib/ucb_ldap/student_term.rb', line 107
def self.find_by_uid(uid)
warn "DEPRECATED: Student Terms are no longer supported by LDAP. This method always returns an empty Array"
[]
end
|
Instance Method Details
#change_datetime ⇒ Object
22
23
24
25
|
# File 'lib/ucb_ldap/student_term.rb', line 22
def change_datetime
warn "DEPRECATED: change_datetime is no longer supported"
[]
end
|
#college_code ⇒ Object
27
28
29
30
|
# File 'lib/ucb_ldap/student_term.rb', line 27
def college_code
warn "DEPRECATED: college_code is no longer supported"
[]
end
|
#college_name ⇒ Object
32
33
34
35
|
# File 'lib/ucb_ldap/student_term.rb', line 32
def college_name
warn "DEPRECATED: college_name is no longer supported"
[]
end
|
#level_code ⇒ Object
37
38
39
40
|
# File 'lib/ucb_ldap/student_term.rb', line 37
def level_code
warn "DEPRECATED: level_code is no longer supported"
[]
end
|
#level_name ⇒ Object
42
43
44
45
|
# File 'lib/ucb_ldap/student_term.rb', line 42
def level_name
warn "DEPRECATED: level_name is no longer supported"
[]
end
|
#major_code ⇒ Object
57
58
59
60
|
# File 'lib/ucb_ldap/student_term.rb', line 57
def major_code
warn "DEPRECATED: major_code is no longer supported"
[]
end
|
#major_name ⇒ Object
62
63
64
65
|
# File 'lib/ucb_ldap/student_term.rb', line 62
def major_name
warn "DEPRECATED: major_name is no longer supported"
[]
end
|
#registration_status_code ⇒ Object
67
68
69
70
|
# File 'lib/ucb_ldap/student_term.rb', line 67
def registration_status_code
warn "DEPRECATED: registration_status_code is no longer supported"
[]
end
|
#registration_status_name ⇒ Object
72
73
74
75
|
# File 'lib/ucb_ldap/student_term.rb', line 72
def registration_status_name
warn "DEPRECATED: registration_status_name is no longer supported"
[]
end
|
#role_code ⇒ Object
47
48
49
50
|
# File 'lib/ucb_ldap/student_term.rb', line 47
def role_code
warn "DEPRECATED: role_code is no longer supported"
[]
end
|
#role_name ⇒ Object
52
53
54
55
|
# File 'lib/ucb_ldap/student_term.rb', line 52
def role_name
warn "DEPRECATED: role_name is no longer supported"
[]
end
|
#term_code ⇒ Object
77
78
79
80
|
# File 'lib/ucb_ldap/student_term.rb', line 77
def term_code
warn "DEPRECATED: term_code is no longer supported"
[]
end
|
#term_name ⇒ Object
82
83
84
85
|
# File 'lib/ucb_ldap/student_term.rb', line 82
def term_name
warn "DEPRECATED: term_name is no longer supported"
[]
end
|
#term_status ⇒ Object
87
88
89
90
|
# File 'lib/ucb_ldap/student_term.rb', line 87
def term_status
warn "DEPRECATED: term_status is no longer supported"
[]
end
|
#term_year ⇒ Object
92
93
94
95
|
# File 'lib/ucb_ldap/student_term.rb', line 92
def term_year
warn "DEPRECATED: term_year is no longer supported"
[]
end
|
#under_graduate_code ⇒ Object
97
98
99
100
|
# File 'lib/ucb_ldap/student_term.rb', line 97
def under_graduate_code
warn "DEPRECATED: under_graduate_code is no longer supported"
[]
end
|