pase.server
Class SerRuntimeEnv

java.lang.Object
  extended by pase.server.SerRuntimeEnv
All Implemented Interfaces:
com.flowring.aware.Aware, com.flowring.dao.ClientRegistryDaoAware, com.flowring.manager.ServerEnvironmentManager

public class SerRuntimeEnv
extends java.lang.Object
implements com.flowring.manager.ServerEnvironmentManager, com.flowring.dao.ClientRegistryDaoAware

$Id: SerRuntimeEnv.java,v 1.36.2.1.6.5.6.6.2.1.2.3.2.11.4.14.4.6.4.3.2.1 2012/03.56 08:45:17 sbyan Exp $


Field Summary
static boolean forceCompleteTaskMode
           
static int maxSQLParameterCharacters
           
static java.lang.String MONITORTYPE
           
static boolean parseSQLParameter
           
static boolean PERFORMONITOR
           
static long SQLFETCHMILLIS
           
 
Fields inherited from interface com.flowring.manager.ServerEnvironmentManager
AUTH_AFDB, AUTH_LDAP, AUTH_NT
 
Constructor Summary
SerRuntimeEnv()
          Create the server rumtime environment.
SerRuntimeEnv(java.util.Properties serverProperty)
          only used to get properties value with default
 
Method Summary
 void addAdminCallback(java.lang.String loginID, AdminRMI client)
          Cache admin callback objects.
 void addClientCallback(java.lang.String loginId, ClientRMI client)
          Cache client callback objects.
 void addClientCallbackForEIP(java.lang.String loginId, ClientRMI client)
          Cache client callback objects.
 AdminRMI getAdminCallback(java.lang.String loginID)
          Get the admin callback object.
 java.util.Date getAdminLoginTime(java.lang.String user)
           
 java.util.Vector getAdminUsers()
          Get the on-line admin list.
 int getAuthMode()
           
 int getCheckServiceSleepTime()
          Get the sleep time of check services.
 ClientRMI getClientCallback(java.lang.String loginId)
          Get the client callback object.
 java.util.List getClientsForEIP()
           
 java.lang.String getClusterName()
           
 int getCSTaskAuditingExpireTime()
          Get the Counter Sign Expire Time.
 int getCurrentAdmins()
          Get the quantity of current admins.
 int getCurrentClients()
          Get the quantity of current clients.
 int getCurrentClientsForEIP()
          Get the quantity of current clients for EIP.
 int getDispatchThreadSize()
          Get the task cache size.
 boolean getEmailNotifyDraftTask()
          AF-4379 by Kai
 boolean getForceCompleteTaskMode()
           
 java.lang.String getHostname()
           
 int getIapTaskAuditingExpireTime()
          Get the Iap Expire Time.
 int getIdleUserTimeout()
           
 java.lang.String getIdServerHost()
           
 java.lang.String getIdServerPort()
           
 org.orgchart.PaseAuthLDAPConfigFile getLDAPAuthConfig()
          Deprecated. V3.5 by Shihwei AF-1668
 org.orgchart.LDAPConfigFile getLDAPConfigFile()
           
 java.util.Date getLoginTime(java.lang.String loginId)
           
 java.lang.String getMailEncoding()
           
 java.lang.String getMailServer()
          Get the host of mail server.
 int getMailServerPort()
           
 int getMaxClients()
          Get the max number of client can exist simultaneously.
 java.lang.String getNodeName()
           
 java.util.HashMap getOnlineAdminLoginTime()
           
 java.util.Map getOnlineUserLoginTime()
           
 java.lang.String getPrivateKeyOfSingleSignOn()
           
 java.lang.String getPushServerUrl()
           
 int getRemainNumberStartTimeout()
           
 java.lang.String getReportServerIP()
          Get Report Server IP
 int getReportServerPort()
          Get Report Server Port
