Class IMAPFolderPollingWorkflowEventSource
java.lang.Object
de.uplanet.lucy.server.workflow.eventsource.AbstractWorkflowEventSource
de.uplanet.lucy.server.workflow.eventsource.AbstractSingleThreadedWorkflowEventSource
de.uplanet.lucy.server.mailservice.workflow.eventsource.AbstractIMAPFolderWorkflowEventSource
de.uplanet.lucy.server.mailservice.workflow.eventsource.IMAPFolderPollingWorkflowEventSource
- All Implemented Interfaces:
de.uplanet.lucy.server.workflow.authentication.INeedCredentialSupplier
,de.uplanet.lucy.server.workflow.authentication.INeedPasswordSupplier
,IActivatableWorkflowObject
,de.uplanet.lucy.server.workflow.IImpersonateUser
,ILogLevelAware
,INamedWorkflowObject
,de.uplanet.lucy.server.workflow.INeedClusterInfo
,INeedWorkflow
,IRunnableWorkflowObject
,IStartableWorkflowObject
,ISupportAfterStopEvent
,ISupportBeforeStartEvent
,ISupportGlobalSharedState
,IWorkflowEventSource
,IWorkflowObject
,Serializable
public final class IMAPFolderPollingWorkflowEventSource
extends AbstractIMAPFolderWorkflowEventSource
implements de.uplanet.lucy.server.workflow.authentication.INeedPasswordSupplier, ISupportGlobalSharedState, ISupportBeforeStartEvent, ISupportAfterStopEvent
- Since:
- Intrexx 7.0.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
The default polling interval in milliseconds (60000L).Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()
Get the IMAP server to connect to.Get the password of the IMAP user.long
Get the polling interval in milliseconds.int
getPort()
Get the port the IMAP server listens to.getUser()
Get the name of the IMAP user.void
internalSetPasswordSupplier
(de.uplanet.lucy.server.workflow.authentication.IPasswordSupplier p_passwordSupplier) boolean
Check if the workaround for the bug in Microsoft Exchange Server 2007, 2010, and 2013, is enabled.void
Set the IMAP server to connect to.void
setHostParamRef
(String p_strParamRef) void
setMicrosoftExchangeServerExistsBugWorkaroundEnabled
(boolean p_bEnabled) Enables or disables a possible workaround for a bug in Microsoft Exchange Server 2007, 2010, and 2013, that fails to notify the client of new messages.void
setPassword
(String p_strPassword) Set the password of the IMAP user.void
setPollingInterval
(long p_lPollingInterval) Set the polling interval in milliseconds.void
setPort
(int p_iPort) Set the port the IMAP server listens to.void
setPortParamRef
(String p_strParamRef) void
Set the name of the IMAP user.void
setUserParamRef
(String p_strParamRef) Methods inherited from class de.uplanet.lucy.server.mailservice.workflow.eventsource.AbstractIMAPFolderWorkflowEventSource
getClusterInfo, getDispatchDelay, getFinishAction, getFolder, getJavaMailProperties, getMessageSelectFilter, getOnErrorRestartWaitTimeout, getProtocol, isGlobalSharedState, isLoadIncomingMessagesImmediately, isSendAfterStopEvent, isSendBeforeStartEvent, setClusterInfo, setDispatchDelay, setFinishAction, setFolder, setGlobalSharedState, setJavaMailProperties, setLoadIncomingMessagesImmediately, setMessageSelectFilter, setOnErrorRestartWaitTimeout, setProtocol, setSendAfterStopEvent, setSendBeforeStartEvent
Methods inherited from class de.uplanet.lucy.server.workflow.eventsource.AbstractSingleThreadedWorkflowEventSource
getDatabaseConnectionFactory, getStartDelay, getStopWaitTimeout, isLogVerbose, isRunning, setDatabaseConnectionFactory, setLogVerbose, setStartDelay, setStopWaitTimeout, shouldRun, start, stop
Methods inherited from class de.uplanet.lucy.server.workflow.eventsource.AbstractWorkflowEventSource
getGuid, getImpersonateUserGuid, getName, getWorkflow, hasImpersonateUserGuid, isActive, isRunWithLocalSystemPrivileges, setActive, setImpersonateUserGuid, setName, setRunWithLocalSystemPrivileges, setWorkflow, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.uplanet.lucy.server.workflow.ISupportAfterStopEvent
isSendAfterStopEvent, setSendAfterStopEvent
Methods inherited from interface de.uplanet.lucy.server.workflow.ISupportBeforeStartEvent
isSendBeforeStartEvent, setSendBeforeStartEvent
Methods inherited from interface de.uplanet.lucy.server.workflow.ISupportGlobalSharedState
isGlobalSharedState, setGlobalSharedState
-
Field Details
-
DEFAULT_POLLING_INTERVAL
public static final long DEFAULT_POLLING_INTERVALThe default polling interval in milliseconds (60000L).- See Also:
-
-
Constructor Details
-
IMAPFolderPollingWorkflowEventSource
-
-
Method Details
-
getHost
Description copied from class:AbstractIMAPFolderWorkflowEventSource
Get the IMAP server to connect to.- Overrides:
getHost
in classAbstractIMAPFolderWorkflowEventSource
- Returns:
- The IMAP server.
-
setHost
Description copied from class:AbstractIMAPFolderWorkflowEventSource
Set the IMAP server to connect to.- Overrides:
setHost
in classAbstractIMAPFolderWorkflowEventSource
- Parameters:
p_strHost
- The IMAP server.
-
getHostParamRef
-
setHostParamRef
-
getPort
public int getPort()Description copied from class:AbstractIMAPFolderWorkflowEventSource
Get the port the IMAP server listens to.- Overrides:
getPort
in classAbstractIMAPFolderWorkflowEventSource
- Returns:
- The port.
-
setPort
public void setPort(int p_iPort) Description copied from class:AbstractIMAPFolderWorkflowEventSource
Set the port the IMAP server listens to.- Overrides:
setPort
in classAbstractIMAPFolderWorkflowEventSource
- Parameters:
p_iPort
- The port.
-
getPortParamRef
-
setPortParamRef
-
getUser
Get the name of the IMAP user.- Returns:
- The name of the IMAP user.
-
setUser
Set the name of the IMAP user.- Parameters:
p_strUser
- The name of the IMAP user.
-
getUserParamRef
-
setUserParamRef
-
getPassword
Get the password of the IMAP user.- Returns:
- The password of the IMAP user.
-
setPassword
Set the password of the IMAP user.- Parameters:
p_strPassword
- The password of the IMAP user.
-
getPollingInterval
public long getPollingInterval()Get the polling interval in milliseconds.- Returns:
- The polling interval.
-
internalSetPasswordSupplier
public void internalSetPasswordSupplier(de.uplanet.lucy.server.workflow.authentication.IPasswordSupplier p_passwordSupplier) - Specified by:
internalSetPasswordSupplier
in interfacede.uplanet.lucy.server.workflow.authentication.INeedPasswordSupplier
-
internalGetPassword
- Specified by:
internalGetPassword
in interfacede.uplanet.lucy.server.workflow.authentication.INeedPasswordSupplier
-
setPollingInterval
public void setPollingInterval(long p_lPollingInterval) Set the polling interval in milliseconds.- Parameters:
p_lPollingInterval
- The polling interval.
-
isMicrosoftExchangeServerExistsBugWorkaroundEnabled
public boolean isMicrosoftExchangeServerExistsBugWorkaroundEnabled()Check if the workaround for the bug in Microsoft Exchange Server 2007, 2010, and 2013, is enabled.- Returns:
true
if the workaround is enabled (default), orfalse
otherwise.- See Also:
-
setMicrosoftExchangeServerExistsBugWorkaroundEnabled
public void setMicrosoftExchangeServerExistsBugWorkaroundEnabled(boolean p_bEnabled) Enables or disables a possible workaround for a bug in Microsoft Exchange Server 2007, 2010, and 2013, that fails to notify the client of new messages.The default value of this property is
true
.- Parameters:
p_bEnabled
-true
if the workaround should be enabled, orfalse
otherwise.
-