Package com.polarion.alm.tracker
Interface IModulePageLayouter
public interface IModulePageLayouter
Module home page layouter.
- Since:
- 3.5
- Author:
- Stepan Roh
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceLayout definition.static classstatic class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns fields that are rendered as content in the layout as, for example, the description.Returns a list of PropertyDescriptiors needed by the layout customization dialog for editing the properties.Returns fields that are rendered in the layout.getSuitableForTypes(String projectId) renderWorkItem(IModulePageLayouter.RenderParameters parameters) Render Work Item using the given layout.Render a template for the newly created Work Items that are used by the editor.
-
Field Details
-
PROPERTY_TYPE_BOOLEAN
- See Also:
-
PROPERTY_TYPE_STRING
- See Also:
-
PROPERTY_TYPE_LIST_OF_FIELDS
- See Also:
-
PROPERTY_FIELDS_AT_START
- See Also:
-
PROPERTY_FIELDS_AT_END
- See Also:
-
PROPERTY_FIELDS_AT_END_AS_TABLE
- See Also:
-
PROPERTY_SIDEBAR_WORK_ITEM_FIELDS
- Since:
- 3.9.1
- See Also:
-
-
Method Details
-
renderWorkItem
Render Work Item using the given layout.- Parameters:
parameters- The rendering parameters.- Returns:
- rendered Work Item (not
null).
-
renderWorkItemTemplate
Render a template for the newly created Work Items that are used by the editor.- Parameters:
parameters- The rendering parameters.- Returns:
- The rendered Work Item template (not
null).
-
getRenderedFieldIds
Returns fields that are rendered in the layout. Returned set contains fields returned bygetContentRenderedFieldIds(IRenderingLayout).- Parameters:
layout-- Returns:
- list of Work Item field IDs (not
null).
-
getContentRenderedFieldIds
@NotNull Set<String> getContentRenderedFieldIds(@NotNull IModulePageLayouter.IRenderingLayout layout) Returns fields that are rendered as content in the layout as, for example, the description. UnlikegetRenderedFieldIds(IRenderingLayout), it does not return Field at Start and Field at End.- Returns:
- set of Work Item field IDs (not
null). - Since:
- 3.8.3
-
getPropertyDescriptors
List<IModulePageLayouter.PropertyDescriptior> getPropertyDescriptors()Returns a list of PropertyDescriptiors needed by the layout customization dialog for editing the properties. The editors for the properties are displayed in the same order that is returned by this method. -
getSuitableForTypes
- Returns:
- list of Work Item types which can be laid out by this layouter in the given project;
nullif it can handle all types. - Since:
- 3.6.3
-