Interface ConfigurationService
public interface ConfigurationService
Configuration service
- 
Method SummaryModifier and TypeMethodDescriptionReturn the default empty layout for a project typegetDefaultLayout(com.atlassian.jira.project.type.ProjectType projectType) Return the default layout for a project typeReturn the last task executed versionReturn the last time when sent information to Google AnalyticsbooleanhasCache()Return if the Profields Cache is in used.booleanReturn if all users have permission to administer Profields.booleanReturn if Profields has permission to use AnalyticsvoidremoveDefaultLayout(com.atlassian.jira.project.type.ProjectType projectType) Remove the default layout for a project typevoidsetCache(boolean enabled) Set the cache configurationvoidsetDefaultLayout(com.atlassian.jira.project.type.ProjectType projectType, Integer idLayout) Set the default layout for a project typevoidsetLastTaskVersion(Integer lastTaskVersion) Set the last task executed versionvoidSet the last time when sent information to Google AnalyticsvoidsetPermissionForAll(boolean enabled) Set permission for all users to administer Profields.voidsetPermissionForAnalytics(boolean enabled) Set permission to use Analytics.
- 
Method Details- 
isPermissionForAllboolean isPermissionForAll()Return if all users have permission to administer Profields.- Returns:
- true if all user have permission
 
- 
setPermissionForAllvoid setPermissionForAll(boolean enabled) Set permission for all users to administer Profields.- Parameters:
- enabled- the permission
 
- 
isPermissionForAnalyticsboolean isPermissionForAnalytics()Return if Profields has permission to use Analytics- Returns:
- true if Profields has permission to use
 
- 
setPermissionForAnalyticsvoid setPermissionForAnalytics(boolean enabled) Set permission to use Analytics.- Parameters:
- enabled- the permission of Analytics
 
- 
getLastTimeOfAnalyticsLocalDateTime getLastTimeOfAnalytics()Return the last time when sent information to Google Analytics- Returns:
- date the last time
 
- 
setLastTimeOfAnalyticsSet the last time when sent information to Google Analytics- Parameters:
- date- the last time
 
- 
getLastTaskVersionInteger getLastTaskVersion()Return the last task executed version- Returns:
- integer the last task version
 
- 
setLastTaskVersionSet the last task executed version- Parameters:
- lastTaskVersion- the last task version
 
- 
getDefaultLayoutReturn the default layout for a project type- Parameters:
- projectType- the project type
- Returns:
- integer the id of default layout
 
- 
setDefaultLayoutSet the default layout for a project type- Parameters:
- projectType- the project type
- idLayout- the id of default layout
 
- 
removeDefaultLayoutvoid removeDefaultLayout(com.atlassian.jira.project.type.ProjectType projectType) Remove the default layout for a project type- Parameters:
- projectType- the project type
 
- 
getDefaultEmptyLayoutInteger getDefaultEmptyLayout()Return the default empty layout for a project type- Returns:
- integer the id of default empty layout
 
- 
setCachevoid setCache(boolean enabled) Set the cache configuration- Parameters:
- enabled-
 
- 
hasCacheboolean hasCache()Return if the Profields Cache is in used.- Returns:
- true or false
 
 
-