Package stanford.netdb
Class Admin_Team
- java.lang.Object
-
- stanford.netdb.logging.NetDB_Logger
-
- stanford.netdb.Attribute<T>
-
- stanford.netdb.NetDB<T>
-
- stanford.netdb.Record<T>
-
- stanford.netdb.Lockable<Admin_Team>
-
- stanford.netdb.Admin_Team
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Admin_Team>,java.util.Comparator<Admin_Team>
public final class Admin_Team extends Lockable<Admin_Team>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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.StringJSON_COMMENTstatic java.lang.StringJSON_DEPARTMENTSstatic java.lang.StringJSON_EMAILstatic java.lang.StringJSON_MEMBERSstatic java.lang.StringJSON_NAMEstatic java.lang.StringJSON_PHONEstatic java.lang.Stringjson_template_nameThe template toJSON uses.static java.lang.Stringtemplate_nameThe template toString uses.-
Fields inherited from class stanford.netdb.Lockable
JSON_CREATED_BY, JSON_CREATED_DATE, JSON_GROUPS, JSON_MODIFIED_BY, JSON_MODIFIED_DATE
-
Fields inherited from class stanford.netdb.NetDB
extra_data, UNPROCESSED_JSON
-
-
Constructor Summary
Constructors Constructor Description Admin_Team()Admin_Team(java.lang.String name, java.lang.String email, java.lang.String phone)Admin_Team(java.lang.String name, java.lang.String email, java.lang.String phone, java.lang.String comment)Admin_Team(NetDB_Datastore datastore)Admin_Team(NetDB_Datastore datastore, java.lang.String name, java.lang.String email, java.lang.String phone)Admin_Team(NetDB_Datastore datastore, java.lang.String name, java.lang.String email, java.lang.String phone, java.lang.String comment)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Admin_Team_commit(NetDB_Datastore datastore, java.lang.Boolean unlock)This method makes the DB call(s).static void_delete(NetDB_Datastore datastore, java.lang.String handle)This method makes the DB call(s).static java.lang.String_handle(NetDB_Datastore datastore, java.lang.Long id)This method makes the DB call(s).static java.lang.Boolean_has_access(java.lang.String transaction_name, NetDB_Datastore datastore, User user, java.lang.String handle)static java.util.Hashtable_load_object(java.lang.String transaction_name, NetDB_Datastore datastore, java.lang.Long id, java.lang.String handle)This method makes the DB call(s).static java.util.Hashtable_load_object(java.lang.String transaction_name, NetDB_Datastore datastore, java.lang.String handle)This method makes the DB call(s).static Lock_Result_lock_record(java.lang.String transaction_name, NetDB_Datastore datastore, java.lang.Long id, java.lang.String handle)This method makes the DB call(s).static Lock_Result_lock_record(java.lang.String transaction_name, NetDB_Datastore datastore, java.lang.String handle)This method makes the DB call(s).static java.util.Hashtable_search(NetDB_Datastore datastore, java.lang.String filter)This method makes the DB call(s).java.lang.Boolean_unlock(NetDB_Datastore datastore)This method makes the DB call(s).static java.lang.Long_verify_or_die(java.lang.String transaction_name, NetDB_Datastore datastore, java.lang.Long id, java.lang.String handle)This method makes the DB call(s).Admin_Teamadd_department(Department department)Add a department.Admin_Teamadd_departments(java.util.Collection<Department> departments)Add several departments.Admin_Teamadd_member(Person member)Add a member.Admin_Teamadd_members(java.util.Collection<Person> members)Add several members.Admin_Teambind(NetDB_Datastore datastore)Binds this instance to datastore.java.lang.Stringcomment()Fetch the comment.Admin_Teamcomment(java.lang.String comment)Set the comment.Admin_Teamcommit(NetDB_Datastore datastore, java.lang.Boolean unlock)Insert, or update, an Admin_Team, and optionally unlock it.static voiddelete(java.lang.String handle)Delete handle from the default datastore.voiddelete(NetDB_Datastore datastore)Delete this from the specified datastore.static voiddelete(NetDB_Datastore datastore, java.lang.String handle)Delete handle from the specified datastore.java.util.Collection<Department>departments()Fetch the departments.java.lang.Stringemail()Fetch the email.Admin_Teamemail(java.lang.String email)Set the email.static java.util.Collection<Admin_Team>full_search(Admin_Team_FS_Parameters parameters)static java.util.Collection<Admin_Team>full_search(NetDB_Datastore datastore, Admin_Team_FS_Parameters parameters)java.lang.Stringhandle()This is the unique identifier used in the database to identify a record.static java.lang.Booleanhas_access()Check if the operating user has access to this record type in the default datastore.static java.lang.Booleanhas_access(java.lang.String handle)Make an access check using the operating user and default datastore.static java.lang.Booleanhas_access(NetDB_Datastore datastore)Check if the operating user has access to this record type in the specified datastore.static java.lang.Booleanhas_access(NetDB_Datastore datastore, java.lang.String handle)Make an access check using the operating user and specified datastore.static java.lang.Booleanhas_access(NetDB_Datastore datastore, User user)Check if the specified user has access to this record type in the specified datastore.static java.lang.Booleanhas_access(NetDB_Datastore datastore, User user, java.lang.String handle)Check if the specified user has access to handle in the specified datastore.static java.lang.Booleanhas_access(User user)Check if the specified user has access to this record type in the default datastore.static java.lang.Booleanhas_access(User user, java.lang.String handle)Make an access check using the specified user and default datastore.java.lang.Longid()Fetch the ID.static Admin_Teamload(java.lang.Boolean lock, java.lang.Long id)Load id, and optionally lock the record, from the default datastore.static Admin_Teamload(java.lang.Boolean lock, java.lang.String handle)Load handle, and optionally lock the record, from the default datastore.static Admin_Teamload(java.lang.Long id)Load id from the default datastore.static Admin_Teamload(java.lang.String handle)Load handle from the default datastore.static Admin_Teamload(NetDB_Datastore datastore, java.lang.Boolean lock, java.lang.Long id)Load id, and optionally lock the record, from the specified datastore.static Admin_Teamload(NetDB_Datastore datastore, java.lang.Boolean lock, java.lang.String handle)Load handle, and optionally lock the record, from the specified datastore.static Admin_Teamload(NetDB_Datastore datastore, java.lang.Long id)Load id from the specified datastore.static Admin_Teamload(NetDB_Datastore datastore, java.lang.String handle)Load handle from the specified datastore.java.util.Collection<Person>members()Fetch the members.java.lang.Stringname()Fetch the name.Admin_Teamname(java.lang.String name)Set the name.Admin_Teamnew_instance()Create a new instance of this class's type.java.lang.Stringphone()Fetch the phone number.Admin_Teamphone(java.lang.String phone)Set the phone number.Admin_Teamremove_department(Department department)Remove a department.Admin_Teamremove_departments(java.util.Collection<Department> departments)Remove several departments.Admin_Teamremove_member(Person member)Remove a member.Admin_Teamremove_members(java.util.Collection<Person> members)Remove several members.static java.util.Collection<Admin_Team_SS_Result>search()Search the default datastore for all Admin Teams.static java.util.Collection<Admin_Team_SS_Result>search(java.lang.String filter)Search the default datastore for all Admin Teams matching filter.static java.util.Collection<Admin_Team_SS_Result>search(NetDB_Datastore datastore)Search the specified datastore for all Admin Teams.static java.util.Collection<Admin_Team_SS_Result>search(NetDB_Datastore datastore, java.lang.String filter)Search the specified datastore for all Admin Teams matching filter.java.lang.Stringsingle_value_attributes()This method builds a String of all the single value attributes.java.lang.StringtoJSON(java.lang.Boolean pretty, java.lang.Boolean ignore_exceptions)Convert this to a JSON object using the template defined in json_template_name.java.lang.StringtoString(NetDB.FORMAT format, java.lang.Boolean ignore_exceptions)Convert this to a String using the template defined in template_name.Admin_Teamunbind()Unlink this instance, and clear the datastore.Admin_Teamunlink()Treat this object as user created, and clear any datastore specific information.Admin_Teamunlock()Unlock this record.-
Methods inherited from class stanford.netdb.Lockable
add_group, add_groups, add_owner, add_owners, commit, commit, commit, created_at, created_by, groups, is_locked, locked_at, locked_by, modified_at, modified_by, owners, remove_group, remove_groups, remove_owner, remove_owners
-
Methods inherited from class stanford.netdb.NetDB
autocomplete, autocomplete, clear_extra_data, compare, compare, compare, compareTo, 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, unique_identifier, version
-
Methods inherited from class stanford.netdb.Attribute
sort_comparator
-
Methods inherited from class stanford.netdb.logging.NetDB_Logger
default_logger, default_logger, logger, logger
-
-
-
-
Field Detail
-
template_name
public static java.lang.String template_name
The template toString uses.
-
json_template_name
public static java.lang.String json_template_name
The template toJSON uses.
-
JSON_NAME
public static final java.lang.String JSON_NAME
- See Also:
- Constant Field Values
-
JSON_EMAIL
public static final java.lang.String JSON_EMAIL
- See Also:
- Constant Field Values
-
JSON_PHONE
public static final java.lang.String JSON_PHONE
- See Also:
- Constant Field Values
-
JSON_COMMENT
public static final java.lang.String JSON_COMMENT
- See Also:
- Constant Field Values
-
JSON_DEPARTMENTS
public static final java.lang.String JSON_DEPARTMENTS
- See Also:
- Constant Field Values
-
JSON_MEMBERS
public static final java.lang.String JSON_MEMBERS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Admin_Team
public Admin_Team()
-
Admin_Team
public Admin_Team(java.lang.String name, java.lang.String email, java.lang.String phone)
-
Admin_Team
public Admin_Team(java.lang.String name, java.lang.String email, java.lang.String phone, java.lang.String comment)
-
Admin_Team
public Admin_Team(NetDB_Datastore datastore)
-
Admin_Team
public Admin_Team(NetDB_Datastore datastore, java.lang.String name, java.lang.String email, java.lang.String phone)
-
Admin_Team
public Admin_Team(NetDB_Datastore datastore, java.lang.String name, java.lang.String email, java.lang.String phone, java.lang.String comment)
-
-
Method Detail
-
id
public java.lang.Long id() throws java.lang.Exception, No_Datastore_Defined, Insufficient_InformationFetch the ID. If it is not present, attempt to fetch it from the database.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information
-
name
public java.lang.String name() throws java.lang.Exception, No_Datastore_Defined, Insufficient_InformationFetch the name. If it is not present, and this instance is capable of being autocompleted, then this instance will be loaded and the value returned.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information- See Also:
NetDB.internal_complete(java.lang.Object, java.lang.Object, java.lang.String)
-
email
public java.lang.String email() throws java.lang.Exception, No_Datastore_Defined, Insufficient_InformationFetch the email. If it is not present, and this instance is capable of being autocompleted, then this instance will be loaded and the value returned.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information- See Also:
NetDB.internal_complete(java.lang.Object, java.lang.Object, java.lang.String)
-
phone
public java.lang.String phone() throws java.lang.Exception, No_Datastore_Defined, Insufficient_InformationFetch the phone number. If it is not present, and this instance is capable of being autocompleted, then this instance will be loaded and the value returned.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information- See Also:
NetDB.internal_complete(java.lang.Object, java.lang.Object, java.lang.String)
-
comment
public java.lang.String comment() throws java.lang.Exception, No_Datastore_Defined, Insufficient_InformationFetch the comment. If it is not present, and this instance is capable of being autocompleted, then this instance will be loaded and the value returned.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information- See Also:
NetDB.internal_complete(java.lang.Object, java.lang.Object, java.lang.String)
-
members
public java.util.Collection<Person> members() throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information
Fetch the members. If it is not present, and this instance is capable of being autocompleted, then this instance will be loaded and the value returned.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information- See Also:
NetDB.internal_complete(java.lang.Object, java.lang.Object, java.lang.String)
-
departments
public java.util.Collection<Department> departments() throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information
Fetch the departments. If it is not present, and this instance is capable of being autocompleted, then this instance will be loaded and the value returned.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information- See Also:
NetDB.internal_complete(java.lang.Object, java.lang.Object, java.lang.String)
-
handle
public java.lang.String handle() throws java.lang.ExceptionDescription copied from class:NetDBThis is the unique identifier used in the database to identify a record. Most of the time this is the "name" of the record.- Specified by:
handlein classNetDB<Admin_Team>- Throws:
java.lang.Exception
-
new_instance
public Admin_Team new_instance() throws java.lang.Exception
Description copied from class:NetDBCreate a new instance of this class's type.- Specified by:
new_instancein classNetDB<Admin_Team>- Throws:
java.lang.Exception
-
name
public Admin_Team name(java.lang.String name)
Set the name.
-
email
public Admin_Team email(java.lang.String email)
Set the email.
-
phone
public Admin_Team phone(java.lang.String phone)
Set the phone number.
-
comment
public Admin_Team comment(java.lang.String comment)
Set the comment.
-
add_member
public Admin_Team add_member(Person member)
Add a member.
-
add_members
public Admin_Team add_members(java.util.Collection<Person> members)
Add several members.
-
remove_member
public Admin_Team remove_member(Person member)
Remove a member.
-
remove_members
public Admin_Team remove_members(java.util.Collection<Person> members)
Remove several members.
-
add_department
public Admin_Team add_department(Department department)
Add a department.
-
add_departments
public Admin_Team add_departments(java.util.Collection<Department> departments)
Add several departments.
-
remove_department
public Admin_Team remove_department(Department department)
Remove a department.
-
remove_departments
public Admin_Team remove_departments(java.util.Collection<Department> departments)
Remove several departments.
-
bind
public Admin_Team bind(NetDB_Datastore datastore) throws No_Datastore_Defined
Description copied from class:NetDBBinds this instance to datastore. If it's already bound to datastore, nothing is done. If it's not bound, or bound to a different datastore, unbind () will be called befine binding.- Overrides:
bindin classLockable<Admin_Team>- Throws:
No_Datastore_Defined
-
unbind
public Admin_Team unbind()
Description copied from class:NetDBUnlink this instance, and clear the datastore.- Overrides:
unbindin classLockable<Admin_Team>
-
unlink
public Admin_Team unlink()
Description copied from class:NetDBTreat this object as user created, and clear any datastore specific information. The datastore is NOT cleared.- Overrides:
unlinkin classLockable<Admin_Team>
-
single_value_attributes
public java.lang.String single_value_attributes()
Description copied from class:AttributeThis method builds a String of all the single value attributes. The resulting String is used in compare (...) and is not meant to be parsed by users of this library.- Specified by:
single_value_attributesin classAttribute<Admin_Team>- See Also:
Attribute.compare(Attribute),Attribute.compare(Attribute,COMPARISON_TYPE)
-
toString
public java.lang.String toString(NetDB.FORMAT format, java.lang.Boolean ignore_exceptions) throws java.lang.Exception
Convert this to a String using the template defined in template_name.- Specified by:
toStringin classNetDB<Admin_Team>- Throws:
java.lang.Exception
-
toJSON
public java.lang.String toJSON(java.lang.Boolean pretty, java.lang.Boolean ignore_exceptions) throws java.lang.ExceptionConvert this to a JSON object using the template defined in json_template_name.- Specified by:
toJSONin classNetDB<Admin_Team>- Throws:
java.lang.Exception
-
_handle
public static java.lang.String _handle(NetDB_Datastore datastore, java.lang.Long id) throws java.lang.Exception
This method makes the DB call(s). The method(s), with a similar name, will either contact an RMI server, or call this method directly. Calling this method with an RMI datastore will result in an error.- Throws:
java.lang.Exception
-
_verify_or_die
public static java.lang.Long _verify_or_die(java.lang.String transaction_name, NetDB_Datastore datastore, java.lang.Long id, java.lang.String handle) throws java.lang.ExceptionThis method makes the DB call(s). The method(s), with a similar name, will either contact an RMI server, or call this method directly. Calling this method with an RMI datastore will result in an error.- Throws:
java.lang.Exception
-
has_access
public static java.lang.Boolean has_access() throws java.lang.Exception, No_Datastore_Defined, Insufficient_InformationCheck if the operating user has access to this record type in the default datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information
-
has_access
public static java.lang.Boolean has_access(User user) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information
Check if the specified user has access to this record type in the default datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information
-
has_access
public static java.lang.Boolean has_access(NetDB_Datastore datastore) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information
Check if the operating user has access to this record type in the specified datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information
-
has_access
public static java.lang.Boolean has_access(NetDB_Datastore datastore, User user) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information
Check if the specified user has access to this record type in the specified datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information
-
has_access
public static java.lang.Boolean has_access(java.lang.String handle) throws java.lang.Exception, No_Datastore_Defined, Insufficient_InformationMake an access check using the operating user and default datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information- See Also:
has_access(NetDB_Datastore,User,String)
-
has_access
public static java.lang.Boolean has_access(User user, java.lang.String handle) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information
Make an access check using the specified user and default datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information- See Also:
has_access(NetDB_Datastore,User,String)
-
has_access
public static java.lang.Boolean has_access(NetDB_Datastore datastore, java.lang.String handle) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information
Make an access check using the operating user and specified datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information- See Also:
has_access(NetDB_Datastore,User,String)
-
has_access
public static java.lang.Boolean has_access(NetDB_Datastore datastore, User user, java.lang.String handle) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information
Check if the specified user has access to handle in the specified datastore. A user is considered to have access if it shares a group with the record defined by handle and has the required record access.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information
-
_has_access
public static java.lang.Boolean _has_access(java.lang.String transaction_name, NetDB_Datastore datastore, User user, java.lang.String handle) throws java.lang.Exception- Throws:
java.lang.Exception
-
_lock_record
public static Lock_Result _lock_record(java.lang.String transaction_name, NetDB_Datastore datastore, java.lang.String handle) throws java.lang.Exception
This method makes the DB call(s). The method(s), with a similar name, will either contact an RMI server, or call this method directly. Calling this method with an RMI datastore will result in an error.- Throws:
java.lang.Exception
-
_lock_record
public static Lock_Result _lock_record(java.lang.String transaction_name, NetDB_Datastore datastore, java.lang.Long id, java.lang.String handle) throws java.lang.Exception
This method makes the DB call(s). The method(s), with a similar name, will either contact an RMI server, or call this method directly. Calling this method with an RMI datastore will result in an error.- Throws:
java.lang.Exception
-
unlock
public Admin_Team unlock() throws java.lang.Exception, No_Datastore_Defined
Unlock this record.- Specified by:
unlockin classLockable<Admin_Team>- Throws:
java.lang.ExceptionNo_Datastore_Defined
-
_unlock
public java.lang.Boolean _unlock(NetDB_Datastore datastore) throws java.lang.Exception, No_Datastore_Defined
This method makes the DB call(s). The method(s), with a similar name, will either contact an RMI server, or call this method directly. Calling this method with an RMI datastore will result in an error.- Throws:
java.lang.ExceptionNo_Datastore_Defined
-
load
public static Admin_Team load(java.lang.Boolean lock, java.lang.String handle) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information, Record_Not_Found
Load handle, and optionally lock the record, from the default datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_InformationRecord_Not_Found
-
load
public static Admin_Team load(java.lang.Boolean lock, java.lang.Long id) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information, Record_Not_Found
Load id, and optionally lock the record, from the default datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_InformationRecord_Not_Found
-
load
public static Admin_Team load(java.lang.String handle) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information, Record_Not_Found
Load handle from the default datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_InformationRecord_Not_Found
-
load
public static Admin_Team load(java.lang.Long id) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information, Record_Not_Found
Load id from the default datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_InformationRecord_Not_Found
-
load
public static Admin_Team load(NetDB_Datastore datastore, java.lang.Boolean lock, java.lang.String handle) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information, Record_Not_Found
Load handle, and optionally lock the record, from the specified datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_InformationRecord_Not_Found
-
load
public static Admin_Team load(NetDB_Datastore datastore, java.lang.String handle) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information, Record_Not_Found
Load handle from the specified datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_InformationRecord_Not_Found
-
load
public static Admin_Team load(NetDB_Datastore datastore, java.lang.Boolean lock, java.lang.Long id) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information, Record_Not_Found
Load id, and optionally lock the record, from the specified datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_InformationRecord_Not_Found
-
load
public static Admin_Team load(NetDB_Datastore datastore, java.lang.Long id) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information, Record_Not_Found
Load id from the specified datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_InformationRecord_Not_Found
-
_load_object
public static java.util.Hashtable _load_object(java.lang.String transaction_name, NetDB_Datastore datastore, java.lang.String handle) throws java.lang.ExceptionThis method makes the DB call(s). The method(s), with a similar name, will either contact an RMI server, or call this method directly. Calling this method with an RMI datastore will result in an error.- Throws:
java.lang.Exception
-
_load_object
public static java.util.Hashtable _load_object(java.lang.String transaction_name, NetDB_Datastore datastore, java.lang.Long id, java.lang.String handle) throws java.lang.ExceptionThis method makes the DB call(s). The method(s), with a similar name, will either contact an RMI server, or call this method directly. Calling this method with an RMI datastore will result in an error.- Throws:
java.lang.Exception
-
delete
public void delete(NetDB_Datastore datastore) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information, Record_Not_Found
Delete this from the specified datastore.- Specified by:
deletein classRecord<Admin_Team>- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_InformationRecord_Not_Found
-
delete
public static void delete(java.lang.String handle) throws java.lang.Exception, No_Datastore_Defined, Insufficient_InformationDelete handle from the default datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information
-
delete
public static void delete(NetDB_Datastore datastore, java.lang.String handle) throws java.lang.Exception, No_Datastore_Defined, Insufficient_Information
Delete handle from the specified datastore.- Throws:
java.lang.ExceptionNo_Datastore_DefinedInsufficient_Information
-
_delete
public static void _delete(NetDB_Datastore datastore, java.lang.String handle) throws java.lang.Exception
This method makes the DB call(s). The method(s), with a similar name, will either contact an RMI server, or call this method directly. Calling this method with an RMI datastore will result in an error.- Throws:
java.lang.Exception
-
commit
public Admin_Team commit(NetDB_Datastore datastore, java.lang.Boolean unlock) throws java.lang.Exception
Insert, or update, an Admin_Team, and optionally unlock it.- Specified by:
commitin classLockable<Admin_Team>- Throws:
java.lang.Exception
-
_commit
public Admin_Team _commit(NetDB_Datastore datastore, java.lang.Boolean unlock) throws java.lang.Exception
This method makes the DB call(s). The method(s), with a similar name, will either contact an RMI server, or call this method directly. Calling this method with an RMI datastore will result in an error.- Throws:
java.lang.Exception
-
search
public static java.util.Collection<Admin_Team_SS_Result> search() throws java.lang.Exception, No_Datastore_Defined
Search the default datastore for all Admin Teams.- Throws:
java.lang.ExceptionNo_Datastore_Defined
-
search
public static java.util.Collection<Admin_Team_SS_Result> search(java.lang.String filter) throws java.lang.Exception, No_Datastore_Defined
Search the default datastore for all Admin Teams matching filter.- Throws:
java.lang.ExceptionNo_Datastore_Defined
-
search
public static java.util.Collection<Admin_Team_SS_Result> search(NetDB_Datastore datastore) throws java.lang.Exception, No_Datastore_Defined
Search the specified datastore for all Admin Teams.- Throws:
java.lang.ExceptionNo_Datastore_Defined
-
search
public static java.util.Collection<Admin_Team_SS_Result> search(NetDB_Datastore datastore, java.lang.String filter) throws java.lang.Exception, No_Datastore_Defined
Search the specified datastore for all Admin Teams matching filter.- Throws:
java.lang.ExceptionNo_Datastore_Defined
-
_search
public static java.util.Hashtable _search(NetDB_Datastore datastore, java.lang.String filter) throws java.lang.Exception
This method makes the DB call(s). The method(s), with a similar name, will either contact an RMI server, or call this method directly. Calling this method with an RMI datastore will result in an error.- Throws:
java.lang.Exception
-
full_search
public static java.util.Collection<Admin_Team> full_search(Admin_Team_FS_Parameters parameters) throws java.lang.Exception
- Throws:
java.lang.Exception
-
full_search
public static java.util.Collection<Admin_Team> full_search(NetDB_Datastore datastore, Admin_Team_FS_Parameters parameters) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-