Class MsTeamsCreateTeamWorkflowAction
java.lang.Object
de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
de.uplanet.lucy.server.workflow.action.AbstractImpersonateWorkflowAction
de.uplanet.lucy.server.msteams.workflow.action.MsTeamsCreateTeamWorkflowAction
- All Implemented Interfaces:
de.uplanet.lucy.server.events.IServerEventListener
,IActivatableWorkflowObject
,INamedWorkflowObject
,INeedWorkflow
,INeedWorkflowDirectory
,IWorkflowAction
,IWorkflowObject
,Serializable
public final class MsTeamsCreateTeamWorkflowAction
extends AbstractImpersonateWorkflowAction
implements de.uplanet.lucy.server.events.IServerEventListener
- 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
Get the team name data configuration.javax.cache.expiry.Duration
de.uplanet.lucy.server.msteams.workflow.action.DataCfg
Get the group email data configuration.de.uplanet.lucy.server.msteams.workflow.action.DataCfg
Get the team name data configuration.com.microsoft.graph.models.TeamVisibilityType
Get the workflow directory.boolean
boolean
boolean
Determine if this action uses transacted Websocket sessions.void
process
(de.uplanet.lucy.server.events.IServerEvent p_event) 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
setAddCurrentUserAsOwner
(boolean p_addCurrentUserAsOwner) void
setAddTeamMembersIfTeamExistsAlready
(boolean p_addTeamMembersIfTeamExistsAlready) void
setAuthConfigName
(String p_authConfigName) void
setChannelNameData
(de.uplanet.lucy.server.msteams.workflow.action.DataCfg p_dataCfg) Set the channel name data configuration.void
setCreateTeamTimeout
(String p_seconds) void
setDuration
(javax.cache.expiry.Duration p_duration) void
setServiceUserGuid
(String p_serviceUserGuid) void
void
setTeamMailData
(de.uplanet.lucy.server.msteams.workflow.action.DataCfg p_dataCfg) Set the group email data configuration.void
void
setTeamNameData
(de.uplanet.lucy.server.msteams.workflow.action.DataCfg p_dataCfg) Set the team name data configuration.void
void
setTeamVisibilityType
(String p_teamVisibilityType) 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
-
MsTeamsCreateTeamWorkflowAction
-
-
Method Details
-
getWorkflowDirectory
Description copied from interface:INeedWorkflowDirectory
Get the workflow directory.- Specified by:
getWorkflowDirectory
in interfaceINeedWorkflowDirectory
- Returns:
- The workflow directory.
-
setWorkflowDirectory
Description copied from interface:INeedWorkflowDirectory
Set the workflow directory.- Specified by:
setWorkflowDirectory
in interfaceINeedWorkflowDirectory
- Parameters:
p_dir
- The workflow directory.
-
getTeamNameData
public de.uplanet.lucy.server.msteams.workflow.action.DataCfg getTeamNameData()Get the team name data configuration.- Returns:
- The team name data configuration.
-
setTeamNameData
public void setTeamNameData(de.uplanet.lucy.server.msteams.workflow.action.DataCfg p_dataCfg) Set the team name data configuration.- Parameters:
p_dataCfg
- The team name data configuration.
-
getTeamMailData
public de.uplanet.lucy.server.msteams.workflow.action.DataCfg getTeamMailData()Get the group email data configuration.- Returns:
- The group name data configuration.
-
setTeamMailData
public void setTeamMailData(de.uplanet.lucy.server.msteams.workflow.action.DataCfg p_dataCfg) Set the group email data configuration.- Parameters:
p_dataCfg
- The group name data configuration.
-
getChannelNameData
public de.uplanet.lucy.server.msteams.workflow.action.DataCfg getChannelNameData()Get the team name data configuration.- Returns:
- The channel name data configuration.
-
setChannelNameData
public void setChannelNameData(de.uplanet.lucy.server.msteams.workflow.action.DataCfg p_dataCfg) Set the channel name data configuration.- Parameters:
p_dataCfg
- The channel name 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.
-
setServiceUserGuid
-
getServiceUserGuid
-
setCreateTeamTimeout
-
getCreateTeamTimeout
-
setAuthConfigName
-
getAuthConfigName
-
setDuration
public void setDuration(javax.cache.expiry.Duration p_duration) -
getDuration
public javax.cache.expiry.Duration getDuration() -
setTeamMembers
-
getTeamMembers
-
setTeamOwners
-
getTeamOwners
-
isAddCurrentUserAsOwner
public boolean isAddCurrentUserAsOwner() -
setAddCurrentUserAsOwner
public void setAddCurrentUserAsOwner(boolean p_addCurrentUserAsOwner) -
setTeamId
-
getTeamId
-
isAddTeamMembersIfTeamExistsAlready
public boolean isAddTeamMembersIfTeamExistsAlready() -
setAddTeamMembersIfTeamExistsAlready
public void setAddTeamMembersIfTeamExistsAlready(boolean p_addTeamMembersIfTeamExistsAlready) -
getTeamVisibilityType
public com.microsoft.graph.models.TeamVisibilityType getTeamVisibilityType() -
setTeamVisibilityType
-
process
public void process(de.uplanet.lucy.server.events.IServerEvent p_event) - Specified by:
process
in interfacede.uplanet.lucy.server.events.IServerEventListener
-
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.
-