Class InboxViewConfig

java.lang.Object
de.xima.fc.mdl.profile.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:
  • Field Details

    • DFLT_SORT_FIELD

      public static final String DFLT_SORT_FIELD
      default field to be used for sorting
      See Also:
    • DFLT_SORT_ASC

      public static final boolean DFLT_SORT_ASC
      default sort order flag
      See Also:
  • Constructor Details

    • InboxViewConfig

      public InboxViewConfig()
  • Method Details

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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