Introduced in: 3 Mar 2006 by Fredrik Thulin <ft@it.su.se>
Authors: Fredrik Thulin (ft@it.su.se).
gruu() = #gruu{}
private Mnesia record, the interface record is called gruu_dbe
transaction_result() = {atomic, Result} | {aborted, Reason}
The result of a Mnesia transaction. Result is a term().
delete/1 | Delete all GRUUs matching a GRUU string. |
delete_gruus_for_instance/1 | Delete all GRUUs matching an Instance ID. |
delete_gruus_for_user/1 | Delete all GRUUs matching a SIP user. |
fetch_all/0 | Fetch all GRUU database entrys. |
fetch_using_gruu/1 | Fetch a GRUU database entry based on the GRUU string. |
fetch_using_instance/1 | Fetch all GRUU database entrys matching an Instance ID. |
fetch_using_user_instance/2 | Fetch a GRUU database entry based on a SipUser and an Instance ID. |
insert/4 | Create a new GRUU entry in the database. |
list/0 | List all GRUUs in the database. |
update_last_registered/1 | Update the 'last_registered' on the GRUU database entry matching GRUU. |
delete(GRUU) -> transaction_result()
Delete all GRUUs matching a GRUU string.
delete_gruus_for_instance(InstanceId) -> transaction_result()
Delete all GRUUs matching an Instance ID.
delete_gruus_for_user(SipUser) -> transaction_result()
Delete all GRUUs matching a SIP user.
fetch_all() -> {ok, GRUUs} | nomatch
Fetch all GRUU database entrys.
fetch_using_gruu(GRUU) -> {ok, GRUUs} | nomatch
Fetch a GRUU database entry based on the GRUU string.
fetch_using_instance(InstanceId) -> {ok, GRUUs} | nomatch
Fetch all GRUU database entrys matching an Instance ID. There might be more than one if a UA uses a single Instance ID to acquire GRUUs for multiple users (AORs in the GRUU draft).
fetch_using_user_instance(SipUser, InstanceId) -> {ok, GRUUs} | nomatch
Fetch a GRUU database entry based on a SipUser and an Instance ID.
insert(GRUU, SIPuser, InstanceId, Flags) -> transaction_result()
Create a new GRUU entry in the database.
list() -> [#gruu{}]
List all GRUUs in the database.
update_last_registered(GRUU) -> transaction_result()
Update the 'last_registered' on the GRUU database entry matching GRUU.
Generated by EDoc, Oct 17 2007, 16:48:08.