static int getReScheduleInterval()
           
 int getRMIPort()
          Get the RMI server port number.
 java.lang.String getServerHost()
          Get the server's host.
 java.lang.String getServerID()
           
 java.lang.String getServerSuspendTime()
          impl. remark: It's "ServerSuspendTime" used by FinalCountDownDialog
 boolean getSetFrontUser()
           
 java.lang.String getSMTPid()
           
 java.lang.String getSMTPpassword()
           
 int getSockPort()
          Get the socket port number return socket port number
 int getSoTimeOut()
          Get the time out value.
 int getTaskCacheSize()
          Get the task cache size.
 java.lang.String getTomcatPath()
           
 java.lang.String getUploadPath()
           
 java.util.List getUsers()
          Get the Online users.
 java.util.List getUsersForEIP()
          Get the concurrent users .
 java.lang.String getWebAgendaURL()
           
 boolean isAdminUserExist(java.lang.String user)
          Check whether the admin user is online.
 boolean isAllQueueRulesMatch()
           
 boolean isAuthForceAFDBAuthForAdmin()
           
 boolean isAutoTruncate()
           
 boolean isCancelCache()
           
 boolean isClusterMode()
           
 boolean isCurrentTaskExistForPrinting()
           
 boolean isEnablePushServer()
           
 boolean isLDAPAuthEnabled()
           
 boolean isLDAPAuthTestOnStart()
           
 boolean isLogEnabled()
          Whether the task is long enabled.
 boolean isMailNeedID()
           
 boolean isMailSSL()
           
 boolean isMailTLS()
           
static boolean isNewAttachFileDirectoryAccess()
           
 boolean isSendStartDeputyNotify()
           
 boolean isSendStopDeputyNotify()
           
 boolean isStartingQuartzSchedulerOnPASEStartUp()
           
 boolean isStartTomcat()
           
 boolean isUseAgentflowAuthAfterLDAPFailed()
           
static boolean isUseBASE64AndUTF8EncodeAttachFileName()
           
 boolean isUserExist(java.lang.String loginId)
          Check whether the user is online.
 boolean isUserExistForEIP(java.lang.String loginId)
          Check whether the user for EIP is online.
 boolean removeAdminCallback(java.lang.String loginID)
          Remove the admin callback object.
 boolean removeClientCallback(java.lang.String loginId)
          Remove the client callback object.
 boolean removeClientCallbackForEIP(java.lang.String loginId)
          Remove the client callback object for EIP.
 java.util.Vector removeTimeoutUser()
           
 void setAutoTruncate(boolean b)
           
 void setClientRegistryDao(com.flowring.dao.ClientRegistryDao clientRegistryDao)
           
 void setClusterMode(boolean clusterMode)
           
 void setClusterName(java.lang.String clusterName)
           
 void setHostname(java.lang.String hostname)
           
 void setMaxClients(int n)
          Set the max number of client can exist simultaneously.
 void setNodeName(java.lang.String nodeName)
           
 void setServerID(java.lang.String serverID)
           
 void setSockPort(int port)
          Set the socket port number
 void setStartTomcat(boolean startTomcat)
           
 void setTomcatPath(java.lang.String tomcatPath)
           
 void setUploadPath(java.lang.String uploadPath)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

forceCompleteTaskMode

public static boolean forceCompleteTaskMode

PERFORMONITOR

public static transient boolean PERFORMONITOR

MONITORTYPE

public static transient java.lang.String MONITORTYPE

SQLFETCHMILLIS

public static transient long SQLFETCHMILLIS

parseSQLParameter

public static transient boolean parseSQLParameter

maxSQLParameterCharacters

public static transient int maxSQLParameterCharacters
Constructor Detail

SerRuntimeEnv

public SerRuntimeEnv()
Create the server rumtime environment. Restores properties from server.properties file.

Parameters:
name - the server Name.
Since:
version 1.0.0

SerRuntimeEnv

public SerRuntimeEnv(java.util.Properties serverProperty)
only used to get properties value with default

Parameters:
serverProperty - non-null Properties loaded from PASEServer config. file
Method Detail

getServerSuspendTime

public java.lang.String getServerSuspendTime()
impl. remark: It's "ServerSuspendTime" used by FinalCountDownDialog

Specified by:
getServerSuspendTime in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the default count-down time to stop server after stop button pushed

getRMIPort

public int getRMIPort()
Get the RMI server port number.

Specified by:
getRMIPort in interface com.flowring.manager.ServerEnvironmentManager
Returns:
rmi port number.
Since:
version 1.0.0

