All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netgrif.application.engine.settings.domain.Preferences Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
package com.netgrif.application.engine.settings.domain;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * User application preferences. Contains:
 * 
    *
  • locale
  • *
  • task filters for each task view
  • *
  • case filters for each case view
  • *
  • case view flex fields
  • *
*/ @Document @Data @NoArgsConstructor public class Preferences implements Serializable { @Id private String userId; private String locale; private int drawerWidth; /** * taskViewId: [filterIds] */ @Field private Map> taskFilters = new HashMap<>(); /** * caseViewId: [filterIds] */ @Field private Map> caseFilters = new HashMap<>(); /** * caseViewId: [headersIds] */ @Field private Map> headers = new HashMap<>(); public Preferences(String userId) { this.userId = userId; this.drawerWidth = 200; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy