Class MsTeamsCreateGroupWorkflowAction
java.lang.Object
de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
de.uplanet.lucy.server.workflow.action.AbstractImpersonateWorkflowAction
de.uplanet.lucy.server.msteams.workflow.action.MsTeamsCreateGroupWorkflowAction
- All Implemented Interfaces:
de.uplanet.lucy.server.events.IServerEventListener
,IActivatableWorkflowObject
,ILogLevelAware
,INamedWorkflowObject
,INeedWorkflow
,INeedWorkflowDirectory
,IWorkflowAction
,IWorkflowObject
,Serializable
public final class MsTeamsCreateGroupWorkflowAction
extends AbstractImpersonateWorkflowAction
implements de.uplanet.lucy.server.events.IServerEventListener
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.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 group name data configuration.com.microsoft.graph.models.TeamVisibilityType
Get the workflow directory.boolean
boolean
boolean
This flag determines if verbose logging is turned on or off.boolean
Determine if this action uses transacted Websocket sessions.void
process
(de.uplanet.lucy.server.events.IServerEvent p_evt) 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_bAddCurrentUserAsOwner) void
setAddTeamMembersIfTeamExistsAlready
(boolean p_bAddTeamMembersIfTeamExistsAlready) void
setAuthConfigName
(String p_strAuthConfigName) void
setDuration
(javax.cache.expiry.Duration p_duration) void
setGroupId
(String p_strGroupId) void
setGroupMailData
(de.uplanet.lucy.server.msteams.workflow.action.DataCfg p_dataCfg) Set the group email data configuration.void
void
setGroupNameData
(de.uplanet.lucy.server.msteams.workflow.action.DataCfg p_dataCfg) Set the group name data configuration.void
void
setGroupVisibilityType
(String p_strGroupVisibilityType) void
setLogVerbose
(boolean arg0) This flag determines if verbose logging is turned on or off.void
setServiceUserGuid
(String p_strServiceUserGuid) void
setUseTransactedSession
(boolean p_bUseTransactedSession) Determine if this action uses transacted 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
-
MsTeamsCreateGroupWorkflowAction
-
-
Method Details
-
process
public void process(de.uplanet.lucy.server.events.IServerEvent p_evt) - Specified by:
process
in interfacede.uplanet.lucy.server.events.IServerEventListener
-
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.
-
setGroupMembers
-
getGroupMembers
-
getGroupOwners
-
setGroupOwners
-
getGroupNameData
public de.uplanet.lucy.server.msteams.workflow.action.DataCfg getGroupNameData()Get the group name data configuration.- Returns:
- The group name data configuration.
-
setGroupNameData
public void setGroupNameData(de.uplanet.lucy.server.msteams.workflow.action.DataCfg p_dataCfg) Set the group name data configuration.- Parameters:
p_dataCfg
- The group name data configuration.
-
getGroupMailData
public de.uplanet.lucy.server.msteams.workflow.action.DataCfg getGroupMailData()Get the group email data configuration.- Returns:
- The group name data configuration.
-
setGroupMailData
public void setGroupMailData(de.uplanet.lucy.server.msteams.workflow.action.DataCfg p_dataCfg) Set the group email data configuration.- Parameters:
p_dataCfg
- The group name data configuration.
-
setGroupId
-
getGroupId
-
setAuthConfigName
-
getAuthConfigName
-
setServiceUserGuid
-
getServiceUserGuid
-
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_bUseTransactedSession) Determine if this action uses transacted sessions.Default is
true
.- Parameters:
p_bUseTransactedSession
-true
if this action should use transacted sessions, orfalse
otherwise.
-
isAddCurrentUserAsOwner
public boolean isAddCurrentUserAsOwner() -
setAddCurrentUserAsOwner
public void setAddCurrentUserAsOwner(boolean p_bAddCurrentUserAsOwner) -
getGroupVisibilityType
public com.microsoft.graph.models.TeamVisibilityType getGroupVisibilityType() -
setGroupVisibilityType
-
isAddTeamMembersIfTeamExistsAlready
public boolean isAddTeamMembersIfTeamExistsAlready() -
setAddTeamMembersIfTeamExistsAlready
public void setAddTeamMembersIfTeamExistsAlready(boolean p_bAddTeamMembersIfTeamExistsAlready) -
setDuration
public void setDuration(javax.cache.expiry.Duration p_duration) -
getDuration
public javax.cache.expiry.Duration getDuration() -
isLogVerbose
public boolean isLogVerbose()Description copied from interface:ILogLevelAware
This flag determines if verbose logging is turned on or off.- Specified by:
isLogVerbose
in interfaceILogLevelAware
- Returns:
true
if logging is verbose, orfalse
otherwise.
-
setLogVerbose
public void setLogVerbose(boolean arg0) Description copied from interface:ILogLevelAware
This flag determines if verbose logging is turned on or off.- Specified by:
setLogVerbose
in interfaceILogLevelAware
- Parameters:
arg0
-true
if logging should be verbose, orfalse
otherwise.
-
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:
Exception
- If an error occurred.
-