getCheckServiceSleepTime

public int getCheckServiceSleepTime()
Get the sleep time of check services.

Specified by:
getCheckServiceSleepTime in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the sleep time
Since:
version 1.3

getCSTaskAuditingExpireTime

public int getCSTaskAuditingExpireTime()
Get the Counter Sign Expire Time.

Specified by:
getCSTaskAuditingExpireTime in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the sleep time
Since:
version 1.2p6

getIapTaskAuditingExpireTime

public int getIapTaskAuditingExpireTime()
Get the Iap Expire Time.

Specified by:
getIapTaskAuditingExpireTime in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the sleep time
Since:
3.5

getSockPort

public int getSockPort()
Get the socket port number return socket port number

Specified by:
getSockPort in interface com.flowring.manager.ServerEnvironmentManager
Since:
version 1.0.0

setSockPort

public void setSockPort(int port)
Set the socket port number

Specified by:
setSockPort in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
port - the given port number
Since:
version 1.0.0

getServerHost

public java.lang.String getServerHost()
Get the server's host.

Specified by:
getServerHost in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the server's host
Since:
version 1.0.0

getMaxClients

public int getMaxClients()
Get the max number of client can exist simultaneously.

Specified by:
getMaxClients in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the max number of client can exist simultaneously.
Since:
version 1.0.0

setMaxClients

public void setMaxClients(int n)
Set the max number of client can exist simultaneously.

Specified by:
setMaxClients in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
n - the given max number
Since:
version 1.0.0

getMailServer

public java.lang.String getMailServer()
Get the host of mail server.

Specified by:
getMailServer in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the host of mail server
Since:
version 1.0.0

isMailNeedID

public boolean isMailNeedID()
Specified by:
isMailNeedID in interface com.flowring.manager.ServerEnvironmentManager

getSMTPid

public java.lang.String getSMTPid()
Specified by:
getSMTPid in interface com.flowring.manager.ServerEnvironmentManager

getSMTPpassword

public java.lang.String getSMTPpassword()
Specified by:
getSMTPpassword in interface com.flowring.manager.ServerEnvironmentManager

getMailEncoding

public java.lang.String getMailEncoding()
Specified by:
getMailEncoding in interface com.flowring.manager.ServerEnvironmentManager

getWebAgendaURL

public java.lang.String getWebAgendaURL()
Specified by:
getWebAgendaURL in interface com.flowring.manager.ServerEnvironmentManager

getMailServerPort

public int getMailServerPort()
Specified by:
getMailServerPort in interface com.flowring.manager.ServerEnvironmentManager

getSoTimeOut

public int getSoTimeOut()
Get the time out value.

Specified by:
getSoTimeOut in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the time out value
Since:
version 1.0.0

getTaskCacheSize

public int getTaskCacheSize()
Get the task cache size.

Specified by:
getTaskCacheSize in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the task cache size.
Since:
version 1.0.0

getDispatchThreadSize

public int getDispatchThreadSize()
Get the task cache size.

Specified by:
getDispatchThreadSize in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the task cache size.
Since:
version 1.0.0

isLogEnabled

public boolean isLogEnabled()
Whether the task is long enabled.

Specified by:
isLogEnabled in interface com.flowring.manager.ServerEnvironmentManager
Returns:
true if the task is long enabled; false otherwise
Since:
version 1.0.0

addClientCallback

public void addClientCallback(java.lang.String loginId,
                              ClientRMI client)
Cache client callback objects.

Specified by:
addClientCallback in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
user - client user name.
client - a instance of the ClientRMI interface implementation.
Since:
version 1.0.0
See Also:
getClientCallback(java.lang.String), ClientRMI

addClientCallbackForEIP

public void addClientCallbackForEIP(java.lang.String loginId,
                                    ClientRMI client)
Cache client callback objects.

Specified by:
addClientCallbackForEIP in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
user - client user name.
client - a instance of the ClientRMI interface implementation.
Since:
version 1.0.0
See Also:
getClientCallback(java.lang.String), ClientRMI

removeClientCallback

public boolean removeClientCallback(java.lang.String loginId)
Remove the client callback object.

