Package com.avoka.fc.core.bean
Class UserAdminPrefs
- java.lang.Object
-
- com.avoka.fc.core.bean.UserAdminPrefs
-
- All Implemented Interfaces:
Serializable
public class UserAdminPrefs extends Object implements Serializable
Provides the User Admin Console portal preferences.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_MAX_TABLE_ROWS
The default maximum number of table rows.static String
DEFAULT_SEARCH_FILTER_START_DATE
The default search filter start date.
-
Constructor Summary
Constructors Constructor Description UserAdminPrefs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRecentFormId(Long formId)
Add a recently accessed form Id.void
addRecentServiceId(Long serviceId)
Add a recently accessed form Id.Long
getComposerPublishClientId()
Return the Composer Publishing Client ID filter.String
getGroovyScript()
Gets the groovy script.Map<String,String>
getGroovyScriptParameters()
Gets the groovy script parameters.Map<String,String>
getGroovyScriptParameterTypes()
Gets the groovy script parameter types.int
getGroovyScriptTimeout()
int
getMaxTableRows()
Gets the max table rows.String
getPortalPageViewParams()
Gets the portal page view params.String
getQueryJson(String crdId)
Returns the query JSON String used by the Reference DataMap<String,String>
getQueryJsonMap()
Gets the query JSON map.List<Long>
getRecentFormIds()
Return the list of recently accessed form IDs.List<Long>
getRecentServiceIds()
Return the list of recently accessed service IDs.String
getSearchFilerStartDate()
Return the search filter start date.Boolean
getShowPerfStats()
Return true if should show performance statistics.void
restoreDefaults()
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 Detail
-
DEFAULT_MAX_TABLE_ROWS
public static final int DEFAULT_MAX_TABLE_ROWS
The default maximum number of table rows.- See Also:
- Constant Field Values
-
DEFAULT_SEARCH_FILTER_START_DATE
public static final String DEFAULT_SEARCH_FILTER_START_DATE
The default search filter start date.- See Also:
- Constant Field Values
-
-
Method Detail
-
getComposerPublishClientId
public Long getComposerPublishClientId()
Return the Composer Publishing Client ID filter.- Returns:
- the composerPublishClientId
- Since:
- 4.1.3
-
setComposerPublishClientId
public void setComposerPublishClientId(Long composerPublishClientId)
Set the Composer Publishing Client ID filter.- Parameters:
composerPublishClientId
- the composerPublishClientId to set- Since:
- 4.1.3
-
getGroovyScript
public String getGroovyScript()
Gets the groovy script.- Returns:
- the Groovy Script
-
setGroovyScript
public void setGroovyScript(String value)
Set the groovy script.- Parameters:
value
- the Groovy Script to set
-
getGroovyScriptParameters
public Map<String,String> getGroovyScriptParameters()
Gets the groovy script parameters.- Returns:
- the groovyScriptParameters
-
setGroovyScriptParameters
public void setGroovyScriptParameters(Map<String,String> groovyScriptParameters)
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
public String getPortalPageViewParams()
Gets the portal page view params.- Returns:
- the portalPageViewParams
-
setPortalPageViewParams
public void setPortalPageViewParams(String portalPageViewParams)
Sets the portal page view params.- Parameters:
portalPageViewParams
- the portalPageViewParams to set
-
getSearchFilerStartDate
public String getSearchFilerStartDate()
Return the search filter start date.- Returns:
- the search filter start date
-
setSearchFilerStartDate
public void setSearchFilerStartDate(String searchFilerStartDate)
Set the search filter start date.- Parameters:
searchFilerStartDate
- the search filter start date
-
getRecentFormIds
public List<Long> getRecentFormIds()
Return the list of recently accessed form IDs.- Returns:
- the list of recently accessed form IDs
-
setRecentFormIds
public void setRecentFormIds(List<Long> recentFormIds)
Set the list of recently accessed form IDs.- Parameters:
recentFormIds
- the list of recently accessed form IDs
-
addRecentFormId
public void addRecentFormId(Long formId)
Add a recently accessed form Id.- Parameters:
formId
- recently accessed form Id
-
getRecentServiceIds
public List<Long> getRecentServiceIds()
Return the list of recently accessed service IDs.- Returns:
- the list of recently accessed service IDs
- Since:
- 5.0.0
-
setRecentServiceIds
public void setRecentServiceIds(List<Long> recentServiceIds)
Set the list of recently accessed service IDs.- Parameters:
recentServiceIds
- the list of recently accessed service IDs- Since:
- 5.0.0
-
addRecentServiceId
public void addRecentServiceId(Long serviceId)
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
public Map<String,String> getGroovyScriptParameterTypes()
Gets the groovy script parameter types.- Returns:
- the groovyScriptParameterTypes
-
setGroovyScriptParameterTypes
public void setGroovyScriptParameterTypes(Map<String,String> groovyScriptParameterTypes)
Sets the groovy script parameter types.- Parameters:
groovyScriptParameterTypes
- the groovyScriptParameterTypes to set
-
getQueryJson
public String getQueryJson(String crdId)
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
public void setQueryJson(String crdId, String queryJson)
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
public Map<String,String> getQueryJsonMap()
Gets the query JSON map.- Returns:
- the query JSON map
-
setQueryJsonMap
public void setQueryJsonMap(Map<String,String> queryJsonMap)
Sets the query JSON map.- Parameters:
queryJsonMap
- the query JSON map to set
-
getShowPerfStats
public Boolean getShowPerfStats()
Return true if should show performance statistics.- Returns:
- true if should show performance statistics
- Since:
- 18.5.0
-
setShowPerfStats
public void setShowPerfStats(Boolean value)
Set show performance statistics.- Parameters:
value
- set whether to show performance stats- Since:
- 18.5.0
-
-