public interface ConfigurationService
Modifier and Type | Method and Description |
---|---|
Integer |
getDefaultEmptyLayout()
Return the default empty layout for a project type
|
Integer |
getDefaultLayout(com.atlassian.jira.project.type.ProjectType projectType)
Return the default layout for a project type
|
Integer |
getLastTaskVersion()
Return the last task executed version
|
java.time.LocalDateTime |
getLastTimeOfAnalytics()
Return the last time when sent information to Google Analytics
|
boolean |
hasCache()
Return if the Profields Cache is in used.
|
boolean |
isFormulaCalculationInProgress()
Return the formula calculation progress
|
boolean |
isPermissionForAll()
Return if all users have permission to administer Profields.
|
boolean |
isPermissionForAnalytics()
Return if Profields has permission to use Analytics
|
void |
removeDefaultLayout(com.atlassian.jira.project.type.ProjectType projectType)
Remove the default layout for a project type
|
void |
setCache(boolean enabled)
Set the cache configuration
|
void |
setDefaultLayout(com.atlassian.jira.project.type.ProjectType projectType,
Integer idLayout)
Set the default layout for a project type
|
void |
setFormulaCalculationInProgress(boolean progress)
Set the formula calculation progress
|
void |
setLastTaskVersion(Integer lastTaskVersion)
Set the last task executed version
|
void |
setLastTimeOfAnalytics(java.time.LocalDateTime date)
Set the last time when sent information to Google Analytics
|
void |
setPermissionForAll(boolean enabled)
Set permission for all users to administer Profields.
|
void |
setPermissionForAnalytics(boolean enabled)
Set permission to use Analytics.
|
boolean isPermissionForAll()
void setPermissionForAll(boolean enabled)
enabled
- the permissionboolean isPermissionForAnalytics()
void setPermissionForAnalytics(boolean enabled)
enabled
- the permission of Analyticsjava.time.LocalDateTime getLastTimeOfAnalytics()
void setLastTimeOfAnalytics(java.time.LocalDateTime date)
date
- the last timeInteger getLastTaskVersion()
void setLastTaskVersion(Integer lastTaskVersion)
lastTaskVersion
- the last task versionInteger getDefaultLayout(com.atlassian.jira.project.type.ProjectType projectType)
projectType
- the project typevoid setDefaultLayout(com.atlassian.jira.project.type.ProjectType projectType, Integer idLayout)
projectType
- the project typeidLayout
- the id of default layoutvoid removeDefaultLayout(com.atlassian.jira.project.type.ProjectType projectType)
projectType
- the project typeInteger getDefaultEmptyLayout()
void setCache(boolean enabled)
enabled
- boolean hasCache()
void setFormulaCalculationInProgress(boolean progress)
progress
- boolean isFormulaCalculationInProgress()
Copyright © 2022 DEISER. All Rights Reserved.