public interface MiniMessageService
Modifier and Type | Method and Description |
---|---|
MiniMessage |
addMiniMessage(Principal principal,
String message)
Add a new mini message.
|
MiniMessage |
addMiniMessage(Principal principal,
String message,
Date publishedDate)
Add a new mini message.
|
MiniMessage |
addMiniMessage(Principal principal,
String message,
Date publishedDate,
String target)
Add a new mini message for the given
target . |
List<MiniMessage> |
getMiniMessageFor(String actorActivityObject,
RelationshipKind relationshipKind,
long offset,
long limit)
Returns the mini messages for the given
actorActivityObject . |
List<MiniMessage> |
getMiniMessageFor(String actorActivityObject,
RelationshipKind relationshipKind,
String targetActivityObject,
long offset,
long limit)
Returns the mini messages for the given
actorActivityObject and
targetActivityObject . |
List<MiniMessage> |
getMiniMessageFrom(String actorActivityObject,
long offset,
long limit)
Returns the mini messages from the given
actorActivityObject . |
void |
removeMiniMessage(MiniMessage miniMessage)
Remove a mini message.
|
MiniMessage addMiniMessage(Principal principal, String message, Date publishedDate)
MiniMessage addMiniMessage(Principal principal, String message, Date publishedDate, String target)
target
.MiniMessage addMiniMessage(Principal principal, String message)
void removeMiniMessage(MiniMessage miniMessage)
List<MiniMessage> getMiniMessageFor(String actorActivityObject, RelationshipKind relationshipKind, long offset, long limit)
actorActivityObject
. The
relationshipKind
is used to find people with whom the actor has a
relation.offset
- the offset (starting at 0) into the list of mini messages.limit
- the maximum number of mini messages to retrieve, or 0 for
all of them.List<MiniMessage> getMiniMessageFor(String actorActivityObject, RelationshipKind relationshipKind, String targetActivityObject, long offset, long limit)
actorActivityObject
and
targetActivityObject
. The relationshipKind
is used to
find people with whom the actor has a relation.offset
- the offset (starting at 0) into the list of mini messages.limit
- the maximum number of mini messages to retrieve, or 0 for
all of them.List<MiniMessage> getMiniMessageFrom(String actorActivityObject, long offset, long limit)
actorActivityObject
.offset
- the offset (starting at 0) into the list of mini messages.limit
- the maximum number of mini messages to retrieve, or 0 for
all of them.Copyright © 2011 Nuxeo SA. All Rights Reserved.