Class InboxViewConfig

  • All Implemented Interfaces:
    Serializable

    public class InboxViewConfig
    extends Object
    implements Serializable
    Wraps user-specific settings related to the sort field and order of inbox tables.
    Since:
    8.4.0
    Author:
    XIMA Media GmbH
    See Also:
    Serialized Form
    • Field Detail

      • DFLT_SORT_ASC

        public static final boolean DFLT_SORT_ASC
        default sort order flag
        See Also:
        Constant Field Values
    • Constructor Detail

      • InboxViewConfig

        public InboxViewConfig()
    • Method Detail

      • getMandantId

        public Long getMandantId()
      • setMandantId

        public void setMandantId​(Long mandantId)
      • getProcessViewType

        public String getProcessViewType()
      • setProcessViewType

        public void setProcessViewType​(String processViewType)
      • getProcessViewId

        public Long getProcessViewId()
      • setProcessViewId

        public void setProcessViewId​(Long processViewId)
      • getSortField

        public String getSortField()
      • setSortField

        public void setSortField​(String sortField)
      • isSortAscending

        public boolean isSortAscending()
      • setSortAscending

        public void setSortAscending​(boolean sortAscending)
      • createWithDefaults

        public static InboxViewConfig createWithDefaults​(Long mandantId,
                                                         String viewType,
                                                         Long viewId)
        Factory creating a default configuration for the provided context.
        Parameters:
        mandantId - ID of the current client
        viewType - the type of the view (see de.xima.fc.inbox.enums.EProcessListView)
        viewId - the ID of the related de.xima.fc.inbox.model.ProjectView
        Returns:
        a new configuration instance for the provided context with default values