Package de.xima.fc.mdl.profile
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDFLT_SORT_ASCdefault sort order flagstatic StringDFLT_SORT_FIELDdefault field to be used for sorting
-
Constructor Summary
Constructors Constructor Description InboxViewConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InboxViewConfigcreateWithDefaults(Long mandantId, String viewType, Long viewId)Factory creating a default configuration for the provided context.LonggetMandantId()LonggetProcessViewId()StringgetProcessViewType()StringgetSortField()booleanisSortAscending()voidsetMandantId(Long mandantId)voidsetProcessViewId(Long processViewId)voidsetProcessViewType(String processViewType)voidsetSortAscending(boolean sortAscending)voidsetSortField(String sortField)StringtoString()
-
-
-
Field Detail
-
DFLT_SORT_FIELD
public static final String DFLT_SORT_FIELD
default field to be used for sorting- See Also:
- Constant Field Values
-
DFLT_SORT_ASC
public static final boolean DFLT_SORT_ASC
default sort order flag- See Also:
- Constant Field Values
-
-
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 clientviewType- the type of the view (seede.xima.fc.inbox.enums.EProcessListView)viewId- the ID of the relatedde.xima.fc.inbox.model.ProjectView- Returns:
- a new configuration instance for the provided context with default values
-
-