Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

oracle.sdp.messaging
Interface MessageQuery

All Superinterfaces:
Serializable

public interface MessageQuery
extends Serializable

Specify search query criteria to find sent messages from the message store.

Since:
11.0.0

Method Summary
 Calendar getFromTime()
          Get the start date and time for this query.
 Address getRecipient()
          Get the address of the recipient.
 Address getSender()
          Get the address of the sender.
 Calendar getToTime()
          Get the end date and time for this query.
 void setFromTime(Calendar fromTime)
          Set the start date and time for this query.
 void setRecipient(Address recipient)
          Set the address of the recipient.
 void setSender(Address sender)
          Set the address of the sender.
 void setToTime(Calendar toTime)
          Set the end date and time for this query.
 

Method Detail

getRecipient

Address getRecipient()
Get the address of the recipient.

Returns:
returns the recipient address.

setRecipient

void setRecipient(Address recipient)
Set the address of the recipient.

Parameters:
recipientAddress - the recipient address to set.

getSender

Address getSender()
Get the address of the sender.

Returns:
returns the sender address.

setSender

void setSender(Address sender)
Set the address of the sender.

Parameters:
senderAddress - the sender address to set.

getFromTime

Calendar getFromTime()
Get the start date and time for this query.

Returns:
returns the from time.

setFromTime

void setFromTime(Calendar fromTime)
Set the start date and time for this query.

Parameters:
fromTime - the start date and time to set.

getToTime

Calendar getToTime()
Get the end date and time for this query.

Returns:
returns the end date and time for this query.

setToTime

void setToTime(Calendar toTime)
Set the end date and time for this query.

Parameters:
toTime - the end date and time to set.

Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

Copyright © 2009, 2013 Oracle and/or its affiliates. All rights reserved.