Specified by:
removeClientCallback in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
user - client user name.
Returns:
true if remove successfully, false otherwise.
Since:
version 1.0.0
See Also:
addClientCallback(java.lang.String, pe.pase.ClientRMI), ClientRMI

getClientsForEIP

public java.util.List getClientsForEIP()
Specified by:
getClientsForEIP in interface com.flowring.manager.ServerEnvironmentManager

removeClientCallbackForEIP

public boolean removeClientCallbackForEIP(java.lang.String loginId)
Remove the client callback object for EIP.

Specified by:
removeClientCallbackForEIP in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
user - client user name.
Returns:
true if remove successfully, false otherwise.
Since:
version 1.0.0
See Also:
addClientCallback(java.lang.String, pe.pase.ClientRMI), ClientRMI

getClientCallback

public ClientRMI getClientCallback(java.lang.String loginId)
Get the client callback object.

Specified by:
getClientCallback in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
user - client user name.
Returns:
a ClientRMI instance.
Since:
version 1.0.0
See Also:
addClientCallback(java.lang.String, pe.pase.ClientRMI), ClientRMI

isUserExist

public boolean isUserExist(java.lang.String loginId)
Check whether the user is online.

Specified by:
isUserExist in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
loginId - client user name.
Returns:
true if the user is online, false if the user is not online.
Since:
version 1.0.0

getCurrentClients

public int getCurrentClients()
Get the quantity of current clients.

Specified by:
getCurrentClients in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the quantity of current clients
Since:
version 1.0.0

isUserExistForEIP

public boolean isUserExistForEIP(java.lang.String loginId)
Check whether the user for EIP is online.

Specified by:
isUserExistForEIP in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
loginId - client user name.
Returns:
true if the user is online, false if the user is not online.
Since:
version 1.0.0

getCurrentClientsForEIP

public int getCurrentClientsForEIP()
Get the quantity of current clients for EIP.

Specified by:
getCurrentClientsForEIP in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the quantity of current clients
Since:
version 1.0.0

getUsers

public java.util.List getUsers()
Get the Online users.

Specified by:
getUsers in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the users. (each element in Vector is user name)
Since:
version 1.0.0

getUsersForEIP

public java.util.List getUsersForEIP()
Get the concurrent users .

Specified by:
getUsersForEIP in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the users. (each element in Vector is user name)
Since:
version 1.0.0

getLoginTime

public java.util.Date getLoginTime(java.lang.String loginId)
Specified by:
getLoginTime in interface com.flowring.manager.ServerEnvironmentManager

getOnlineUserLoginTime

public java.util.Map getOnlineUserLoginTime()
Specified by:
getOnlineUserLoginTime in interface com.flowring.manager.ServerEnvironmentManager

addAdminCallback

public void addAdminCallback(java.lang.String loginID,
                             AdminRMI client)
Cache admin callback objects.

Specified by:
addAdminCallback in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
user - admin user name.
client - a instance of the AdminRMI interface implementation.
Since:
version 1.1.5
See Also:
getAdminCallback(java.lang.String), AdminRMI

removeAdminCallback

public boolean removeAdminCallback(java.lang.String loginID)
Remove the admin callback object.

Specified by:
removeAdminCallback in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
user - admin user name.
Returns:
true if remove successfully, false otherwise.
Since:
version 1.1.5
See Also:
addAdminCallback(java.lang.String, pe.pase.AdminRMI), AdminRMI

getAdminCallback

public AdminRMI getAdminCallback(java.lang.String loginID)
Get the admin callback object.

Specified by:
getAdminCallback in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
user - admin user name.
Returns:
a AdminRMI instance.
Since:
version 1.1.5
See Also:
addAdminCallback(java.lang.String, pe.pase.AdminRMI), AdminRMI

isAdminUserExist

public boolean isAdminUserExist(java.lang.String user)
Check whether the admin user is online.

Specified by:
isAdminUserExist in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
user - admin user name.
Returns:
true if the user is online, false if the user is not online.
Since:
version 1.1.5

getCurrentAdmins

public int getCurrentAdmins()
Get the quantity of current admins.

