Package com.avoka.fc.core.bean
Class UserAdminPrefs
java.lang.Object
com.avoka.fc.core.bean.UserAdminPrefs
- All Implemented Interfaces:
Serializable
Provides the User Admin Console portal preferences.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The default maximum number of table rows.static final String
The default search filter start date. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRecentFormId
(Long formId) Add a recently accessed form Id.void
addRecentServiceId
(Long serviceId) Add a recently accessed form Id.Return the Composer Publishing Client ID filter.Gets the groovy script.Gets the groovy script parameters.Gets the groovy script parameter types.int
int
Gets the max table rows.Gets the portal page view params.getQueryJson
(String crdId) Returns the query JSON String used by the Reference DataGets the query JSON map.Return the list of recently accessed form IDs.Return the list of recently accessed service IDs.Return the search filter start date.Return true if should show performance statistics.void
Restore the default preference values.void
setComposerPublishClientId
(Long composerPublishClientId) Set the Composer Publishing Client ID filter.void
setGroovyScript
(String value) Set the groovy script.void
setGroovyScriptParameters
(Map<String, String> groovyScriptParameters) Sets the groovy script parameters.void
setGroovyScriptParameterTypes
(Map<String, String> groovyScriptParameterTypes) Sets the groovy script parameter types.void
setGroovyScriptTimeout
(int groovyScriptTimeout) void
setMaxTableRows
(int maxTableRows) Set the max display table rows.void
setPortalPageViewParams
(String portalPageViewParams) Sets the portal page view params.void
setQueryJson
(String crdId, String queryJson) Sets the query JSON String used by the Reference Datavoid
setQueryJsonMap
(Map<String, String> queryJsonMap) Sets the query JSON map.void
setRecentFormIds
(List<Long> recentFormIds) Set the list of recently accessed form IDs.void
setRecentServiceIds
(List<Long> recentServiceIds) Set the list of recently accessed service IDs.void
setSearchFilerStartDate
(String searchFilerStartDate) Set the search filter start date.void
setShowPerfStats
(Boolean value) Set show performance statistics.
-
Field Details
-
DEFAULT_MAX_TABLE_ROWS
public static final int DEFAULT_MAX_TABLE_ROWSThe default maximum number of table rows.- See Also:
-
DEFAULT_SEARCH_FILTER_START_DATE
The default search filter start date.- See Also:
-
-
Constructor Details
-
UserAdminPrefs
public UserAdminPrefs()
-
-
Method Details
-
getComposerPublishClientId
Return the Composer Publishing Client ID filter.- Returns:
- the composerPublishClientId
- Since:
- 4.1.3
-
setComposerPublishClientId
Set the Composer Publishing Client ID filter.- Parameters:
composerPublishClientId
- the composerPublishClientId to set- Since:
- 4.1.3
-
getGroovyScript
Gets the groovy script.- Returns:
- the Groovy Script
-
setGroovyScript
Set the groovy script.- Parameters:
value
- the Groovy Script to set
-
getGroovyScriptParameters
Gets the groovy script parameters.- Returns:
- the groovyScriptParameters
-
setGroovyScriptParameters
Sets the groovy script parameters.- Parameters:
groovyScriptParameters
- the groovyScriptParameters to set
-
getGroovyScriptTimeout
public int getGroovyScriptTimeout()- Returns:
- the groovyScriptTimeout
-
setGroovyScriptTimeout
public void setGroovyScriptTimeout(int groovyScriptTimeout) - Parameters:
groovyScriptTimeout
- the groovyScriptTimeout to set
-
getMaxTableRows
public int getMaxTableRows()Gets the max table rows.- Returns:
- the max display table rows
-
setMaxTableRows
public void setMaxTableRows(int maxTableRows) Set the max display table rows.- Parameters:
maxTableRows
- the max display table rows
-
getPortalPageViewParams
Gets the portal page view params.- Returns:
- the portalPageViewParams
-
setPortalPageViewParams
Sets the portal page view params.- Parameters:
portalPageViewParams
- the portalPageViewParams to set
-
getSearchFilerStartDate
Return the search filter start date.- Returns:
- the search filter start date
-
setSearchFilerStartDate
Set the search filter start date.- Parameters:
searchFilerStartDate
- the search filter start date
-
getRecentFormIds
Return the list of recently accessed form IDs.- Returns:
- the list of recently accessed form IDs
-
setRecentFormIds
Set the list of recently accessed form IDs.- Parameters:
recentFormIds
- the list of recently accessed form IDs
-
addRecentFormId
Add a recently accessed form Id.- Parameters:
formId
- recently accessed form Id
-
getRecentServiceIds
Return the list of recently accessed service IDs.- Returns:
- the list of recently accessed service IDs
- Since:
- 5.0.0
-
setRecentServiceIds
Set the list of recently accessed service IDs.- Parameters:
recentServiceIds
- the list of recently accessed service IDs- Since:
- 5.0.0
-
addRecentServiceId
Add a recently accessed form Id.- Parameters:
serviceId
- recently accessed service Id- Since:
- 5.0.0
-
restoreDefaults
public void restoreDefaults()Restore the default preference values. -
getGroovyScriptParameterTypes
Gets the groovy script parameter types.- Returns:
- the groovyScriptParameterTypes
-
setGroovyScriptParameterTypes
Sets the groovy script parameter types.- Parameters:
groovyScriptParameterTypes
- the groovyScriptParameterTypes to set
-
getQueryJson
Returns the query JSON String used by the Reference Data- Parameters:
crdId
- the ClientRefData.id- Returns:
- the query JSON String
- Since:
- 17.10.0
-
setQueryJson
Sets the query JSON String used by the Reference Data- Parameters:
crdId
- the ClientRefData.idqueryJson
- the query JSON String associated with the Client Ref Data- Since:
- 17.10.0
-
getQueryJsonMap
Gets the query JSON map.- Returns:
- the query JSON map
-
setQueryJsonMap
Sets the query JSON map.- Parameters:
queryJsonMap
- the query JSON map to set
-
getShowPerfStats
Return true if should show performance statistics.- Returns:
- true if should show performance statistics
- Since:
- 18.5.0
-
setShowPerfStats
Set show performance statistics.- Parameters:
value
- set whether to show performance stats- Since:
- 18.5.0
-