## Uses of Class
com.oracle.email.to.MessageTO

- Packages that use MessageTO
  Package | Description
  --- | ---
  com.oracle.email.console |
  com.oracle.email.dao |
  com.oracle.email.to |

- - ### Uses of MessageTO in com.oracle.email.console

    Method parameters in com.oracle.email.console with type arguments of type MessageTO
    Modifier and Type | Method and Description
    --- | ---
    `static void` | DisplayItem.`displayMessages(java.lang.String folderName, java.util.List<MessageTO> messageList)`

  - ### Uses of MessageTO in com.oracle.email.dao

    Methods in com.oracle.email.dao that return MessageTO
    Modifier and Type | Method and Description
    --- | ---
    `MessageTO` | MessageDAO.`getMessage(java.lang.String messageId)` This method returns message using the primary key messageId

    Methods in com.oracle.email.dao that return types with arguments of type MessageTO
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<MessageTO>` | UserFolderMessageDAO.`getMessageIds(java.lang.String userId, java.lang.String folderId)` Method returns the list of messageIds when userId and folderId is passed as an input argument.
    `java.util.Hashtable<java.lang.String,java.util.List<MessageTO>>` | MessageDAO.`getMessages(java.lang.String userId)` This method returns all the messages for userId ordered by folder name and sorted by date

    Methods in com.oracle.email.dao with parameters of type MessageTO
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | MessageDAO.`addMessage(MessageTO messageTO)` This method takes a messageTO and persist it into the Message table.

  - ### Uses of MessageTO in com.oracle.email.to

    Methods in com.oracle.email.to with parameters of type MessageTO
    Modifier and Type | Method and Description
    --- | ---
    `int` | MessageTO.`compareTo(MessageTO messageTO)`