Class 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 Detail

      • ProcessListSortBean

        public ProcessListSortBean()
    • 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 (see InboxPreferences.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 (because InboxViewConfig.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
        1. ...taken from the user profile if present and if the field column is still available, otherwise...
        2. ...a default configuration using InboxViewConfig.DFLT_SORT_FIELD and InboxViewConfig.DFLT_SORT_ASC if the default field column is available, otherwise...
        3. ...null (no sorting will be applied)