|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfigurationAdvanced
The RemoteConfigurationAdvanced interface defines the methods to configure advanced setting
of JReport Server via RMI, including user session timeout, viewing report timeout, etc.
| Method Summary | |
|---|---|
int |
getAdminPort()
Deprecated. Since V8.1 replaced by ConfigurationService.getAdminPort(). |
int |
getAdvancedPasswordMinLength()
Get the password minimum length. |
java.lang.String |
getAdvancedPasswordUserDefinedRuleClassName()
Get the advanced password user defined rule class name. |
boolean |
getConnectionKeepAlive()
Gets whether to keep the http connection alive after it has connected to JReport Server. |
boolean |
getEnableJSP()
Deprecated. since version 7, no replacement. |
boolean |
getEnablePublishTempToVersion()
Gets whether to enable the "Publish to Version System" link when on-demand running a report. |
boolean |
getEnableSecurityCheck()
Gets whether to enable security checking in a request. |
java.lang.String |
getEngineDefaultLanguage()
Deprecated. as of version 7, no replacement |
int |
getEnginePriority()
Gets the CPU utilization priority for the engine. |
java.lang.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 |
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. |
boolean |
getScheduleShouldRun()
Deprecated. obsolete method, no replacement |
int |
getTaskDurationCheckPeriod()
Gets the task duration check frequency in seconds. |
int |
getUserSessionTimeout()
Gets the 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 check if the task can finish running in the duration. |
boolean |
isPromptActionQueueFull()
Checks whether to prompt message when a user triggers an action on JReport Viewer but it 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 |
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 |
setAdminPort(int adminPort)
Deprecated. Since V8.1 replaced by ConfigurationService.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(java.lang.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 |
setEnableJSP(boolean enableJSP)
Deprecated. since version 7, no replacement. |
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 the multiple sessions created by one user, which can exist simultaneously. |
void |
setEnablePublishTempToVersion(boolean enablePublishTempToVersion)
Sets to enable the "Publish to Version System" link when on-demand 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 check if the task can finish running in the duration. |
void |
setEngineDefaultLanguage(java.lang.String useLanguage)
Deprecated. as of version 7, no replacement |
void |
setEnginePriority(int enginePriority)
Sets the CPU utilization priority for the engine. |
void |
setLinkedCatalog(java.lang.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 |
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 but it 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 |
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 the task duration check frequency in seconds. |
void |
setUserSessionTimeout(int userSessionTimeout)
Sets the user session timeout. |
void |
setViewReportTimeout(int viewReportTimeout)
Sets the try-view time limit in seconds. |
| Method Detail |
|---|
void setUserSessionTimeout(int userSessionTimeout)
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 will work the same as modifying the value of
server.session.timeout in <install_root>/bin/server.properties.
userSessionTimeout - the user session timeout, unit is second, valid range is
0 to Integer.MAX_VALUE / 1000UserSessionint getUserSessionTimeout()
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 the same as the value of
server.session.timeout in file<install_root>/bin/server.properties.
Integer.MAX_VALUE / 1000UserSessionvoid setViewReportTimeout(int viewReportTimeout)
This method will work the same as modifying the value of
web.timeouts.reoprt_wait in <install_root>/bin/server.properties.
viewReportTimeout - the try-view time limit, unit is second,int getViewReportTimeout()
Returned value is the same as the value of
web.timeouts.report_wait in file<install_root>/bin/server.properties.
void setAdminPort(int adminPort)
ConfigurationService.setAdminPort(int adminPort).
This method will work the same as modifying the value of
httpserver.admin.port in <install_root>/bin/server.properties.
adminPort - the Administration Console port.
java.rmi.RemoteException - if communication-related error occurs during RMI call executionConfigurationService.setAdminPort(int)int getAdminPort()
ConfigurationService.getAdminPort().
Returned value is the same as the value of
httpserver.admin.port in file<install_root>/bin/server.properties.
ConfigurationService.getAdminPort(int)void setReportResultLife(long rptResultLife)
This method will work 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 fileslong getReportResultLife()
Returned value is the same as the value of
resource.result.life in file<install_root>/bin/server.properties.
void setEnginePriority(int enginePriority)
It has 5 levels:
1 - Lowest Priority
2 - Low Priority
3 - Normal Priority
4 - High Priority
5 - Highest Priority
This method will work the same as modifying the value of
engine.priority in <install_root>/bin/server.properties.
enginePriority - the CPU utilization priority for the engine.int getEnginePriority()
It has 5 levels:
1 - Lowest Priority
2 - Low Priority
3 - Normal Priority
4 - High Priority
5 - Highest Priority
Returned value is the same as the value of
engine.priority in file<install_root>/bin/server.properties.
void setEnableJSP(boolean enableJSP)
enableJSP - true to enable JSP to serve http request, otherwise false;boolean getEnableJSP()
true to enable JSP to serve http request, otherwise return false;void setEnableSecurityCheck(boolean enableSecurityCheck)
When setting it 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 will work 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.boolean getEnableSecurityCheck()
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.
void setEnablePublishTempToVersion(boolean enablePublishTempToVersion)
When setting it to true, the "Publish to Version System" link will be shown when on-demand
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 on-demand running.
This method will work 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.boolean getEnablePublishTempToVersion()
When it is true, the "Publish to Version System" link will be shown when on-demand
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 on-demand running.
In non-cluster environment, the returned value is the 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.
void setConnectionKeepAlive(boolean enableKeepAlive)
Setting it to false will disconnect the connection once it has received the response.
This method will work 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.boolean getConnectionKeepAlive()
If it is false, JReport Server will disconnect the connection once it has received the response.
Returned value is the same as the value of
server.connection.keepalive in file<install_root>/bin/server.properties.
false.void setScheduleShouldRun(boolean shouldRun)
shouldRun - true if the schedule will be run while starting up the server if the scheduled time has passed, otherwise false.boolean getScheduleShouldRun()
true if the schedule will be run while starting up the server
if the scheduled time has passed, otherwise false.void setEngineDefaultLanguage(java.lang.String useLanguage)
useLanguage - the language that the engine usesjava.lang.String getEngineDefaultLanguage()
void loadProperties()
In a cluster environment, some settings are stored in the system database.
void setMaxCompletedRecordCount(int maxCompletedRecordCount)
Set the value to 0 if you do not want to limit the record count.
This method will work 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 - maximum number of completed recordsint getMaxCompletedRecordCount()
Returned value 0 means the record count is unlimited.
In non-cluster environment, the returned value is the 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.
boolean isEnableMultipleLogin()
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 returned 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 the same as the value of
server.enableMultipleLogin in file<install_root>/bin/server.properties,
default value is true
true which means to enable creating multiple sessions by the same user simultaneously,
otherwise false.void setEnableMultipleLogin(boolean enableMultipleLogin)
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 will work 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 disableboolean isEnableDynamicResource()
This setting only takes effect in non-cluster environment.
Returned value is the 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 falseSince:
- version 7.1
void setEnableDynamicResource(boolean enableDynamicResource)
This setting only takes effect in non-cluster environment.
This method will work 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.void setEnableDisplayUserPermissionUI(boolean enableDispaly)
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 will work 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.void setEnableDisplayRolePermissionUI(boolean enableDispaly)
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 will work 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.void setEnableDisplayGroupPermissionUI(boolean enableDispaly)
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 will work 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.void setEnableRoleBasedAuthorization(boolean enableRoleBasedAuth)
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 will work 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.boolean isEnableRoleBasedAuthorization()
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 the 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.boolean isEnableDispalyUserPermissionUI()
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 the 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.boolean isEnableDispalyRolePermissionUI()
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 the 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.boolean isEnableDispalyGroupPermissionUI()
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 the 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.int getPermissionAlgorithmType()
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 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 permission calculated result is: Visible, Read, Write, Schedule
If using the permission algorithm type 1, the permissions calculated result is: Schedule.
Returned value is the 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
void setPermissionAlgorithmType(int algorithmType)
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 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 permission calculated result is: Visible, Read, Write, Schedule
If using the permission algorithm type 1, the permissions calculated result is: Schedule.
This method will work 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
boolean isEnableTaskDuration()
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 the 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.void setEnableTaskDuration(boolean enableTaskDuration)
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 will work 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.int getTaskDurationCheckPeriod()
By default, JReport Server checks task duration every 30 seconds.
Returned value is the same as the value of
task.duration.check_cycle in file<install_root>/bin/server.properties,
default value is 30.
void setTaskDurationCheckPeriod(int checkPeriod)
By default, JReport Server checks task duration every 30 seconds. Note that the value must be an integer greater than 0.
This method will work 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.
java.rmi.RemoteException - if communication-related error occurs during RMI call executionboolean isEnableLinkedCatalog()
If it is false as default, the My Reports and the Public Reports folders
cannot inherit the server level linked catalog.
Returned value is the same as the value of
server.resource.enable_linked_catalog in file<install_root>/bin/server.properties,
default value is false (disable the server level linked catalog).
true if linked catalog on the server level is enabled, otherwise return falsevoid setEnableLinkedCatalog(boolean enableLinkedCatalog)
If setting it to false, the My Reports and the Public Reports folders
cannot inherit the server level linked catalog.
This method will work 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 falsejava.lang.String getLinkedCatalog()
The server level linked catalog will be inherited by the My Reports and Public Reports folders, if
isEnableLinkedCatalog() returns true.
Returned value is the same as the value of
server.resource.linked_catalog in file<install_root>/bin/server.properties.
null if not set.void setLinkedCatalog(java.lang.String linkedCatalog)
The server level linked catalog will be inherited by the My Reports and Public Reports folders, if
isEnableLinkedCatalog() returns true.
This method will work the same as modifying the value of
server.resource.linked_catalog in <install_root>/bin/server.properties.
linkedCatalog - the server level linked catalog.boolean isPromptTaskQueueFull()
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 method returns true, a message dialog will
pop up to ask user if he wants to wait or cancel it and try it later.
Returned value is the 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.void setPromptTaskQueueFull(boolean isSet)
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 will work the same as modifying the value of
web.prompt.taskqueue_full in <install_root>/bin/server.properties.
isSet - true to prompt message, otherwise false.boolean isPromptActionQueueFull()
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 returns 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 the user that there
is not room for more actions.
Returned value is the same as the value of
web.prompt.actionqueue_full in file<install_root>/bin/server.properties,
default value is true (prompt message when queue is full).
true to prompt message, otherwise return false.void setPromptActionQueueFull(boolean isSet)
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
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 setting is true, a message box pops up, and simply tells the user that there
is not room for more actions.
This method will work the same as modifying the value of
web.prompt.actionqueue_full in <install_root>/bin/server.properties.
isSet - true to prompt message, otherwise false.void setShowNameWithPostfix(boolean isShowExtengsion)
This method will work the same as modifying the value of
web.page.option.show_name_with_postfix in <install_root>/bin/server.properties.
boolean isShowNameWithPostfix()
Returned value is the 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 to show the file name extensions for
the catalogs and reports, otherwise return false.void setShowNameWithPostfixForWebViewer(boolean isShowExtengsion)
This method will work the same as modifying the value of
web.viewer.option.show_name_with_postfix in <install_root>/bin/server.properties.
boolean isShowNameWithPostfixForWebViewer()
Returned value is the 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 to show the file name extensions for
the catalogs and reports, otherwise return false.boolean isAdvancedPasswordEnabled()
void setAdvancedPasswordEnabled(boolean enabled)
enabled - true means that support advanced password, otherwise don't support.boolean isAdvancedPasswordLimitedMinLength()
void setAdvancedPasswordLimitedMinLength(boolean limitedMinLength)
limitedMinLength - true means that the password length must greater than specified length.int getAdvancedPasswordMinLength()
void setAdvancedPasswordMinLength(int minLength)
minLength - the password minimum lengthboolean isAdvancedPasswordContainsUppercase()
void setAdvancedPasswordContainsUppercase(boolean containsUppercase)
containsUppercase - true means that the password must contain at least one upper case letter.boolean isAdvancedPasswordContainsLowercase()
void setAdvancedPasswordContainsLowercase(boolean containsLowercase)
containsLowercase - true means that the password must contain at least one lower case letter.boolean isAdvancedPasswordContainsNumber()
void setAdvancedPasswordContainsNumber(boolean containsNumber)
containsNumber - true means that the password must contain at least one Number.boolean isAdvancedPasswordContainsSymbols()
void setAdvancedPasswordContainsSymbols(boolean containsSymbols)
containsSymbols - true means that the password must contain at least one character that is not defined as letters ,
numerals and spaces.boolean isAdvancedPasswordUserDefinedRule()
void setAdvancedPasswordUserDefinedRule(boolean userDefinedRule)
userDefinedRule - false means that using JReport Password Rule, true means that using User Defined Password Rule.java.lang.String getAdvancedPasswordUserDefinedRuleClassName()
AdvancedPasswordRule.
The user will supply this implement JAVA class to validate the password.
void setAdvancedPasswordUserDefinedRuleClassName(java.lang.String className)
AdvancedPasswordRule.
The user will supply the implement JAVA class to validate the password.
className - the full class name.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||