Specified by:
getCurrentAdmins in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the quantity of current admins
Since:
version 1.1.5

getAdminUsers

public java.util.Vector getAdminUsers()
Get the on-line admin list.

Specified by:
getAdminUsers in interface com.flowring.manager.ServerEnvironmentManager
Returns:
the admin list. (each element in Vector is user name)
Since:
version 1.1.5

getAdminLoginTime

public java.util.Date getAdminLoginTime(java.lang.String user)
Specified by:
getAdminLoginTime in interface com.flowring.manager.ServerEnvironmentManager

getOnlineAdminLoginTime

public java.util.HashMap getOnlineAdminLoginTime()
Specified by:
getOnlineAdminLoginTime in interface com.flowring.manager.ServerEnvironmentManager

isCancelCache

public boolean isCancelCache()
Specified by:
isCancelCache in interface com.flowring.manager.ServerEnvironmentManager

isAutoTruncate

public boolean isAutoTruncate()
Specified by:
isAutoTruncate in interface com.flowring.manager.ServerEnvironmentManager

setAutoTruncate

public void setAutoTruncate(boolean b)
Specified by:
setAutoTruncate in interface com.flowring.manager.ServerEnvironmentManager

setUploadPath

public void setUploadPath(java.lang.String uploadPath)
Specified by:
setUploadPath in interface com.flowring.manager.ServerEnvironmentManager

isLDAPAuthEnabled

public boolean isLDAPAuthEnabled()
Specified by:
isLDAPAuthEnabled in interface com.flowring.manager.ServerEnvironmentManager

isLDAPAuthTestOnStart

public boolean isLDAPAuthTestOnStart()
Specified by:
isLDAPAuthTestOnStart in interface com.flowring.manager.ServerEnvironmentManager

isUseAgentflowAuthAfterLDAPFailed

public boolean isUseAgentflowAuthAfterLDAPFailed()
Specified by:
isUseAgentflowAuthAfterLDAPFailed in interface com.flowring.manager.ServerEnvironmentManager

getAuthMode

public int getAuthMode()
Specified by:
getAuthMode in interface com.flowring.manager.ServerEnvironmentManager

getLDAPAuthConfig

public org.orgchart.PaseAuthLDAPConfigFile getLDAPAuthConfig()
Deprecated. V3.5 by Shihwei AF-1668

Specified by:
getLDAPAuthConfig in interface com.flowring.manager.ServerEnvironmentManager

getLDAPConfigFile

public org.orgchart.LDAPConfigFile getLDAPConfigFile()
Specified by:
getLDAPConfigFile in interface com.flowring.manager.ServerEnvironmentManager
Since:
V3.5

isAuthForceAFDBAuthForAdmin

public boolean isAuthForceAFDBAuthForAdmin()
Specified by:
isAuthForceAFDBAuthForAdmin in interface com.flowring.manager.ServerEnvironmentManager

getReportServerIP

public java.lang.String getReportServerIP()
Get Report Server IP

Specified by:
getReportServerIP in interface com.flowring.manager.ServerEnvironmentManager
Since:
2.2

getReportServerPort

public int getReportServerPort()
Get Report Server Port

Specified by:
getReportServerPort in interface com.flowring.manager.ServerEnvironmentManager
Since:
2.2

getUploadPath

public java.lang.String getUploadPath()
Specified by:
getUploadPath in interface com.flowring.manager.ServerEnvironmentManager

getSetFrontUser

public boolean getSetFrontUser()
Specified by:
getSetFrontUser in interface com.flowring.manager.ServerEnvironmentManager

getEmailNotifyDraftTask

public boolean getEmailNotifyDraftTask()
Description copied from interface: com.flowring.manager.ServerEnvironmentManager
AF-4379 by Kai

Specified by:
getEmailNotifyDraftTask in interface com.flowring.manager.ServerEnvironmentManager

isStartTomcat

public boolean isStartTomcat()
Specified by:
isStartTomcat in interface com.flowring.manager.ServerEnvironmentManager
Returns:
Returns the startTomcat.

setStartTomcat

public void setStartTomcat(boolean startTomcat)
Specified by:
setStartTomcat in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
startTomcat - The startTomcat to set.

