WidgetDashboard Data Type

An element representing which dashboards a widget may belong to.

Properties
name data type constraints description
widget Widget   The widget that is in the dashboard
defaultWidget boolean required boolean Whether the widget is a default widget, if the user has no settings
defaultPosition number required int The list position that the widget resides in
defaultSize number required int
Properties inherited from WidgetDashboardAbstract
widget Widget  
dashboard Dashboard  
defaultPosition number required int
defaultSize 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

{
  "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" : "..."
    } ]
  },
  "defaultWidget" : true,
  "defaultPosition" : 12345,
  "defaultSize" : 12345,
  "dashboard" : {
    "name" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}