Class: UU::OS::MetaGroup::MetaGroupCopy
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::MetaGroup::MetaGroupCopy
- Defined in:
- uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb
Instance Attribute Summary (collapse)
-
- (Object) code
Code of the new meta group copy.
-
- (Object) competent_role_uri
UESURI of the competent role.
-
- (Object) copy_attachments
Specifies whether to copy attachements from the source meta group to the new copy.
-
- (Object) copy_lifecycle
Specifies whether to copy workflow from the source meta group to the new copy.
-
- (Object) copy_sheet_templates
Specifies whether to copy sheet templates from the source meta group to the new copy.
-
- (Object) copy_sheets
Specifies whether to copy content from the source meta group to the new copy.
-
- (Object) default_artifact_type
Specifies default artifact type of the created artifact according to new meta group copy.
-
- (Object) default_code
Specifies default code of the created group according to new meta group copy.
-
- (Object) default_icon_uri
Specifies default icon of the created group according to new meta group copy.
-
- (Object) default_name
Specifies default name of the created group according to new meta group copy.
-
- (Object) default_searchable_in_territory
Specifies if it is possible to search for the group created according to the meta group in its territory.
-
- (Object) default_security_level
Specifies default security level of the created group according to new meta group copy.
-
- (Object) description
Description of the new meta group copy.
-
- (Object) icon_uri
URI of the new meta group's icon.
-
- (Object) location_uri
UESURI of the meta model dictionary where to the meta group will be copied.
-
- (Object) name
Name of the new meta group copy.
-
- (Object) security_level
Security level.
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 group copy. When null 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.
23 24 25 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 23 def code @code end |
- (Object) competent_role_uri
UESURI of the competent role. When null is set, the executive role from authorization is used. If no role is authorized to create the meta group into specified container, the copy command fails.
32 33 34 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 32 def competent_role_uri @competent_role_uri end |
- (Object) copy_attachments
Specifies whether to copy attachements from the source meta group to the new copy. Default value is false.
58 59 60 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 58 def @copy_attachments end |
- (Object) copy_lifecycle
Specifies whether to copy workflow from the source meta group to the new copy.
Default value is false.
54 55 56 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 54 def copy_lifecycle @copy_lifecycle end |
- (Object) copy_sheet_templates
Specifies whether to copy sheet templates from the source meta group to the new copy. Default value is false.
62 63 64 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 62 def copy_sheet_templates @copy_sheet_templates end |
- (Object) copy_sheets
Specifies whether to copy content from the source meta group to the new copy. Default value is false.
50 51 52 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 50 def copy_sheets @copy_sheets end |
- (Object) default_artifact_type
Specifies default artifact type of the created artifact according to new meta group copy. When nil is set, the default artifact type is taken from the source meta artifact.
74 75 76 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 74 def default_artifact_type @default_artifact_type end |
- (Object) default_code
Specifies default code of the created group according to new meta group copy. When nil is set, the default code is taken from the source meta artifact.
70 71 72 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 70 def default_code @default_code end |
- (Object) default_icon_uri
Specifies default icon of the created group according to new meta group copy. When nil is set, the default icon is taken from the source meta artifact.
87 88 89 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 87 def default_icon_uri @default_icon_uri end |
- (Object) default_name
Specifies default name of the created group according to new meta group copy. When nil is set, the default name is taken from the source meta artifact.
66 67 68 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 66 def default_name @default_name end |
- (Object) default_searchable_in_territory
Specifies if it is possible to search for the group created according to the meta group in its territory. When nil is set, the attribute is taken from the source meta artifact.
91 92 93 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 91 def default_searchable_in_territory @default_searchable_in_territory end |
- (Object) default_security_level
Specifies default security level of the created group according to new meta group copy. When nil is set, the default security level is taken from the source meta artifact.
78 79 80 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 78 def default_security_level @default_security_level end |
- (Object) description
Description of the new meta group copy. When null is set, the description is taken from the source meta group.
27 28 29 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 27 def description @description end |
- (Object) icon_uri
URI of the new meta group's icon. When null is set, the icon is taken from the source meta artifact.
46 47 48 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 46 def icon_uri @icon_uri end |
- (Object) location_uri
UESURI of the meta model dictionary where to the meta group will be copied. If the rights does not permit to copy a meta group from the meta group in this location, the copy command fails. The value must not be nil.
15 16 17 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 15 def location_uri @location_uri end |
- (Object) name
Name of the new meta group copy. The value must not be blank.
18 19 20 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 18 def name @name end |
- (Object) security_level
Security level. When null is set, security level is taken from the source meta group security level. If the source meta group security level is higher than the user's security clearance, the copy command fails.
37 38 39 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_copy.rb', line 37 def security_level @security_level end |