getTomcatPath

public java.lang.String getTomcatPath()
Specified by:
getTomcatPath in interface com.flowring.manager.ServerEnvironmentManager
Returns:
Returns the tomcatPath.

setTomcatPath

public void setTomcatPath(java.lang.String tomcatPath)
Specified by:
setTomcatPath in interface com.flowring.manager.ServerEnvironmentManager
Parameters:
tomcatPath - The tomcatPath to set.

getForceCompleteTaskMode

public boolean getForceCompleteTaskMode()
Specified by:
getForceCompleteTaskMode in interface com.flowring.manager.ServerEnvironmentManager

setClientRegistryDao

public void setClientRegistryDao(com.flowring.dao.ClientRegistryDao clientRegistryDao)
Specified by:
setClientRegistryDao in interface com.flowring.dao.ClientRegistryDaoAware

isMailSSL

public boolean isMailSSL()
Specified by:
isMailSSL in interface com.flowring.manager.ServerEnvironmentManager

isMailTLS

public boolean isMailTLS()
Specified by:
isMailTLS in interface com.flowring.manager.ServerEnvironmentManager

getReScheduleInterval

public static int getReScheduleInterval()

isNewAttachFileDirectoryAccess

public static boolean isNewAttachFileDirectoryAccess()

isClusterMode

public boolean isClusterMode()

setClusterMode

public void setClusterMode(boolean clusterMode)

getNodeName

public java.lang.String getNodeName()

setNodeName

public void setNodeName(java.lang.String nodeName)

getServerID

public java.lang.String getServerID()

setServerID

public void setServerID(java.lang.String serverID)

getClusterName

public java.lang.String getClusterName()

setClusterName

public void setClusterName(java.lang.String clusterName)

getIdServerHost

public java.lang.String getIdServerHost()

getIdServerPort

public java.lang.String getIdServerPort()

isStartingQuartzSchedulerOnPASEStartUp

public boolean isStartingQuartzSchedulerOnPASEStartUp()
Specified by:
isStartingQuartzSchedulerOnPASEStartUp in interface com.flowring.manager.ServerEnvironmentManager

getPrivateKeyOfSingleSignOn

public java.lang.String getPrivateKeyOfSingleSignOn()
Specified by:
getPrivateKeyOfSingleSignOn in interface com.flowring.manager.ServerEnvironmentManager
Returns:
private key of Single sign-on.

getIdleUserTimeout

public int getIdleUserTimeout()
Specified by:
getIdleUserTimeout in interface com.flowring.manager.ServerEnvironmentManager

getRemainNumberStartTimeout

public int getRemainNumberStartTimeout()
Specified by:
getRemainNumberStartTimeout in interface com.flowring.manager.ServerEnvironmentManager

removeTimeoutUser

public java.util.Vector removeTimeoutUser()
Specified by:
removeTimeoutUser in interface com.flowring.manager.ServerEnvironmentManager

isEnablePushServer

public boolean isEnablePushServer()
Specified by:
isEnablePushServer in interface com.flowring.manager.ServerEnvironmentManager

getPushServerUrl

public java.lang.String getPushServerUrl()
Specified by:
getPushServerUrl in interface com.flowring.manager.ServerEnvironmentManager

getHostname

public java.lang.String getHostname()
Specified by:
getHostname in interface com.flowring.manager.ServerEnvironmentManager

setHostname

public void setHostname(java.lang.String hostname)
Specified by:
setHostname in interface com.flowring.manager.ServerEnvironmentManager

isUseBASE64AndUTF8EncodeAttachFileName

public static boolean isUseBASE64AndUTF8EncodeAttachFileName()

isSendStartDeputyNotify

public boolean isSendStartDeputyNotify()
Specified by:
isSendStartDeputyNotify in interface com.flowring.manager.ServerEnvironmentManager

isSendStopDeputyNotify

public boolean isSendStopDeputyNotify()
Specified by:
isSendStopDeputyNotify in interface com.flowring.manager.ServerEnvironmentManager

isCurrentTaskExistForPrinting

public boolean isCurrentTaskExistForPrinting()

isAllQueueRulesMatch

public boolean isAllQueueRulesMatch()