@Deprecated
public interface MessageSearch
| Modifier and Type | Method and Description |
|---|---|
Message |
get(Resource root,
java.lang.String messageId)
Deprecated.
get the
Message having the given id. |
java.util.List<Resource> |
getMessageBoxes(Resource root)
Deprecated.
get all the message boxes present under the passed resource.
|
java.util.List<Resource> |
getMessageBoxes(ResourceResolver resolver,
java.lang.String rootPath)
Deprecated.
get all the message boxes present under the passed parent path.
|
java.util.Iterator<Message> |
search(Resource root,
java.util.Map<java.lang.String,java.lang.Object> propertyMap,
int first,
int last)
Deprecated.
search for messages rooted at root and matching property values as per the passed property map(conjunction).
|
java.lang.Iterable<Message> |
search(ResourceResolver resolver,
MessageFilter filter,
int first,
int last)
Deprecated.
Searches for
Message satisfying the passed MessageFilter criteria. |
java.util.Iterator<Message> search(Resource root, java.util.Map<java.lang.String,java.lang.Object> propertyMap, int first, int last)
root - resource under which messages are to be searched for.propertyMap - map containing message properties and valuesfirst - lower limit (inclusive) of the message range to be fetchedlast - upper limit (inclusive) of the message range to be fetchedMessages satisfying all the properties criteria or null if root passed is
nullMessage get(Resource root, java.lang.String messageId)
Message having the given id.root - parent resource like inbox or sent itemsmessageId - message id of message to be searched for.Message having the specified id.java.util.List<Resource> getMessageBoxes(Resource root)
root - resource under which message boxes are to be searched.java.util.List<Resource> getMessageBoxes(ResourceResolver resolver, java.lang.String rootPath)
rootPath - path under which message boxes are to be searched.resolver - the resolver to use to get the message boxes.java.lang.Iterable<Message> search(ResourceResolver resolver, MessageFilter filter, int first, int last) throws RepositoryException
Message satisfying the passed MessageFilter criteria.resolver - ResourceResolver to search with.filter - MessageFilter filtering criteria.first - lower limit (inclusive) of the message range to be fetchedlast - upper limit (inclusive) of the message range to be fetchedRepositoryException - Exception while searching."Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"