Oracle Fusion Middleware User Messaging Service 11.1.1.3.0 Java API Reference
E14011-02

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

getFromTime

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

Returns:
returns the from time.

getRecipient

Address getRecipient()
Get the address of the recipient.

Returns:
returns the recipient address.

getSender

Address getSender()
Get the address of the sender.

Returns:
returns the sender address.

getToTime

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

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

setFromTime

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

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

setRecipient

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

Parameters:
recipientAddress - the recipient address to set.

setSender

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

Parameters:
senderAddress - the sender address to set.

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.3.0 Java API Reference
E14011-02

Copyright © 2010 Oracle and/or its affiliates. All rights reserved.