public abstract class AbstractDeskCmd<T> extends Object implements org.flowable.common.engine.impl.interceptor.Command<T>
Modifier and Type | Field and Description |
---|---|
protected static char[] |
SPLITTING_CHARS |
Constructor and Description |
---|
AbstractDeskCmd() |
Modifier and Type | Method and Description |
---|---|
protected String |
extractWordsWithMaxSize(String content,
int maxCharacters,
String postfix)
Extracts content from a given string with a maximum length and returns it with full words and an optional ending.
|
protected List<String> |
getConversationParticipants(String conversationId,
org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
protected ConversationService |
getConversationService(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
protected DeskService |
getDeskService(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
protected com.flowable.core.idm.api.PlatformIdentityService |
getIdentityService(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
protected MessageService |
getMessageService(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
protected boolean |
isSplittingChar(char character) |
protected String extractWordsWithMaxSize(String content, int maxCharacters, String postfix)
content
- the content to return the first words up to the maximum characters providedmaxCharacters
- the maximum number of characters to cut-off afterwardspostfix
- the optional string to be added to the end of the cut-off contentprotected boolean isSplittingChar(char character)
protected List<String> getConversationParticipants(String conversationId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected com.flowable.core.idm.api.PlatformIdentityService getIdentityService(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected MessageService getMessageService(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected ConversationService getConversationService(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected DeskService getDeskService(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
Copyright © 2019. All rights reserved.