Class MsTeamsMessageWorkflowAction
java.lang.Object
de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
de.uplanet.lucy.server.workflow.action.AbstractImpersonateWorkflowAction
de.uplanet.lucy.server.msteams.workflow.action.MsTeamsMessageWorkflowAction
- All Implemented Interfaces:
IActivatableWorkflowObject
,INamedWorkflowObject
,INeedWorkflow
,INeedWorkflowDirectory
,IWorkflowAction
,IWorkflowObject
,Serializable
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionde.uplanet.lucy.server.msteams.workflow.action.DataCfg
getData()
Get the message data configuration.javax.cache.expiry.Duration
de.uplanet.lucy.server.msteams.workflow.action.LinkCfg
Get the TO recipients.Get the workflow directory.boolean
boolean
boolean
boolean
Determine if this action uses transacted Websocket sessions.process
(IWorkflowEvent arg0, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext arg1, de.uplanet.lucy.server.IProcessingContext arg2) Process a workflow event in the given context.void
setAuthConfigName
(String p_authConfigName) void
setAuthType
(String p_authType) void
setChannelId
(String p_ChannelId) void
setChatMessage
(boolean p_chatMessage) void
setContentType
(String p_contentType) void
setData
(de.uplanet.lucy.server.msteams.workflow.action.DataCfg p_dataCfg) Set the message data configuration.void
setDuration
(javax.cache.expiry.Duration p_duration) void
setLinkDesktop
(de.uplanet.lucy.server.msteams.workflow.action.LinkCfg p_linkDesktopCfg) void
setRecipients
(MsTeamsMessageWorkflowAction.RecipientsCfg p_recipients) Set the recipients.void
setServiceUserGuid
(String p_serviceUserGuid) void
void
setUserGuid
(String p_userGuid) void
setUseSharedStateChannelId
(boolean p_useSharedStateChannelId) void
setUseSharedStateTeamId
(boolean p_useSharedStateTeamId) void
setUseTransactedSession
(boolean p_useTransactedSession) Determine if this action uses transacted Websocket sessions.void
setWorkflowDirectory
(Path p_dir) Set the workflow directory.Methods inherited from class de.uplanet.lucy.server.workflow.action.AbstractImpersonateWorkflowAction
getImpersonateUserGuid, hasImpersonateUserGuid, isRunWithLocalSystemPrivileges, setImpersonateUserGuid, setRunWithLocalSystemPrivileges
Methods inherited from class de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
getAfferentTransition, getEfferentTransition, getGuid, getName, getWorkflow, isActive, setActive, setAfferentTransition, setEfferentTransition, setName, setWorkflow, toString
-
Constructor Details
-
MsTeamsMessageWorkflowAction
-
-
Method Details
-
getWorkflowDirectory
Description copied from interface:INeedWorkflowDirectory
Get the workflow directory.- Returns:
- The workflow directory.
-
setWorkflowDirectory
Description copied from interface:INeedWorkflowDirectory
Set the workflow directory.- Parameters:
p_dir
- The workflow directory.
-
getData
public de.uplanet.lucy.server.msteams.workflow.action.DataCfg getData()Get the message data configuration.- Returns:
- The message data configuration.
-
setData
public void setData(de.uplanet.lucy.server.msteams.workflow.action.DataCfg p_dataCfg) Set the message data configuration.- Parameters:
p_dataCfg
- The message data configuration.
-
isUseTransactedSession
public boolean isUseTransactedSession()Determine if this action uses transacted Websocket sessions.Default is
true
.- Returns:
true
if this action uses transacted Websocket sessions, orfalse
otherwise.
-
setUseTransactedSession
public void setUseTransactedSession(boolean p_useTransactedSession) Determine if this action uses transacted Websocket sessions.Default is
true
.- Parameters:
p_useTransactedSession
-true
if this action should use transacted Websocket sessions, orfalse
otherwise.
-
getLinkDesktop
public de.uplanet.lucy.server.msteams.workflow.action.LinkCfg getLinkDesktop() -
setLinkDesktop
public void setLinkDesktop(de.uplanet.lucy.server.msteams.workflow.action.LinkCfg p_linkDesktopCfg) -
getRecipients
Get the TO recipients.- Returns:
- The TO recipients.
-
setRecipients
Set the recipients.- Parameters:
p_recipients
- The recipients.
-
setServiceUserGuid
-
getServiceUserGuid
-
setAuthConfigName
-
getAuthConfigName
-
setDuration
public void setDuration(javax.cache.expiry.Duration p_duration) -
getDuration
public javax.cache.expiry.Duration getDuration() -
setChatMessage
public void setChatMessage(boolean p_chatMessage) -
isChatMessage
public boolean isChatMessage() -
setTeamId
-
getTeamId
-
setChannelId
-
getChannelId
-
setContentType
-
getContentType
-
setAuthType
-
getAuthType
-
setUserGuid
-
getUserGuid
-
process
public WorkflowTransition process(IWorkflowEvent arg0, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext arg1, de.uplanet.lucy.server.IProcessingContext arg2) throws Exception Description copied from interface:IWorkflowAction
Process a workflow event in the given context.Normally, a workflow action should return its efferent transition, regardless whether it is
active
, or not.- Specified by:
process
in interfaceIWorkflowAction
- Overrides:
process
in classAbstractImpersonateWorkflowAction
- Parameters:
arg0
- The event to be processed.arg1
- The workflow processing context.arg2
- The processing context.- Returns:
- The efferent transition, or
null
. - Throws:
InterruptedException
- If processing of this action has been interrupted.Exception
- If an error occurred.
-