Class: UU::OS::MetaAccessRole::MetaAccessRoleCopy

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.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) code

Code of the new meta access role copy. When nil is set, the code is generated automatically using the system sequence. The code must be unique in the given territory, otherwise the create command fails.



24
25
26
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 24

def code
  @code
end

- (Object) competent_role_uri

UESURI of the competent role. When nil is set, the executive role from authorization is used. If no role is authorized to create the meta access role into specified container, the copy command fails.



33
34
35
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 33

def competent_role_uri
  @competent_role_uri
end

- (Object) copy_attachments

Specifies whether to copy attachements from the source meta access role to the new copy. Default value is false.



59
60
61
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 59

def copy_attachments
  @copy_attachments
end

- (Object) copy_lifecycle

Specifies whether to copy workflow from the source meta access role to the new copy. Default value is false.



55
56
57
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 55

def copy_lifecycle
  @copy_lifecycle
end

- (Object) copy_sheet_templates

Specifies whether to copy sheet templates from the source meta access role to the new copy. Default value is false.



63
64
65
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 63

def copy_sheet_templates
  @copy_sheet_templates
end

- (Object) copy_sheets

Specifies whether to copy content from the source meta access role to the new copy. Default value is false.



51
52
53
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 51

def copy_sheets
  @copy_sheets
end

- (Object) default_artifact_type

Specifies default artifact type of the created artifact according to new meta access role copy. When nil is set, the default artifact type is taken from the source meta artifact.



76
77
78
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 76

def default_artifact_type
  @default_artifact_type
end

- (Object) default_code

Specifies default code of the created access role according to new meta access role copy. When nil is set, the default code is taken from the source meta artifact.



71
72
73
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 71

def default_code
  @default_code
end

- (Object) default_icon_uri

Specifies default icon of the created access role according to new meta access role copy. When nil is set, the default icon is taken from the source meta artifact.

Examples:

Allowed format UESURI of icon:

ues:#{system}:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons}:#{CODE_OF_ICON}

For example:

ues:#{system}:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons}:#{ART_077}


90
91
92
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 90

def default_icon_uri
  @default_icon_uri
end

- (Object) default_name

Specifies default name of the created access role according to new meta access role copy. When nil is set, the default name is taken from the source meta artifact.



67
68
69
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 67

def default_name
  @default_name
end

- (Object) default_searchable_in_territory

Specifies if it is possible to search for the access role created according to the meta access role in its territory. When nil is set, the attribute is taken from the source meta artifact.



95
96
97
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 95

def default_searchable_in_territory
  @default_searchable_in_territory
end

- (Object) default_security_level

Specifies default security level of the created access role according to new meta access role copy. When nil is set, the default security level is taken from the source meta artifact.



81
82
83
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 81

def default_security_level
  @default_security_level
end

- (Object) description

Description of the new meta access role copy. When nil is set, the description is taken from the source meta access role.



28
29
30
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 28

def description
  @description
end

- (Object) icon_uri

URI of the new meta access role's icon. When nil is set, the icon is taken from the source meta artifact.

Examples:

Allowed format UESURI of icon:

ues:#{system}:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons}:#{CODE_OF_ICON}

For example:

ues:#{system}:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons}:#{ART_077}


47
48
49
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 47

def icon_uri
  @icon_uri
end

- (Object) location_uri

UESURI of the meta model dictionary where to the meta access role will be copied. If attribute doesn't refer meta access role, the copy command fails. If the rights does not permit to copy a meta access role from the meta access role in the specified location, the copy command fails. The value must not be nil.



16
17
18
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 16

def location_uri
  @location_uri
end

- (Object) name

Name of the new meta access role copy. The value must not be blank.



19
20
21
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 19

def name
  @name
end

- (Object) security_level

Security level. When nil is set, security level is taken from the source meta access role security level. If the source meta access role security level is higher than the user's security clearance, the copy command fails.



38
39
40
# File 'uu_os_client-0.10.6/lib/uu/os/meta_access_role/meta_access_role_copy.rb', line 38

def security_level
  @security_level
end