public interface RemoteConfigurationAdvanced extends Remote
RemoteConfigurationAdvanced interface defines methods to configure advanced setting
of JReport Server via RMI, including user session timeout, view report timeout, etc.
This is an RMI-based interface, invocation on the method of this interface will bring an RMI call on the associated JReport Server.| Modifier and Type | Method and Description |
|---|---|
int |
getAccountLockDuration()
get the account lock duration(in minutes)
|
int |
getAdminPort()
Deprecated.
Since V8.1 replaced by
RemoteConfigurationService.getAdminPort(). |
int |
getAdvancedPasswordMinLength()
Get the password minimum length.
|
String |
getAdvancedPasswordUserDefinedRuleClassName()
Get the advanced password user defined rule class name.
|
boolean |
getConnectionKeepAlive()
Gets to keep the http connection alive after it has connected to JReport Server.
|
boolean |
getEnableExposeMyFolders()
Gets setting that if administrator user can access other user's my folders (My Reports, My Components).
|
boolean |
getEnablePublishTempToVersion()
Gets whether to enable the "Publish to Version System" link when ondemand running a report.
|
boolean |
getEnableSecurityCheck()
Gets whether to enable security checking in a request.
|
String |
getEngineDefaultLanguage()
Deprecated.
as of version 7, no replacement
|
int |
getEnginePriority()
Gets the CPU utilization priority for the engine.
|
int |
getHeartbeatTimeout()
Gets heartbeat timeout.
|
String |
getLinkedCatalog()
Gets the linked catalog defined on the server level.
|
int |
getMaxCompletedRecordCount()
Gets the maximum number of completed records that will be kept in the Completed table.
|
int |
getMaxLoginAttepmt()
get the maximum times of login attempt
|
int |
getMaxParameterValuesSize()
get the maximum size of parameter value list for bind column parameter
|
int |
getPermissionAlgorithmType()
Gets the server permission check algorithm.
|
long |
getReportResultLife()
Gets the time length for the temporary report result files to be kept in JReport Server temporary
folder after they have been generated.
|
int |
getScheduleExecutionTimeout()
get the schedule task execution timeout
|
boolean |
getScheduleShouldRun()
Deprecated.
obsolete method, no replacement
|
int |
getTaskDurationCheckPeriod()
Gets task duration check frequency in seconds.
|
int |
getUserSessionTimeout()
Gets user session timeout.
|
int |
getViewReportTimeout()
Gets the try-view time limit in seconds.
|
boolean |
isAdvancedPasswordContainsLowercase()
Check whether the password must contain at least one lower case letter.
|
boolean |
isAdvancedPasswordContainsNumber()
Check whether the password must contain at least one Number.
|
boolean |
isAdvancedPasswordContainsSymbols()
Check whether the password must contain at least one character that is not defined as letters , numerals and
spaces.
|
boolean |
isAdvancedPasswordContainsUppercase()
Check whether the password must contain at least one upper case letter.
|
boolean |
isAdvancedPasswordEnabled()
Check whether to support advanced password.
|
boolean |
isAdvancedPasswordLimitedMinLength()
Check whether the password length must greater than specified length.
|
boolean |
isAdvancedPasswordUserDefinedRule()
Check whether using user defined advanced password rule.
|
boolean |
isEnableDispalyGroupPermissionUI()
Indicates whether to display group permissions setting in the permission setting UI.
|
boolean |
isEnableDispalyRolePermissionUI()
Indicates whether to display role permissions setting in the permission setting UI.
|
boolean |
isEnableDispalyUserPermissionUI()
Indicates whether to display user permissions setting in the permission setting UI.
|
boolean |
isEnableDynamicResource()
Gets whether to enable getting server resources from their real disk paths.
|
boolean |
isEnableLinkedCatalog()
Gets whether to pre-define a linked catalog on the server level for the My Reports and
Public Reports folders to inherit.
|
boolean |
isEnableMultipleLogin()
Gets the multiple sessions created by one user, which can exist simultaneously.
|
boolean |
isEnableRoleBasedAuthorization()
Indicates whether to activate the role based security in replace of the default applied security
of setting permissions for users, groups and roles.
|
boolean |
isEnableTaskDuration()
Gets whether to enable setting a time duration for a task and checks if the task can finish running
in the duration.
|
boolean |
isEnableUniqueScheduleName()
Gets whether to enable all schedule names on this server must be unique.
|
boolean |
isPromptActionQueueFull()
Checks whether to prompt message when a user triggers an action on JReport Viewer which cannot be started immediately.
|
boolean |
isPromptTaskQueueFull()
Checks whether to prompt message when a user wants to run a report via web UI but the report task cannot be immediately started.
|
boolean |
isRunMisfiredSchedule()
get whether run task when a schedule defined as repeatedly run is misfired.
|
boolean |
isShowNameWithPostfix()
Gets whether to show the file name extensions for the catalog and report files
on JReport Console web UI.
|
boolean |
isShowNameWithPostfixForWebViewer()
Gets whether to show the file name extensions for the catalog and report files
on Web Viewer(Web Report Studio, Page Report Studio, JDashboard).
|
void |
loadProperties()
Loads JReport Server settings from <reporthome>/bin/server.properties.
|
void |
setAccountLockDuration(int minutes)
set the account lock duration(in minutes)
|
void |
setAdminPort(int adminPort)
Deprecated.
Since V8.1 replaced by
RemoteConfigurationService.setAdminPort(int adminPort). |
void |
setAdvancedPasswordContainsLowercase(boolean containsLowercase)
Set whether the password must contain at least one lower case letter.
|
void |
setAdvancedPasswordContainsNumber(boolean containsNumber)
Set whether the password must contain at least one Number.
|
void |
setAdvancedPasswordContainsSymbols(boolean containsSymbols)
Set whether the password must contain at least one character that is not defined as letters , numerals and
spaces.
|
void |
setAdvancedPasswordContainsUppercase(boolean containsUppercase)
Set whether the password must contain at least one upper case letter.
|
void |
setAdvancedPasswordEnabled(boolean enabled)
Set whether to support advanced password.
|
void |
setAdvancedPasswordLimitedMinLength(boolean limitedMinLength)
Set whether the password length must greater than specified length.
|
void |
setAdvancedPasswordMinLength(int minLength)
Set the password minimum length.
|
void |
setAdvancedPasswordUserDefinedRule(boolean userDefinedRule)
Set whether using user defined advanced password rule.
|
void |
setAdvancedPasswordUserDefinedRuleClassName(String className)
Set the advanced password user defined rule class name.
|
void |
setConnectionKeepAlive(boolean enableKeepAlive)
Sets to keep the http connection alive after it has connected to JReport Server.
|
void |
setEnableDisplayGroupPermissionUI(boolean enableDispaly)
Sets whether to display group permissions setting in the permission setting UI.
|
void |
setEnableDisplayRolePermissionUI(boolean enableDispaly)
Sets whether to display role permissions setting in the permission setting UI.
|
void |
setEnableDisplayUserPermissionUI(boolean enableDispaly)
Sets whether to display user permissions setting in the permission setting UI.
|
void |
setEnableDynamicResource(boolean enableDynamicResource)
Sets whether to enable getting server resources from their real disk paths.
|
void |
setEnableExposeMyFolders(boolean enableExpose)
Set if administrator user can access other user's my folders (My Reports, My Components).
|
void |
setEnableLinkedCatalog(boolean enableLinkedCatalog)
Sets whether to pre-define a linked catalog on the server level for the My Reports and
Public Reports folders to inherit.
|
void |
setEnableMultipleLogin(boolean enableMultipleLogin)
Sets that multiple sessions created by one user, which can exist simultaneously.
|
void |
setEnablePublishTempToVersion(boolean enablePublishTempToVersion)
Sets whether to enable the "Publish to Version System" link when ondemand running a report.
|
void |
setEnableRoleBasedAuthorization(boolean enableRoleBasedAuth)
Sets whether to activate the role based security in replace of the default applied security
of setting permissions for users, groups and roles.
|
void |
setEnableSecurityCheck(boolean enableSecurityCheck)
Sets whether to enable security checking in a request.
|
void |
setEnableTaskDuration(boolean enableTaskDuration)
Sets whether to enable setting a time duration for a task and checks if the task can finish running
in the duration.
|
void |
setEnableUniqueScheduleName(boolean enableUniqueScheduleName)
Sets whether enable all schedule names on this server must be unique.
|
void |
setEngineDefaultLanguage(String useLanguage)
Deprecated.
as of version 7, no replacement
|
void |
setEnginePriority(int enginePriority)
Sets the CPU utilization priority for the engine.
|
void |
setHeartbeatTimeout(int heartbeatTimeout)
Sets Heartbeat timeout.
|
void |
setLinkedCatalog(String linkedCatalog)
Sets the linked catalog on the server level.
|
void |
setMaxCompletedRecordCount(int maxCompletedRecordCount)
Sets the maximum number of completed records that will be kept in the Completed table.
|
void |
setMaxLoginAttepmt(int times)
set the allow maximum login attempt
|
void |
setMaxParameterValuesSize(int size)
set the maximum size of parameter value list for bin column parameter
|
void |
setPermissionAlgorithmType(int algorithmType)
Sets the server permission check algorithm.
|
void |
setPromptActionQueueFull(boolean isSet)
Sets whether to prompt message when a user triggers an action on JReport Viewer which cannot be started immediately.
|
void |
setPromptTaskQueueFull(boolean isSet)
Sets whether to prompt message when a user wants to run a report via web UI but the report task cannot be immediately started.
|
void |
setReportResultLife(long rptResultLife)
Sets the time length for the temporary report result files to be kept in JReport Server temporary
folder after they have been generated.
|
void |
setRunMisfiredSchedule(boolean isRun)
set whether run task when a schedule defined as repeatedly run is misfired
|
void |
setScheduleExecutionTimeout(int timeout)
set the schedule task execution timeout
|
void |
setScheduleShouldRun(boolean shouldRun)
Deprecated.
obsolete method, no replacement
|
void |
setShowNameWithPostfix(boolean isShowExtengsion)
Specifies whether to show the file name extensions for the catalogs and reports
on JReport Console & JReport Administration web UI.
|
void |
setShowNameWithPostfixForWebViewer(boolean isShowExtengsion)
Specifies whether to show the file name extensions for the catalogs and reports
on Web Viewer(Web Report Studio, Page Report Studio, JDashboard).
|
void |
setTaskDurationCheckPeriod(int checkPeriod)
Sets task duration check frequency in seconds.
|
void |
setUserSessionTimeout(int userSessionTimeout)
Sets user session timeout.
|
void |
setViewReportTimeout(int viewReportTimeout)
Sets the try-view time limit in seconds.
|
void setUserSessionTimeout(int userSessionTimeout)
throws RemoteException
A user session will be created when a client logs in JReport Server via http. User session timeout is used to define an interval. If the client associated with a user session does not access JReport Server within the interval, this user session is expired.
This method works the same as modifying the value of
server.session.timeout in <install_root>/bin/server.properties.
userSessionTimeout - user session timeout in seconds. The valid range is
0 to Integer.MAX_VALUE / 1000RemoteException - if communication-related error occurs during RMI call executionUserSessionint getUserSessionTimeout()
throws RemoteException
A user session will be created when a client logs in JReport Server via http. User session timeout is used to define an interval. If the client associated with a user session does not access JReport Server within the interval, this user session is expired.
Returned value is same as the value of
server.session.timeout in file<install_root>/bin/server.properties.
Integer.MAX_VALUE / 1000RemoteException - if communication-related error occurs during RMI call executionUserSessionvoid setViewReportTimeout(int viewReportTimeout)
throws RemoteException
This method works the same as modifying the value of
web.timeouts.reoprt_wait in <install_root>/bin/server.properties.
viewReportTimeout - the try-view time limit in secondsRemoteException - if communication-related error occurs during RMI call executionint getViewReportTimeout()
throws RemoteException
Returned value is same as the value of
web.timeouts.report_wait in file<install_root>/bin/server.properties.
RemoteException - if communication-related error occurs during RMI call executionvoid setAdminPort(int adminPort)
throws RemoteException
RemoteConfigurationService.setAdminPort(int adminPort).This method works the same as modifying the value of
httpserver.admin.port in <install_root>/bin/server.properties.
adminPort - the Administration Console port.RemoteException - if communication-related error occurs during RMI call executionRemoteConfigurationService.setAdminPort(int)int getAdminPort()
throws RemoteException
RemoteConfigurationService.getAdminPort().Returned value is same as the value of
httpserver.admin.port in file<install_root>/bin/server.properties.
RemoteException - if communication-related error occurs during RMI call executionRemoteConfigurationService.getAdminPort(int)void setReportResultLife(long rptResultLife)
throws RemoteException
This method works the same as modifying the value of
resource.result.life in <install_root>/bin/server.properties.
rptResultLife - the time length for keeping the temporary report result filesRemoteException - if communication-related error occurs during RMI call executionlong getReportResultLife()
throws RemoteException
Returned value is same as the value of
resource.result.life in file<install_root>/bin/server.properties.
RemoteException - if communication-related error occurs during RMI call executionvoid setEnginePriority(int enginePriority)
throws RemoteException
It has 5 levels:
1 - Lowest Priority
2 - Low Priority
3 - Normal Priority
4 - High Priority
5 - Highest Priority
This method works the same as modifying the value of
engine.priority in <install_root>/bin/server.properties.
enginePriority - the CPU utilization priority for the engine.RemoteException - if communication-related error occurs during RMI call executionint getEnginePriority()
throws RemoteException
It has 5 levels:
1 - Lowest Priority
2 - Low Priority
3 - Normal Priority
4 - High Priority
5 - Highest Priority
Returned value is same as the value of
engine.priority in file<install_root>/bin/server.properties.
RemoteException - if communication-related error occurs during RMI call executionvoid setEnableSecurityCheck(boolean enableSecurityCheck)
throws RemoteException
When it is set to false, JReport Server will respond a request without any security
check, no user name required, no permission check, etc. Default value is true.
This method works the same as modifying the value of
server.security in <install_root>/bin/server.properties in
non-cluster environment, and it will be stored in the system database in a cluster environment.
enableSecurityCheck - whether to enable security checking, true means to enable.RemoteException - if communication-related error occurs during RMI call executionboolean getEnableSecurityCheck()
throws RemoteException
When the returned value is false, JReport Server will respond a request without any security
check, no user name required, no permission check, etc.
In non-cluster environment, the returned value is same as the value of
server.security in file<install_root>/bin/server.properties, and in a
cluster environment, it will be stored in the system database.
RemoteException - if communication-related error occurs during RMI call executionvoid setEnableExposeMyFolders(boolean enableExpose)
throws RemoteException
This method will work the same as modifying the value of
server.security.expose_my_folders in <install_root>/bin/server.properties in
non-cluster environment, and it will be stored in the system database in a cluster environment.
enableExpose - whether administrator user can access other user's my folders, true means to enable.RemoteException - if communication-related error occurs during RMI call executionboolean getEnableExposeMyFolders()
throws RemoteException
In non-cluster environment, the returned value is same as the value of
server.security.expose_my_folders in file<install_root>/bin/server.properties, and in a
cluster environment, it will be stored in the system database.
true if administrator user can access other user's my folders, otherwise return falseRemoteException - if communication-related error occurs during RMI call executionvoid setEnablePublishTempToVersion(boolean enablePublishTempToVersion)
throws RemoteException
When it is set to true, "Publish to Version System" link will be shown when ondemand
running a report (except running as dhtml/studio). after clicking this link, JReport Server
will add a result version into the resource system by using the result of the ondemand running.
This method works the same as modifying the value of
server.version.from.temp in <install_root>/bin/server.properties in
non-cluster environment, and it will be stored in the system database in a cluster environment.
enablePublishTempToVersion - whether to enable publishing to version system when viewing a report.RemoteException - if communication-related error occurs during RMI call executionboolean getEnablePublishTempToVersion()
throws RemoteException
When it is true, "Publish to Version System" link will be shown when ondemand
running a report (except running as dhtml/studio). After clicking this link, JReport Server
will add a result version into the resource system by using the result of the ondemand running.
In non-cluster environment, the returned value is same as the value of
server.version.from.temp in file<install_root>/bin/server.properties, and in a
cluster environment, it will be stored in the system database.
RemoteException - if communication-related error occurs during RMI call executionvoid setConnectionKeepAlive(boolean enableKeepAlive)
throws RemoteException
Setting it to false will disconnect the connection once it has received the response.
This method works the same as modifying the value of
server.connection.keepalive in <install_root>/bin/server.properties.
enableKeepAlive - true if you want to keep the connection alive, otherwise false.RemoteException - if communication-related error occurs during RMI call executionboolean getConnectionKeepAlive()
throws RemoteException
If it is false, JReport Server will disconnect the connection once it has received the response.
Returned value is same as the value of
server.connection.keepalive in file<install_root>/bin/server.properties.
false.RemoteException - if communication-related error occurs during RMI call executionvoid setScheduleShouldRun(boolean shouldRun)
throws RemoteException
shouldRun - true if it will run the schedule while starting up the server if the scheduled time has passed, otherwise false.RemoteException - if communication-related error occurs during RMI call executionboolean getScheduleShouldRun()
throws RemoteException
true if it will run the schedule while starting up the server
if the scheduled time has passed, otherwise false.RemoteException - if communication-related error occurs during RMI call executionvoid setEngineDefaultLanguage(String useLanguage) throws RemoteException
useLanguage - the language engine usesRemoteException - if communication-related error occurs during RMI call executionString getEngineDefaultLanguage() throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionvoid loadProperties()
throws RemoteException
In a cluster environment, some settings are stored in the system database.
RemoteException - if communication-related error occurs during RMI call executionvoid setMaxCompletedRecordCount(int maxCompletedRecordCount)
throws RemoteException
Set the value to 0 if you do not want to limit the record count.
This method works the same as modifying the value of
server.completed.max_count in <install_root>/bin/server.properties in
non-cluster environment, and it will be stored in the system database in a cluster environment.
maxCompletedRecordCount - the maximum number of completed recordsRemoteException - if communication-related error occurs during RMI call executionint getMaxCompletedRecordCount()
throws RemoteException
Returned value 0 means the record count is unlimited.
In non-cluster environment, the returned value is same as the value of
server.completed.max_count in file<install_root>/bin/server.properties, and in a
cluster environment, it will be stored in the system database.
Default value is 3000.
RemoteException - if communication-related error occurs during RMI call executionboolean isEnableMultipleLogin()
throws RemoteException
If the returned value is true, a user can log onto JReport Server repeatedly
without having to terminate any of his/her former sessions until the number of sessions reaches the number
permitted by the license.
If the return value is false, only the newly created session is active, and all the other former sessions
created by the same user will be terminated by JReport Server automatically.
Returned value is same as the value of
server.enableMultipleLogin in file<install_root>/bin/server.properties,
default value is true
true means to enable creating multiple sessions by the same user simultaneously,
otherwise false.RemoteException - if communication-related error occurs during RMI call executionvoid setEnableMultipleLogin(boolean enableMultipleLogin)
throws RemoteException
If the enableMultipleLogin is true, a user can log onto JReport Server repeatedly
without having to terminate any of his/her former sessions until the number of sessions reaches the number
permitted by the license.
If the value is false, only the newly created session is active, and all the other former sessions
created by the same user will be terminated by JReport Server automatically.
This method works the same as modifying the value of
server.enableMultipleLogin in <install_root>/bin/server.properties.
enableMultipleLogin - true to enable creating multiple sessions by the same user simultaneously,
false to disableRemoteException - if communication-related error occurs during RMI call executionboolean isEnableDynamicResource()
throws RemoteException
This setting only takes effect in non-cluster environment.
Returned value is same as the value of
server.enableDynamicResource in file<install_root>/bin/server.properties,
default value is false (disable).
true if getting server resources from real paths is enabled, otherwise return false
- Throws:
RemoteException - if communication-related error occurs during RMI call execution
- Since:
- version 7.1
void setEnableDynamicResource(boolean enableDynamicResource)
throws RemoteException
This setting only takes effect in non-cluster environment.
This method works the same as modifying the value of
server.enableDynamicResource in <install_root>/bin/server.properties.
enableDynamicResource - true means to enable getting server resources from their
real disk paths, otherwise false.RemoteException - if communication-related error occurs during RMI call executionvoid setEnableDisplayUserPermissionUI(boolean enableDispaly)
throws RemoteException
Specifies whether to display user permissions in the permission setting UI for the server resource tree node and Version Properties, and the Scheduling to Version and Advanced Run dialogs.
This method works the same as modifying the value of
server.ui.set_permission.user in <install_root>/bin/server.properties.
enableDispaly - true to display user permission setting in UI, otherwise false.RemoteException - if communication-related error occurs during RMI call executionvoid setEnableDisplayRolePermissionUI(boolean enableDispaly)
throws RemoteException
Specifies whether to display role permissions in the permission setting UI for the server resource tree node and Version Properties, and the Scheduling to Version and Advanced Run dialogs.
This method works the same as modifying the value of
server.ui.set_permission.role in <install_root>/bin/server.properties.
enableDispaly - true to display role permission setting in UI, otherwise false.RemoteException - if communication-related error occurs during RMI call executionvoid setEnableDisplayGroupPermissionUI(boolean enableDispaly)
throws RemoteException
Specifies whether to display group permissions in the permission setting UI for the server resource tree node and Version Properties, and the Scheduling to Version and Advanced Run dialogs.
This method works the same as modifying the value of
server.ui.set_permission.group in <install_root>/bin/server.properties.
enableDispaly - true to display group permission setting in UI, otherwise false.RemoteException - if communication-related error occurs during RMI call executionvoid setEnableRoleBasedAuthorization(boolean enableRoleBasedAuth)
throws RemoteException
In the role based security, permissions are defined on roles only, and users and groups are mapped to roles. Only permissions defined on roles take effect when checking permission, and only permissions set to roles will apply when setting permission.
This method works the same as modifying the value of
server.rolebased.authorization in <install_root>/bin/server.properties.
enableRoleBasedAuth - true to activate role based security, otherwise false.RemoteException - if communication-related error occurs during RMI call executionboolean isEnableRoleBasedAuthorization()
throws RemoteException
In the role based security, permissions are defined on roles only, and users and groups are mapped to roles. Only permissions defined on roles take effect when checking permission, and only permissions set to roles will apply when setting permission.
Returned value is same as the value of
server.rolebased.authorization in file<install_root>/bin/server.properties,
default value is false (hide).
true means to activate role based security, otherwise return false.RemoteException - if communication-related error occurs during RMI call executionboolean isEnableDispalyUserPermissionUI()
throws RemoteException
Indicates whether to display user permissions in the permission setting UI for the server resource tree node and Version Properties, and the Scheduling to Version and Advanced Run dialogs.
Returned value is same as the value of
server.ui.set_permission.user in file<install_root>/bin/server.properties,
default value is false (hide).
true means to display user permission setting in UI, otherwise return false.RemoteException - if communication-related error occurs during RMI call executionboolean isEnableDispalyRolePermissionUI()
throws RemoteException
Indicates whether to display role permissions in the permission setting UI for the server resource tree node and Version Properties, and the Scheduling to Version and Advanced Run dialogs.
Returned value is same as the value of
server.ui.set_permission.role in file<install_root>/bin/server.properties,
default value is true (display).
true means to display role permission setting in UI, otherwise return false.RemoteException - if communication-related error occurs during RMI call executionboolean isEnableDispalyGroupPermissionUI()
throws RemoteException
Indicates whether to display group permissions in the permission setting UI for the server resource tree node and Version Properties, and the Scheduling to Version and Advanced Run dialogs.
Returned value is same as the value of
server.ui.set_permission.group in file<install_root>/bin/server.properties,
default value is false (hide).
true means to display group permission setting in UI, otherwise return false.RemoteException - if communication-related error occurs during RMI call executionint getPermissionAlgorithmType()
throws RemoteException
There are two kinds of algorithm types:
Type 0: The Permission Accumulation Algorithm: Like the algorithm name,
the permission algorithm will accumulate all permissions into the user permission
according to the user's inheritance relationship.
Type 1: The User Permission Replacement Algorithm: Like the algorithm name,
when the administrator sets some permissions on a user, the user permissions will replace
the permissions calculated by inheritance relationship.
For example: There is a user named Sam and he is the member of the group DP.
The principal's permission settings: The user Sam - Schedule, The group DP - Visible, Read, Write
If using the permission algorithm type 0, the permissions calculated result is: Visible, Read, Write, Schedule
If using the permission algorithm type 1, the permissions calculated result is: Schedule.
Returned value is same as the value of
server.permission.algorithm in file<install_root>/bin/server.properties,
default value is 0 (The Permission Accumulation Algorithm).
0: The Permission Accumulation Algorithm.
1: The User Permission Replacement Algorithm
RemoteException - if communication-related error occurs during RMI call executionvoid setPermissionAlgorithmType(int algorithmType)
throws RemoteException
There are two kinds of algorithm types:
Type 0: The Permission Accumulation Algorithm: Like the algorithm name,
the permission algorithm will accumulate all permissions into the user permission
according to the user's inheritance relationship.
Type 1: The User Permission Replacement Algorithm: Like the algorithm name,
when the administrator sets some permissions on a user, the user permissions will replace
the permissions calculated by inheritance relationship.
For example: There is a user named Sam and he is the member of the group DP.
The principal's permission settings: The user Sam - Schedule, The group DP - Visible, Read, Write
If using the permission algorithm type 0, the permissions calculated result is: Visible, Read, Write, Schedule
If using the permission algorithm type 1, the permissions calculated result is: Schedule.
This method works the same as modifying the value of
server.permission.algorithm in <install_root>/bin/server.properties.
algorithmType - 0: The Permission Accumulation Algorithm.
1: The User Permission Replacement Algorithm
RemoteException - if communication-related error occurs during RMI call executionboolean isEnableTaskDuration()
throws RemoteException
Specifies whether to enable setting a time duration for a task and asking JReport Server to cancel the task or to notify you or someone else of the task status via e-mail if the task has not yet finished running when the task duration is up.
If the value is set to true, the Duration tab will be available in the Advanced Run and Schedule dialogs on UI.
Returned value is same as the value of
task.duration.enable in file<install_root>/bin/server.properties,
default value is false (disable task duration check).
true if task duration check is enabled, otherwise return false.RemoteException - if communication-related error occurs during RMI call executionvoid setEnableTaskDuration(boolean enableTaskDuration)
throws RemoteException
Specifies whether to enable setting a time duration for a task and asking JReport Server to cancel the task or to notify you or someone else of the task status via e-mail if the task has not yet finished running when the task duration is up.
If the value is set to true, the Duration tab will be available in the Advanced Run and Schedule dialogs on UI.
This method works the same as modifying the value of
task.duration.enable in <install_root>/bin/server.properties.
enableTaskDuration - true to enable task duration check, false to disable it.RemoteException - if communication-related error occurs during RMI call executionint getTaskDurationCheckPeriod()
throws RemoteException
By default, JReport Server checks task duration every 30 seconds.
Returned value is same as the value of
task.duration.check_cycle in file<install_root>/bin/server.properties,
default value is 30.
RemoteException - if communication-related error occurs during RMI call executionvoid setTaskDurationCheckPeriod(int checkPeriod)
throws RemoteException
By default, JReport Server checks task duration every 30 seconds. Note that the value must be an integer greater than 0.
This method works the same as modifying the value of
task.duration.check_cycle in <install_root>/bin/server.properties.
checkPeriod - the task duration check period, in seconds.RemoteException - if communication-related error occurs during RMI call executionboolean isEnableLinkedCatalog()
throws RemoteException
If it is false as default, the My Reports and the Public Reports folders
cannot inherit server level linked catalog.
Returned value is same as the value of
server.resource.enable_linked_catalog in file<install_root>/bin/server.properties,
default value is false (disable server level linked catalog).
true if linked catalog on the server level is enabled, otherwise return falseRemoteException - if communication-related error occurs during RMI call executionvoid setEnableLinkedCatalog(boolean enableLinkedCatalog)
throws RemoteException
If it is set to false, the My Reports and the Public Reports folders
cannot inherit server level linked catalog.
This method works the same as modifying the value of
task.duration.enable in <install_root>/bin/server.properties.
enableLinkedCatalog - true to enable linked catalog on the server level, otherwise falseRemoteException - if communication-related error occurs during RMI call executionString getLinkedCatalog() throws RemoteException
The server level linked catalog will be inherited by the My Reports and Public Reports folders, if
isEnableLinkedCatalog() returns true.
Returned value is same as the value of
server.resource.linked_catalog in file<install_root>/bin/server.properties.
null if it is not set.RemoteException - if communication-related error occurs during RMI call executionvoid setLinkedCatalog(String linkedCatalog) throws RemoteException
The server level linked catalog will be inherited by the My Reports and Public Reports folders, if
isEnableLinkedCatalog() returns true.
This method works the same as modifying the value of
server.resource.linked_catalog in <install_root>/bin/server.properties.
linkedCatalog - the server level linked catalog.RemoteException - if communication-related error occurs during RMI call executionboolean isPromptTaskQueueFull()
throws RemoteException
If a user triggered a report task (by directly clicking or using advance run), which cannot
be immediately started (because server running queue is 100% full or because the normal queue is full
or because the server accelerated queue still has room but such task is not qualified enough to be put into the server
accelerated queue), if this method returns true, a message dialog will
pop up to ask the user if he wants to wait or cancel it and try it later.
Returned value is same as the value of
web.prompt.taskqueue_full in file<install_root>/bin/server.properties,
default value is true (prompt message when the queue is full).
true to prompt message, otherwise return false.RemoteException - if communication-related error occurs during RMI call executionvoid setPromptTaskQueueFull(boolean isSet)
throws RemoteException
If a user triggered a report task (by directly clicking or using advance run), which cannot
be immediately started (because the server running queue is 100% full or because the normal queue is full
or because the server accelerated queue still has room but such task is not qualified enough to be put into the server
accelerated queue), if this setting is true, a message dialog will pop up to ask the user if
he wants to wait or cancel it and try it later
This method works the same as modifying the value of
web.prompt.taskqueue_full in <install_root>/bin/server.properties.
isSet - true to prompt message, otherwise false.RemoteException - if communication-related error occurs during RMI call executionboolean isPromptActionQueueFull()
throws RemoteException
For JReport Viewer, there are two different scenarios, although both resulted action cannot be started immediately, but we should treat them differently.
One action cannot be started immediately because some other actions are running and the new action will be put into
JReport Viewer waiting queue. If this method return true, a message box pops up and asks
the user if he wants to wait or cancel it and try it later.
The other action cannot be started immediately because JReport Viewer queue is totally full, and no more actions can
be put into it. If this method returns true, a message box pops up, and simply tells user that there
is not room for more actions
Returned value is same as the value of
web.prompt.actionqueue_full in file<install_root>/bin/server.properties,
default value is true (prompt message when the queue is full).
true to prompt message, otherwise return false.RemoteException - if communication-related error occurs during RMI call executionvoid setPromptActionQueueFull(boolean isSet)
throws RemoteException
For JReport Viewer, there are two different scenarios, although both resulted action cannot be started immediately, but we should treat them differently.
One action cannot be started immediately because some other actions are running and the new action will be put into
JReport Viewer waiting queue. If this setting is true, a message box pops up and asks
user if he wants to wait or cancel it and try it later.
The other action cannot be started immediately because JReport Viewer queue is totally full, and no more actions can
be put into it. If this setting is true, a message box pops up, and simply tells user that there
is not room for more actions
This method works the same as modifying the value of
web.prompt.actionqueue_full in <install_root>/bin/server.properties.
isSet - true to prompt message, otherwise false.RemoteException - if communication-related error occurs during RMI call executionvoid setShowNameWithPostfix(boolean isShowExtengsion)
throws RemoteException
This method works the same as modifying the value of
web.page.option.show_name_with_postfix in <install_root>/bin/server.properties.
RemoteException - if communication-related error occurs during RMI call executionboolean isShowNameWithPostfix()
throws RemoteException
Returned value is same as the value of
web.page.option.show_name_with_postfix in file<install_root>/bin/server.properties,
default value is true (show postfix).
true if the file name extensions for
the catalogs and reports are shown, otherwise return false.RemoteException - if communication-related error occurs during RMI call executionvoid setShowNameWithPostfixForWebViewer(boolean isShowExtengsion)
throws RemoteException
This method works the same as modifying the value of
web.viewer.option.show_name_with_postfix in <install_root>/bin/server.properties.
RemoteException - if communication-related error occurs during RMI call executionboolean isShowNameWithPostfixForWebViewer()
throws RemoteException
Returned value is same as the value of
web.viewer.option.show_name_with_postfix in file<install_root>/bin/server.properties,
default value is true (show postfix).
true if the file name extensions for
the catalogs and reports are shown, otherwise return false.RemoteException - if communication-related error occurs during RMI call executionboolean isAdvancedPasswordEnabled()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionvoid setAdvancedPasswordEnabled(boolean enabled)
throws RemoteException
enabled - true means that support advanced password, otherwise don't support.RemoteException - if communication-related error occurs during RMI call executionboolean isAdvancedPasswordLimitedMinLength()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionvoid setAdvancedPasswordLimitedMinLength(boolean limitedMinLength)
throws RemoteException
limitedMinLength - true means that the password length must greater than specified length.RemoteException - if communication-related error occurs during RMI call executionint getAdvancedPasswordMinLength()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionvoid setAdvancedPasswordMinLength(int minLength)
throws RemoteException
minLength - the password minimum lengthRemoteException - if communication-related error occurs during RMI call executionboolean isAdvancedPasswordContainsUppercase()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionvoid setAdvancedPasswordContainsUppercase(boolean containsUppercase)
throws RemoteException
containsUppercase - true means that the password must contain at least one upper case letter.RemoteException - if communication-related error occurs during RMI call executionboolean isAdvancedPasswordContainsLowercase()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionvoid setAdvancedPasswordContainsLowercase(boolean containsLowercase)
throws RemoteException
containsLowercase - true means that the password must contain at least one lower case letter.RemoteException - if communication-related error occurs during RMI call executionboolean isAdvancedPasswordContainsNumber()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionvoid setAdvancedPasswordContainsNumber(boolean containsNumber)
throws RemoteException
containsNumber - true means that the password must contain at least one Number.RemoteException - if communication-related error occurs during RMI call executionboolean isAdvancedPasswordContainsSymbols()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionvoid setAdvancedPasswordContainsSymbols(boolean containsSymbols)
throws RemoteException
containsSymbols - true means that the password must contain at least one character that is not defined as letters ,
numerals and spaces.RemoteException - if communication-related error occurs during RMI call executionboolean isAdvancedPasswordUserDefinedRule()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionvoid setAdvancedPasswordUserDefinedRule(boolean userDefinedRule)
throws RemoteException
userDefinedRule - false means that using JReport Password Rule, true means that using User Defined Password Rule.RemoteException - if communication-related error occurs during RMI call executionString getAdvancedPasswordUserDefinedRuleClassName() throws RemoteException
AdvancedPasswordRule.
The user will supply this implement JAVA class to validate the password.
RemoteException - if communication-related error occurs during RMI call executionvoid setAdvancedPasswordUserDefinedRuleClassName(String className) throws RemoteException
AdvancedPasswordRule.
The user will supply the implement JAVA class to validate the password.
className - the full class name.RemoteException - if communication-related error occurs during RMI call executionint getMaxParameterValuesSize()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionvoid setMaxParameterValuesSize(int size)
throws RemoteException
size - maximum size of parameter value listRemoteException - if communication-related error occurs during RMI call executionint getMaxLoginAttepmt()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionvoid setMaxLoginAttepmt(int times)
throws RemoteException
size - maximum times of login attemptRemoteException - if communication-related error occurs during RMI call executionint getAccountLockDuration()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionvoid setAccountLockDuration(int minutes)
throws RemoteException
the - account lock duration(in minutes)RemoteException - if communication-related error occurs during RMI call executionvoid setScheduleExecutionTimeout(int timeout)
throws RemoteException
the - schedule task execution timeoutRemoteException - if communication-related error occurs during RMI call executionint getScheduleExecutionTimeout()
throws RemoteException
RemoteException - if communication-related error occurs during RMI call executionboolean isRunMisfiredSchedule()
throws RemoteException
trueRemoteException - if communication-related error occurs during RMI call executionvoid setRunMisfiredSchedule(boolean isRun)
throws RemoteException
run - task of misfired schedule if isRun is trueRemoteException - if communication-related error occurs during RMI call executionboolean isEnableUniqueScheduleName()
throws RemoteException
Returned value is the same as the value of
server.enable.unique_schedule_names in file<install_root>/bin/server.properties,
default value is false (disable).
true all schedule names on this server must be unique, otherwise return false
- Throws:
RemoteException
- Since:
- version 23.4.1
void setEnableUniqueScheduleName(boolean enableUniqueScheduleName)
throws RemoteException
If setting it to true, all schedule names on this server must be unique
If setting it to false, schedules that can have duplicate names
This method will work the same as modifying the value of
server.enable.unique_schedule_names in <install_root>/bin/server.properties.
enableUniqueScheduleName - true to enable all schedule names on this server must be unique, otherwise falseRemoteExceptionvoid setHeartbeatTimeout(int heartbeatTimeout)
throws RemoteException
Heartbeat timeout is used to define an max interval in client. If the client associated with a running report or dashboard does not has any behavior within the interval, this heartebat is stopped.
This method works the same as modifying the value of
server.heartbeat.timeout in <install_root>/bin/server.properties.
heartbeatTimeout - heartbeat timeout in seconds. The valid range is
0 to Integer.MAX_VALUE / 1000RemoteException - if communication-related error occurs during RMI call executionint getHeartbeatTimeout()
throws RemoteException
Heartbeat timeout is used to define an max interval in client. If the client associated with a running report or dashboard does not has any behavior within the interval, this heartebat is stopped.
This method works the same as modifying the value of
server.heartbeat.timeout in <install_root>/bin/server.properties.
Integer.MAX_VALUE / 1000RemoteException - if communication-related error occurs during RMI call execution© insightsoftware. All rights reserved.