DashboardLocation Data Type

An element representing a location in a user's dashboard.

Properties
name data type constraints description
position number required int The list position that the widget resides in
widget Widget   The widget that is in this location in the dashboard.
config string   The config can be used to store any configuration data specific to the user for the widget.
size number required int
Properties inherited from BaseHibernateEntity
id number   The unique internal ID of the object.
version number   For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from BaseEntity
violations array of SimpleViolation   A list of constraint violations, if any, that this object has.

Example

{
  "position" : 12345,
  "widget" : {
    "weight" : 12345,
    "description" : "...",
    "name" : "...",
    "code" : "...",
    "permission" : "...",
    "type" : "...",
    "viewPath" : "...",
    "small" : true,
    "medium" : true,
    "large" : true,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "config" : "...",
  "size" : 12345,
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}