- getAccount() - Method in class edu.cnm.deepdive.keepintouch.service.GoogleSignInService
-
Gets back the associated google account.
- getAddress() - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
-
a getter that allows us to get the address or phone number from which a Contact sends us a
message.
- getAll() - Method in class edu.cnm.deepdive.keepintouch.service.UserTypeRepository
-
A method to get all the autoReplies of a certain userType.
- getAllAutoReplies() - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
-
- getAllAutoReplies() - Method in class edu.cnm.deepdive.keepintouch.service.AutoReplyRepository
-
A repository method that is not currently being used.
- getAllIgnoredContacts(int) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
-
- getAllIgnoredContacts(int) - Method in class edu.cnm.deepdive.keepintouch.service.IgnoreStatusRepository
-
A method that checks to see all of your ignored contacts.
- getAutoReplies() - Method in class edu.cnm.deepdive.keepintouch.model.pojo.UserTypeWithAutoReply
-
- getAutoReplies() - Method in class edu.cnm.deepdive.keepintouch.viewmodel.MainViewModel
-
A query to get access to all the AutoReplies of a certain userType.
- getAutoRepliesByUserType(long) - Method in class edu.cnm.deepdive.keepintouch.service.AutoReplyRepository
-
A repository method that gets all the AutoReplies for a specific userType.
- getAutoRepliesWithUserType(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
-
- getAutoReplyById(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
-
- getAutoReplyDao() - Method in class edu.cnm.deepdive.keepintouch.service.KitDatabase
-
getting the AutoReplyDao
- getAutoReplyId() - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
-
Gets the AutoReply id
- getBody() - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
-
A getter that allows to get access to the actual text inside an SMS message.
- getContact() - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
-
A getter that allows us to get a Contact object back
- getContactInfo(Uri) - Method in class edu.cnm.deepdive.keepintouch.service.SmsRepository
-
A method to get a Contact and the associated information
- getContactUri() - Method in class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
-
Gets an Contact Uri
- getCount() - Method in class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
-
Gets the count of ignores
- getDisplayName() - Method in class edu.cnm.deepdive.keepintouch.model.dto.Contact
-
This returns the display name of a contact so we can display it.
- getId() - Method in class edu.cnm.deepdive.keepintouch.model.entity.User
-
Getter for userId
- getIgnoreStatus(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
-
- getIgnoreStatus(long) - Method in class edu.cnm.deepdive.keepintouch.service.IgnoreStatusRepository
-
A method that gets the ignore status by Id.
- getIgnoreStatusDao() - Method in class edu.cnm.deepdive.keepintouch.service.KitDatabase
-
getting the IgnoreStatusDao
- getIgnoreStatusForContact(String) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
-
- getIgnoreStatusForContact(String) - Method in class edu.cnm.deepdive.keepintouch.service.IgnoreStatusRepository
-
A method to check for the ignore status of each contact.
- getIgnoreStatusId() - Method in class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
-
Gets Ignore Status Id
- getInstance() - Static method in class edu.cnm.deepdive.keepintouch.service.GoogleSignInService
-
A method that gets the instance of the Google Sign In sevice
- getInstance() - Static method in class edu.cnm.deepdive.keepintouch.service.KitDatabase
-
Constructor that gets us the instance of the Database.
- getItemCount() - Method in class edu.cnm.deepdive.keepintouch.adapter.MessageAdapter
-
- getMessage() - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
-
Gets the actual auto replies.
- getMessages() - Method in class edu.cnm.deepdive.keepintouch.service.SmsRepository
-
- getMessages() - Method in class edu.cnm.deepdive.keepintouch.viewmodel.MainViewModel
-
Gets a LiveData list of messages
- getMostIgnoredContacts(int) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
-
- getMostIgnoredContacts(int) - Method in class edu.cnm.deepdive.keepintouch.service.IgnoreStatusRepository
-
- getName() - Method in class edu.cnm.deepdive.keepintouch.model.entity.UserType
-
Getter for the name of the UserType
- getOauthKey() - Method in class edu.cnm.deepdive.keepintouch.model.entity.User
-
Getter for OauthKey
- getOrCreate(String) - Method in class edu.cnm.deepdive.keepintouch.service.UserRepository
-
A method that either gets a User or creates one.
- getPermissions() - Method in class edu.cnm.deepdive.keepintouch.controller.PermissionsViewModel
-
- getPhoneNumber() - Method in class edu.cnm.deepdive.keepintouch.model.dto.Contact
-
This returns the phone number of the contact
- getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.ActivityLoginBinding
-
- getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.ActivityNavigationBinding
-
- getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.FragmentHomeBinding
-
- getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.FragmentMessagesBinding
-
- getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.FragmentToSmsBinding
-
- getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.ItemMessageBinding
-
- getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.PermissionsFragmentBinding
-
- getSent() - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
-
Gets us the date stamp of when a message was received by the user.
- getText() - Method in class edu.cnm.deepdive.keepintouch.controller.ui.messages.MessagesViewModel
-
- getText() - Method in class edu.cnm.deepdive.keepintouch.controller.ui.toSms.ToSmsViewModel
-
return a Live Data of type String.
- getThrowable() - Method in class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeViewModel
-
- getThrowable() - Method in class edu.cnm.deepdive.keepintouch.viewmodel.MainViewModel
-
Gets a LiveData of type, Throwable for us.
- getUser() - Method in class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeViewModel
-
- getUserById(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
-
- getUserById(long) - Method in class edu.cnm.deepdive.keepintouch.service.UserRepository
-
A repository method that gets the User by User Id.
- getUserByOauthKey(String) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
-
- getUserByUserType(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
-
- getUserByUserType(long) - Method in class edu.cnm.deepdive.keepintouch.service.UserRepository
-
Return a LiveData list of type User
- getUserDao() - Method in class edu.cnm.deepdive.keepintouch.service.KitDatabase
-
getting the UserDao
- getUserType(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
-
- getUserType() - Method in class edu.cnm.deepdive.keepintouch.model.pojo.AutoReplyWithUserType
-
Gets the userType object.
- getUserType(long) - Method in class edu.cnm.deepdive.keepintouch.service.UserTypeRepository
-
A method to get the UserTypeId.
- getUserTypeByName(String) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
-
- getUserTypeByName(String) - Method in class edu.cnm.deepdive.keepintouch.service.UserTypeRepository
-
A method to get the userType by name.
- getUserTypeDao() - Method in class edu.cnm.deepdive.keepintouch.service.KitDatabase
-
getting the UserTypeDao
- getUserTypeId() - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
-
Gets the UserType id.
- getUserTypeId() - Method in class edu.cnm.deepdive.keepintouch.model.entity.User
-
Getter for userTypeId
- getUserTypeId() - Method in class edu.cnm.deepdive.keepintouch.model.entity.UserType
-
A getter for UserTypeId
- getUserTypes() - Method in class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeViewModel
-
- GoogleSignInService - Class in edu.cnm.deepdive.keepintouch.service
-
A service class that allows users to sign in through Google.
- grantPermission(String) - Method in class edu.cnm.deepdive.keepintouch.controller.PermissionsViewModel
-
Grant permissions to the user with this method
- guideline - Variable in class edu.cnm.deepdive.keepintouch.databinding.FragmentToSmsBinding
-
- save(User) - Method in class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeViewModel
-
A method that saves the User or throws a throwable.
- save(AutoReply) - Method in class edu.cnm.deepdive.keepintouch.service.AutoReplyRepository
-
A method that saves the autoReplies so they cant be sent out by the different User types.
- save(IgnoreStatus) - Method in class edu.cnm.deepdive.keepintouch.service.IgnoreStatusRepository
-
A save method to update the ignoreStatus on each contact.
- save(User) - Method in class edu.cnm.deepdive.keepintouch.service.UserRepository
-
A completable method that either adds the User to the database, and
- save(UserType) - Method in class edu.cnm.deepdive.keepintouch.service.UserTypeRepository
-
Either insert a userType into the DB, or update the userType
- selectAllAutoReplies() - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
-
- selectAllWithAutoReplies() - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
-
- selectById(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
-
- selectUserType - Variable in class edu.cnm.deepdive.keepintouch.databinding.FragmentHomeBinding
-
- send - Variable in class edu.cnm.deepdive.keepintouch.databinding.ItemMessageBinding
-
- sendMessage(String, String) - Method in class edu.cnm.deepdive.keepintouch.service.SmsRepository
-
Uses an smsManager object to send a text, running on a background thread.
- sendMessage(String, String) - Method in class edu.cnm.deepdive.keepintouch.viewmodel.MainViewModel
-
This is a method to send a text message out, it utilizes the same method in the
smsRepository.
- setAddress(String) - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
-
a setter that allows us to set the phone number for which we send a message to.
- setAutoReplies(List<AutoReply>) - Method in class edu.cnm.deepdive.keepintouch.model.pojo.UserTypeWithAutoReply
-
Set a list of Auto Replies
- setAutoReplyId(long) - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
-
Sets the AutoReply id
- setBody(String) - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
-
Allows us to set the body of an SMS message.
- setContact(Contact) - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
-
A setter that allows us to set the Contact object associated with a given message
- setContactUri(String) - Method in class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
-
Sets an Contact Uri
- setContext(Application) - Static method in class edu.cnm.deepdive.keepintouch.service.GoogleSignInService
-
A setter for the context
- setContext(Application) - Static method in class edu.cnm.deepdive.keepintouch.service.KitDatabase
-
Constructor for the database.
- setCount(int) - Method in class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
-
Gets the count of ignores
- setDisplayName(String) - Method in class edu.cnm.deepdive.keepintouch.model.dto.Contact
-
Setter that allows us to change the display name of a contact, necessary
- setId(long) - Method in class edu.cnm.deepdive.keepintouch.model.entity.User
-
Setter for userId.
- setIgnoreStatusId(long) - Method in class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
-
Sets Ignore Status Id
- setMessage(String) - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
-
Sets the actual auto replies.
- setName(String) - Method in class edu.cnm.deepdive.keepintouch.model.entity.UserType
-
Setter for the name of the UserType
- setOauthKey(String) - Method in class edu.cnm.deepdive.keepintouch.model.entity.User
-
Setter for OauthKey
- setPhoneNumber(String) - Method in class edu.cnm.deepdive.keepintouch.model.dto.Contact
-
This sets the phone number of a contact.
- setSent(Date) - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
-
Sets the timestamp for a message.
- setUserType(UserType) - Method in class edu.cnm.deepdive.keepintouch.model.pojo.AutoReplyWithUserType
-
Setter for the userType
- setUserTypeId(long) - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
-
Sets the UserType id.
- setUserTypeId(long) - Method in class edu.cnm.deepdive.keepintouch.model.entity.User
-
Setter for userTypeId
- setUserTypeId(long) - Method in class edu.cnm.deepdive.keepintouch.model.entity.UserType
-
A Setter for UserTypeId
- signIn - Variable in class edu.cnm.deepdive.keepintouch.databinding.ActivityLoginBinding
-
- signOut() - Method in class edu.cnm.deepdive.keepintouch.service.GoogleSignInService
-
This task is a google task that signs out the user.
- SmsRepository - Class in edu.cnm.deepdive.keepintouch.service
-
A repository for my DTOs of Contacts and Messages....
- SmsRepository(Context) - Constructor for class edu.cnm.deepdive.keepintouch.service.SmsRepository
-
A constructor for this Sms Repository
- startSignIn(Activity, int) - Method in class edu.cnm.deepdive.keepintouch.service.GoogleSignInService
-
A method that starts the Sign in activity.
- update(AutoReply) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
-
- update(AutoReply...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
-
- update(Collection<AutoReply>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
-
- update(IgnoreStatus) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
-
- update(IgnoreStatus...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
-
- update(Collection<IgnoreStatus>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
-
- update(User) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
-
- update(User...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
-
- update(Collection<User>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
-
- update(UserType) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
-
- update(UserType...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
-
- update(Collection<UserType>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
-
- User - Class in edu.cnm.deepdive.keepintouch.model.entity
-
A User entity class that holds the data associated with a User including OauthKey, UserId, and
UserTypeId.
- User() - Constructor for class edu.cnm.deepdive.keepintouch.model.entity.User
-
- UserDao - Interface in edu.cnm.deepdive.keepintouch.model.dao
-
A UserDao which allows us to insert, delete, update and do specific queries on the
User entities.
- UserRepository - Class in edu.cnm.deepdive.keepintouch.service
-
Currently not planning to use a query to getAll Users in this Repository back yet, because KiT is
currently limited to one user on the device, but I may implement the query in the near future.
- UserRepository(Context) - Constructor for class edu.cnm.deepdive.keepintouch.service.UserRepository
-
A constructor for the User Repository class.
- UserType - Class in edu.cnm.deepdive.keepintouch.model.entity
-
A userType Entity that holds the names of the userType and the ids.
- UserType() - Constructor for class edu.cnm.deepdive.keepintouch.model.entity.UserType
-
- UserTypeDao - Interface in edu.cnm.deepdive.keepintouch.model.dao
-
An UserTypeDao which allows us to insert, delete, update and do specific queries on the
userType entities.
- UserTypeRepository - Class in edu.cnm.deepdive.keepintouch.service
-
A UserType repository with a save method, delete method, and queries
- UserTypeRepository(Context) - Constructor for class edu.cnm.deepdive.keepintouch.service.UserTypeRepository
-
Constructor for the userType Repository.
- UserTypeWithAutoReply - Class in edu.cnm.deepdive.keepintouch.model.pojo
-
Pojo class that is the compliment to AutoReply with UserType.
- UserTypeWithAutoReply() - Constructor for class edu.cnm.deepdive.keepintouch.model.pojo.UserTypeWithAutoReply
-