Interface FieldScreenManager
- All Known Implementing Classes:
DefaultFieldScreenManager
@PublicApi
public interface FieldScreenManager
Copyright (c) 2002-2004
All rights reserved.
-
Method Summary
Modifier and TypeMethodDescriptionbuildNewFieldScreenLayoutItem
(String fieldId) void
createFieldScreen
(FieldScreen fieldScreen) void
createFieldScreenLayoutItem
(FieldScreenLayoutItem fieldScreenLayoutItem) void
createFieldScreenTab
(FieldScreenTab fieldScreenTab) getFieldScreen
(Long id) getFieldScreenLayoutItems
(FieldScreenTab fieldScreenTab) getFieldScreens
(int startIndex, int count) getFieldScreens
(int startIndex, int count, String searchQuery) getFieldScreens
(String searchQuery) getFieldScreenTab
(Long fieldScreenTabId) getFieldScreenTabs
(FieldScreen fieldScreen) getFieldScreenTabs
(String fieldId) void
refresh()
void
void
removeFieldScreenItems
(String fieldId) void
removeFieldScreenLayoutItem
(FieldScreenLayoutItem fieldScreenLayoutItem) void
removeFieldScreenLayoutItems
(FieldScreenTab fieldScreenTab) void
void
removeFieldScreenTabs
(FieldScreen fieldScreen) boolean
screenNameExists
(String name) boolean
screenNameOrDescriptionContains
(FieldScreen fieldScreen, String phrase) default Stream<FieldScreenTab>
streamFieldScreenTabs
(String fieldId) Returns a stream of field screen tabs for the given field id.void
updateFieldScreen
(FieldScreen fieldScreen) void
updateFieldScreenLayoutItem
(FieldScreenLayoutItem fieldScreenLayoutItem) void
updateFieldScreenTab
(FieldScreenTab fieldScreenTab)
-
Method Details
-
getFieldScreen
-
getFieldScreens
Collection<FieldScreen> getFieldScreens() -
getFieldScreens
- Parameters:
searchQuery
- - search phrase which screen's name or description may contain- Returns:
- collection of screens matching the given search phrase
- Since:
- v8.19
-
getFieldScreens
- Parameters:
startIndex
- - index where every screen that has its index lower than startIndex will be discardedcount
- - upper limit of screens to return- Returns:
- collection of screens which index is higher than startIndex, limited to specific amount
- Since:
- v8.19
-
getFieldScreens
@ExperimentalApi Collection<FieldScreen> getFieldScreens(int startIndex, int count, String searchQuery) - Parameters:
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 contain- Returns:
- collection of screens matching the given search phrase and which index is higher than startIndex, limited to specific amount
- Since:
- v8.19
-
getFieldScreenTabs
-
streamFieldScreenTabs
Returns a stream of field screen tabs for the given field id.- Parameters:
fieldId
- - id of the field for which field screen tabs will be returned- Returns:
-
createFieldScreen
-
updateFieldScreen
-
removeFieldScreen
-
createFieldScreenTab
-
updateFieldScreenTab
-
removeFieldScreenTabs
-
removeFieldScreenTab
-
getFieldScreenTabs
-
createFieldScreenLayoutItem
-
updateFieldScreenLayoutItem
-
removeFieldScreenLayoutItem
-
removeFieldScreenLayoutItems
-
getFieldScreenLayoutItems
-
removeFieldScreenItems
-
refresh
void refresh() -
buildNewFieldScreenLayoutItem
-
getFieldScreenTab
-
screenNameExists
-
screenNameOrDescriptionContains
- Parameters:
fieldScreen
- - field screens on which phrase search will be performedphrase
- - search phrase that field screen's name or description should contain- Returns:
- boolean indicating whether search phrase is present in field screen or not
- Since:
- v8.19
-