Class: UU::OS::Widget::WidgetAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb

Overview

See Also:

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from REST::DTO

#initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from UU::OS::REST::DTO

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO

Instance Attribute Details

- (Object) code

The code of the widget. Never nil.



14
15
16
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 14

def code
  @code
end

- (Object) company_uri

Deprecated.


18
19
20
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 18

def company_uri
  @company_uri
end

- (Object) competent_role_uri

UESURI of the competent for widget.



21
22
23
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 21

def competent_role_uri
  @competent_role_uri
end

- (Object) controller_url_path

Path at which the widget's controller is deployed.



66
67
68
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 66

def controller_url_path
  @controller_url_path
end

- (Object) creation_stamp

The creation stamp of the widget. Never nil.



24
25
26
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 24

def creation_stamp
  @creation_stamp
end

- (Object) creation_time

The creation time of the widget. Never nil.



27
28
29
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 27

def creation_time
  @creation_time
end

- (Object) description

The description of the widget. Never nil.



30
31
32
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 30

def description
  @description
end

- (Object) editor_available

Describes whether the widget will be in the list of available widgets in editor. Never nil.



72
73
74
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 72

def editor_available
  @editor_available
end

- (Object) entity_type_uri

UESURI of the entity type of the widget (@see cz.ues.platform.sysc.entitytype.UESEntityType for more info). Never nil.



33
34
35
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 33

def entity_type_uri
  @entity_type_uri
end

- (Object) height

Default height of the widget in content.



81
82
83
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 81

def height
  @height
end

- (Object) icon_uri

UESURI of the widget's icon. When nil is set, the widget uses icon from meta artifact.



36
37
38
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 36

def icon_uri
  @icon_uri
end

- (Object) location_uri

UESURI of the widget's container.



39
40
41
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 39

def location_uri
  @location_uri
end

- (Object) meta_artifact_uri

UESURI of the meta artifact. Never nil.



42
43
44
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 42

def meta_artifact_uri
  @meta_artifact_uri
end

- (Object) modification_stamp

The modification time of the widget. Never nil.



45
46
47
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 45

def modification_stamp
  @modification_stamp
end

- (Object) modification_time

The modification stamp of the widget. Never nil.



48
49
50
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 48

def modification_time
  @modification_time
end

- (Object) name

The name of the widget. Never nil.



51
52
53
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 51

def name
  @name
end

- (Object) organizational_unit_uri

UESURI of the organizational unit in which the widget lies.



57
58
59
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 57

def organizational_unit_uri
  @organizational_unit_uri
end

- (Object) placeholder_height

Height of the widget placeholder in editor. It is defined for widgets for which it is not possible to set width and height.



87
88
89
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 87

def placeholder_height
  @placeholder_height
end

- (Object) placeholder_image

Placeholder image of the widget in editor.



75
76
77
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 75

def placeholder_image
  @placeholder_image
end

- (Object) placeholder_width

Width of the widget placeholder in editor. It is defined for widgets for which it is not possible to set width and height.



84
85
86
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 84

def placeholder_width
  @placeholder_width
end

- (Object) security_level

Security level of the widget. Never nil.



60
61
62
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 60

def security_level
  @security_level
end

- (Object) trusted

Describes whether the widget will by inserted into the HTML directly or in the iframe.



69
70
71
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 69

def trusted
  @trusted
end

- (Object) uri

The normalized UESURI of the widget. Never nil.



54
55
56
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 54

def uri
  @uri
end

- (Object) version

Version of the widget. Never nil.



63
64
65
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 63

def version
  @version
end

- (Object) width

Default width of the widget in content.



78
79
80
# File 'uu_os-0.29.16/lib/uu/os/widget/widget_attributes.rb', line 78

def width
  @width
end