public class DefaultFieldScreenManager extends Object implements FieldScreenManager
Constructor and Description |
---|
DefaultFieldScreenManager(FieldScreenStore fieldScreenStore,
com.atlassian.event.api.EventPublisher eventPublisher) |
public DefaultFieldScreenManager(FieldScreenStore fieldScreenStore, com.atlassian.event.api.EventPublisher eventPublisher)
public FieldScreen getFieldScreen(Long id)
getFieldScreen
in interface FieldScreenManager
public Collection<FieldScreen> getFieldScreens()
getFieldScreens
in interface FieldScreenManager
public Collection<FieldScreen> getFieldScreens(String searchQuery)
getFieldScreens
in interface FieldScreenManager
searchQuery
- - search phrase which screen's name or description may containpublic Collection<FieldScreen> getFieldScreens(int startIndex, int count)
getFieldScreens
in interface FieldScreenManager
startIndex
- - index where every screen that has its index lower than startIndex will be discardedcount
- - upper limit of screens to returnpublic Collection<FieldScreen> getFieldScreens(int startIndex, int count, String searchQuery)
getFieldScreens
in interface FieldScreenManager
startIndex
- - index where every screen that matches the search query has its index lower than startIndex will be discardedcount
- - upper limit of screens with matching search query to returnsearchQuery
- - search phrase which screen's name or description may containpublic Collection<FieldScreenTab> getFieldScreenTabs(String fieldId)
getFieldScreenTabs
in interface FieldScreenManager
public void createFieldScreen(FieldScreen fieldScreen)
createFieldScreen
in interface FieldScreenManager
public void removeFieldScreen(Long id)
removeFieldScreen
in interface FieldScreenManager
public void updateFieldScreen(FieldScreen fieldScreen)
updateFieldScreen
in interface FieldScreenManager
public void createFieldScreenTab(FieldScreenTab fieldScreenTab)
createFieldScreenTab
in interface FieldScreenManager
public void updateFieldScreenTab(FieldScreenTab fieldScreenTab)
updateFieldScreenTab
in interface FieldScreenManager
public FieldScreenTab getFieldScreenTab(Long fieldScreenTabId)
getFieldScreenTab
in interface FieldScreenManager
public List<FieldScreenTab> getFieldScreenTabs(FieldScreen fieldScreen)
getFieldScreenTabs
in interface FieldScreenManager
public void createFieldScreenLayoutItem(FieldScreenLayoutItem fieldScreenLayoutItem)
createFieldScreenLayoutItem
in interface FieldScreenManager
public void updateFieldScreenLayoutItem(FieldScreenLayoutItem fieldScreenLayoutItem)
updateFieldScreenLayoutItem
in interface FieldScreenManager
public void removeFieldScreenLayoutItem(FieldScreenLayoutItem fieldScreenLayoutItem)
removeFieldScreenLayoutItem
in interface FieldScreenManager
public void removeFieldScreenLayoutItems(FieldScreenTab fieldScreenTab)
removeFieldScreenLayoutItems
in interface FieldScreenManager
public List<FieldScreenLayoutItem> getFieldScreenLayoutItems(FieldScreenTab fieldScreenTab)
getFieldScreenLayoutItems
in interface FieldScreenManager
public void removeFieldScreenItems(String fieldId)
removeFieldScreenItems
in interface FieldScreenManager
public void refresh()
refresh
in interface FieldScreenManager
public FieldScreenLayoutItem buildNewFieldScreenLayoutItem(String fieldId)
buildNewFieldScreenLayoutItem
in interface FieldScreenManager
public void removeFieldScreenTabs(FieldScreen fieldScreen)
removeFieldScreenTabs
in interface FieldScreenManager
public void removeFieldScreenTab(Long id)
removeFieldScreenTab
in interface FieldScreenManager
public boolean screenNameExists(String name)
screenNameExists
in interface FieldScreenManager
public boolean screenNameOrDescriptionContains(FieldScreen fieldScreen, @Nullable String phrase)
screenNameOrDescriptionContains
in interface FieldScreenManager
fieldScreen
- - field screens on which phrase search will be performedphrase
- - search phrase that field screen's name or description should containCopyright © 2002-2022 Atlassian. All Rights Reserved.