Class: UU::OS::PersonalRole::ProfileAttributes

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

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) bookmarks_location_uri

Location of user bookmarks. The location is a Folder or Organizational Unit of the same territory as the Personal Role, or it is not set at all.



65
66
67
# File 'uu_os-0.29.16/lib/uu/os/personal_role/profile_attributes.rb', line 65

def bookmarks_location_uri
  @bookmarks_location_uri
end

- (Object) bookmarks_to_navigator

Enables or disables the automatic saving of links to artifacts in the navigator. Setting this attribute may not have any effect if the UC for adding bookmark to navigator is not available for given personal role.



80
81
82
# File 'uu_os-0.29.16/lib/uu/os/personal_role/profile_attributes.rb', line 80

def bookmarks_to_navigator
  @bookmarks_to_navigator
end

- (Object) experimental_features_enabled

User experimental features enabled. Boolean which enables or disables experimental features. Never nil.



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

def experimental_features_enabled
  @experimental_features_enabled
end

- (Object) global_login_enabled

Specifies whether the user global login is enabled. Never nil.



68
69
70
# File 'uu_os-0.29.16/lib/uu/os/personal_role/profile_attributes.rb', line 68

def 
  @global_login_enabled
end

- (Object) language

User language. The language is in the ISO 639-1 format, for example: en, cs, es, ru, sk. Never nil.



12
13
14
# File 'uu_os-0.29.16/lib/uu/os/personal_role/profile_attributes.rb', line 12

def language
  @language
end

- (Object) my_artifact_uri

Normalized UESURI of the personal role's artifact. Never nil.



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

def my_artifact_uri
  @my_artifact_uri
end

- (Object) my_role_uri

Normalized UESURI of the personal role. Never nil.



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

def my_role_uri
  @my_role_uri
end

- (Object) my_territory_uri

Normalized UESURI of the territory the personal role is contained in. Never nil.



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

def my_territory_uri
  @my_territory_uri
end

- (Object) my_workspace_uri

Normalized UESURI of the personal role's workspace folder. Never nil.



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

def my_workspace_uri
  @my_workspace_uri
end

- (Object) notifications_email

User notifications email. The notifications email, for example: email@email.com.



15
16
17
# File 'uu_os-0.29.16/lib/uu/os/personal_role/profile_attributes.rb', line 15

def notifications_email
  @notifications_email
end

- (Object) notifications_rule

User notifications rule. The notifications rule, acceptable values: OFF, NEW_ACTIVITIES, UNREAD_ACTIVITIES, (CUSTOM). Never nil.



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

def notifications_rule
  @notifications_rule
end

- (Object) portlets

List of portlets displayed in the portlet area. The value is an array of portlet codes defined in PersonalRolePortlet. An empty position with no portlet is specified by a nil value. Example: ["NAVIGATION", "NEW_ACTIVITIES", nil, "TABLE_OF_CONTENTS"]. The maximum allowed number of portlets (array size) is 5. Never nil.



71
72
73
# File 'uu_os-0.29.16/lib/uu/os/personal_role/profile_attributes.rb', line 71

def portlets
  @portlets
end

- (Object) portlets_mobile_mode

Specifies whether the portlet area is displayed on mobile devices. If set to DEFAULT, then the portlet area will be displayed on mobile devices according to the portlets_mode.



77
78
79
# File 'uu_os-0.29.16/lib/uu/os/personal_role/profile_attributes.rb', line 77

def portlets_mobile_mode
  @portlets_mobile_mode
end

- (Object) portlets_mode

Specifies whether the portlet area is displayed. Never nil.



74
75
76
# File 'uu_os-0.29.16/lib/uu/os/personal_role/profile_attributes.rb', line 74

def portlets_mode
  @portlets_mode
end

- (Object) preferred_access_role_uri

Normalized UESURI of the access role in the preferred territory. It is the access role of the user identified by the personal role. Nil when no preferred territory is set for the personal role.



47
48
49
# File 'uu_os-0.29.16/lib/uu/os/personal_role/profile_attributes.rb', line 47

def preferred_access_role_uri
  @preferred_access_role_uri
end

- (Object) preferred_artifact_uri

Normalized UESURI of the preferred role's artifact in the preferred territory. Those are the preferred territory and the preferred role of the user identified by the personal role. Nil when no preferred territory is set for the personal role or no preferred role is set in the territory.



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

def preferred_artifact_uri
  @preferred_artifact_uri
end

- (Object) preferred_role_uri

Normalized UESURI of the preferred role in the preferred territory. Those are the preferred territory and the preferred role of the user identified by the personal role. Nil when no preferred territory is set for the personal role or no preferred role is set in the territory.



52
53
54
# File 'uu_os-0.29.16/lib/uu/os/personal_role/profile_attributes.rb', line 52

def preferred_role_uri
  @preferred_role_uri
end

- (Object) preferred_territory_uri

Normalized UESURI of the preferred territory. It is the preferred territory of the user identified by the personal role. Nil when no preferred territory is set for the personal role.



43
44
45
# File 'uu_os-0.29.16/lib/uu/os/personal_role/profile_attributes.rb', line 43

def preferred_territory_uri
  @preferred_territory_uri
end

- (Object) preferred_workspace_uri

Normalized UESURI of the preferred role's workspace folder in the preferred territory. Those are the preferred territory and the preferred role of the user identified by the personal role. Nil when no preferred territory is set for the personal role or no preferred role is set in the territory.



62
63
64
# File 'uu_os-0.29.16/lib/uu/os/personal_role/profile_attributes.rb', line 62

def preferred_workspace_uri
  @preferred_workspace_uri
end

- (Object) responsive_content_enabled

User responsive content enabled. Boolean which enables or disables showing responsive content.



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

def responsive_content_enabled
  @responsive_content_enabled
end

- (Object) responsive_layout_enabled

User responsive layout enabled. Boolean which enables or disables showing responsive layout.



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

def responsive_layout_enabled
  @responsive_layout_enabled
end