Package stanford.netdb
Class Directory_Person
- java.lang.Object
-
- stanford.netdb.logging.NetDB_Logger
-
- stanford.netdb.Attribute<T>
-
- stanford.netdb.NetDB<T>
-
- stanford.netdb.Record<Person>
-
- stanford.netdb.Person
-
- stanford.netdb.Directory_Person
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Person>,java.util.Comparator<Person>
public final class Directory_Person extends Person
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDirectory_Person.SEARCH_TYPE-
Nested classes/interfaces inherited from class stanford.netdb.Person
Person.COMPARE_TYPE
-
Nested classes/interfaces inherited from class stanford.netdb.NetDB
NetDB.FORMAT
-
Nested classes/interfaces inherited from class stanford.netdb.Attribute
Attribute.COMPARISON_TYPE
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Stringtemplate_nameThe template toString will use.-
Fields inherited from class stanford.netdb.Person
JSON_ACTIVE, JSON_DIR_ACTIVE, JSON_DIRID, JSON_EMAIL, JSON_LAST_NAME, JSON_NAME, JSON_NETID, JSON_PHONE, JSON_REGID, json_template_name, name_comparator, regid_comparator
-
Fields inherited from class stanford.netdb.NetDB
extra_data, UNPROCESSED_JSON
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdepartment()static Directory_Personlookup(Directory_Person.SEARCH_TYPE search_type, java.lang.String search_string)Look up a Directory_Person, in the Directory associated with the default datastore, by netid (NETID) or registry ID (REGID).static Directory_Personlookup(NetDB_Datastore datastore, Directory_Person.SEARCH_TYPE search_type, java.lang.String search_string)Look up a Directory_Person, in the Directory associated with the specified datastore, by netid (NETID) or registry ID (REGID).static java.util.Collection<Directory_Person>search(java.lang.String search_string)Search the Directory associated with the default datastore for Directory_Person records matching search_string.static java.util.Collection<Directory_Person>search(NetDB_Datastore datastore, java.lang.String search_string)Search the Directory associated with the specified datastore for Directory_Person records matching search_string.-
Methods inherited from class stanford.netdb.Person
_insert_or_update, _load_object, _verify_or_die, active, commit, compare, compare, compareTo, delete, delete, delete, dir_id, dirID, email, handle, id, last_name, lastname, load, load, load, load, name, netid, netID, new_instance, phone, reg_id, regID, single_value_attributes, sort_comparator, toJSON, toString, unlink
-
Methods inherited from class stanford.netdb.NetDB
autocomplete, autocomplete, bind, clear_extra_data, compare, compare, complete, created_by_user, datastore, default_datastore, default_datastore, defined_or_die, defined_or_die_handle, equals, extra_data, extra_data, extra_data, fromJSON, is_bound, is_complete, is_partial, json_recovery_log, reset_timing, rmi_exception, timing, toJSON, toJSON, toJSON, toJSON, toString, toString, toString, toString, unbind, unique_identifier, version
-
Methods inherited from class stanford.netdb.logging.NetDB_Logger
default_logger, default_logger, logger, logger
-
-
-
-
Method Detail
-
department
public java.lang.String department()
-
search
public static java.util.Collection<Directory_Person> search(java.lang.String search_string) throws java.lang.Exception
Search the Directory associated with the default datastore for Directory_Person records matching search_string.- Throws:
java.lang.Exception
-
search
public static java.util.Collection<Directory_Person> search(NetDB_Datastore datastore, java.lang.String search_string) throws java.lang.Exception
Search the Directory associated with the specified datastore for Directory_Person records matching search_string.- Throws:
java.lang.Exception
-
lookup
public static Directory_Person lookup(Directory_Person.SEARCH_TYPE search_type, java.lang.String search_string) throws java.lang.Exception
Look up a Directory_Person, in the Directory associated with the default datastore, by netid (NETID) or registry ID (REGID).- Throws:
java.lang.Exception
-
lookup
public static Directory_Person lookup(NetDB_Datastore datastore, Directory_Person.SEARCH_TYPE search_type, java.lang.String search_string) throws java.lang.Exception
Look up a Directory_Person, in the Directory associated with the specified datastore, by netid (NETID) or registry ID (REGID).- Throws:
java.lang.Exception
-
-