@Deprecated public interface MessagingService extends MessageSearch
MessageSearch
for retrieving messages.Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE_CUSTOM_PROPERTIES_WHITE_LIST
Deprecated.
Custom properties Names whitelist service property name.
|
Modifier and Type | Method and Description |
---|---|
void |
delete(List<Resource> messageResourceList,
ResourceResolver resourceResolver)
Deprecated.
Use
MessagingOperationsService instead. |
Usage |
getUserStatistics(Resource resource)
Deprecated.
get the usage statistics of the user corresponding to the passed resolver.
|
List<String> |
getWhiteList()
Deprecated.
Return a list of message fields that have been whitelisted.
|
MessageBuilder |
newMessageSender(String senderId,
String asiPath,
boolean isFiltered)
Deprecated.
return a new
MessageBuilder . |
void |
setCustomProperty(List<Message> messageList,
String name,
Object value,
ResourceResolver resourceResolver)
Deprecated.
Use
MessagingOperationsService instead. |
void |
setDeleted(List<Message> messageList,
boolean value,
ResourceResolver resourceResolver)
Deprecated.
Use
MessagingOperationsService instead. |
void |
setRead(List<Message> messageList,
boolean value,
ResourceResolver resourceResolver)
Deprecated.
Use
MessagingOperationsService instead. |
get, getMessageBoxes, getMessageBoxes, search, search
static final String MESSAGE_CUSTOM_PROPERTIES_WHITE_LIST
MessageBuilder newMessageSender(String senderId, String asiPath, boolean isFiltered)
MessageBuilder
.senderId
- user id of the sender.asiPath
- the asiPath to be prefixed to the message resource pathisFiltered
- if true, the white list filtering is applied@Deprecated void setRead(List<Message> messageList, boolean value, ResourceResolver resourceResolver) throws PersistenceException
MessagingOperationsService
instead.messageList
- list of Message
svalue
- true if the message is to be marked read, false otherwise.resourceResolver
- ResourceResolver
PersistenceException
- in case of failure on session save.@Deprecated void setDeleted(List<Message> messageList, boolean value, ResourceResolver resourceResolver) throws PersistenceException
MessagingOperationsService
instead.messageList
- list of Message
svalue
- true if the message is to be marked trashed, false otherwise.resourceResolver
- ResourceResolver
PersistenceException
- in case of failure on session save.@Deprecated void setCustomProperty(List<Message> messageList, String name, Object value, ResourceResolver resourceResolver) throws PersistenceException
MessagingOperationsService
instead.messageList
- list of Message
sname
- name of property to be setvalue
- value to be setresourceResolver
- ResourceResolver
PersistenceException
- in case of failure on session save.@Deprecated void delete(List<Resource> messageResourceList, ResourceResolver resourceResolver) throws PersistenceException
MessagingOperationsService
instead.messageResourceList
- list of Message Resource
resourceResolver
- ResourceResolver
PersistenceException
- in case of failure on session save.Usage getUserStatistics(Resource resource) throws RepositoryException
resource
- The message box resource.Usage
RepositoryException
- RepositoryException
if some exception occurs in calculating the statistics."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"