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 boolean
DFLT_SORT_ASC
default sort order flagstatic String
DFLT_SORT_FIELD
default 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 InboxViewConfig
createWithDefaults(Long mandantId, String viewType, Long viewId)
Factory creating a default configuration for the provided context.Long
getMandantId()
Long
getProcessViewId()
String
getProcessViewType()
String
getSortField()
boolean
isSortAscending()
void
setMandantId(Long mandantId)
void
setProcessViewId(Long processViewId)
void
setProcessViewType(String processViewType)
void
setSortAscending(boolean sortAscending)
void
setSortField(String sortField)
String
toString()
-
-
-
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
-
-