package Ġcom . bit shares . o ases . database . blockchain _ da os Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Query Ċ import Ġbit shares kit . objects . Commit tee Member Object Ċ import Ġbit shares kit . objects . Graph ene Object Ċ Ċ @ Dao Ċ interface ĠCommittee Member Dao Ġ: ĠGraph ene Object Dao < Commit tee Member Object >, ĠOwner Query < Commit tee Member Object > Ġ{ ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġ${ Commit tee Member Object . TABLE _ NAME } ĠWHERE Ġ${ Graph ene Object . COLUMN _ UID } Ġ= Ġ: uid ") ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġget ( uid : ĠLong ): ĠCommittee Member Object ? ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġ${ Commit tee Member Object . TABLE _ NAME } ĠWHERE Ġ${ Graph ene Object . COLUMN _ UID } Ġ= Ġ: uid ") ĊĠĠĠ Ġoverride Ġfun Ġget Live ( uid : ĠLong ): ĠLive Data < Commit tee Member Object ?> ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM Ġ${ Commit tee Member Object . TABLE _ NAME }") ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġclear () ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġ${ Commit tee Member Object . TABLE _ NAME }") ĊĠĠĠ Ġsuspend Ġfun ĠgetList (): ĠList < Commit tee Member Object > ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġ${ Commit tee Member Object . TABLE _ NAME }") ĊĠĠĠ Ġfun ĠgetList Live (): ĠLive Data < List < Commit tee Member Object >> ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġ${ Commit tee Member Object . TABLE _ NAME } ĠWHERE Ġ${ Graph ene Object . COLUMN _ OWNER _ UID } Ġ= Ġ: uid ") ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġget ListBy Owner ( uid : ĠLong ): ĠList < Commit tee Member Object > ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġ${ Commit tee Member Object . TABLE _ NAME } ĠWHERE Ġ${ Graph ene Object . COLUMN _ OWNER _ UID } Ġ= Ġ: uid ") ĊĠĠĠ Ġoverride Ġfun Ġget ListBy Owner Live ( uid : ĠLong ): ĠLive Data < List < Commit tee Member Object >> ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġ${ Commit tee Member Object . TABLE _ NAME } ĠWHERE Ġ${ Graph ene Object . COLUMN _ OWNER _ UID } Ġ= Ġ: uid ") ĊĠĠĠ Ġsuspend Ġfun ĠgetBy Owner ( uid : ĠLong ): ĠCommittee Member Object ? ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġ${ Commit tee Member Object . TABLE _ NAME } ĠWHERE Ġ${ Graph ene Object . COLUMN _ OWNER _ UID } Ġ= Ġ: uid ") ĊĠĠĠ Ġfun ĠgetBy Owner Live ( uid : ĠLong ): ĠLive Data < Commit tee Member Object ?> ĊĊ Ċ }