Package de.xima.fc.inbox.bean
Class ProcessListSortBean
- java.lang.Object
-
- de.xima.fc.inbox.bean.ProcessListSortBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class ProcessListSortBean extends Object implements Serializable
Controller which implicitly applies and stores user-specific 'sort' settings related to the 'extended processes' views of the inbox.- Since:
- 8.4.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessListSortBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.primefaces.model.SortMeta
getExtendedProcessesSortMeta()
Getter for the initial sorting configuration applied to the 'extended processes' inbox table.
-
-
-
Method Detail
-
getExtendedProcessesSortMeta
public org.primefaces.model.SortMeta getExtendedProcessesSortMeta()
Getter for the initial sorting configuration applied to the 'extended processes' inbox table. This configuration is taken from the current user's preferences (seeInboxPreferences.getInboxViewConfigs()
). If no proper configuration can be found in the user profile, a fallback configuration will be created and returned. If this fallback configuration is also not applicable (becauseInboxViewConfig.DFLT_SORT_FIELD
is not configured to be displayed)null
is returned, meaning the table initially won't be sorted.- Returns:
- the sorting configuration, which is
- ...taken from the user profile if present and if the field column is still available, otherwise...
- ...a default configuration using
InboxViewConfig.DFLT_SORT_FIELD
andInboxViewConfig.DFLT_SORT_ASC
if the default field column is available, otherwise... - ...null (no sorting will be applied)
-
-