Class: UU::OS::MetaArtifact::MetaArtifactCopy
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::MetaArtifact::MetaArtifactCopy
- Defined in:
- uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb
Instance Attribute Summary (collapse)
-
- (Object) code
Code of the new meta artifact copy.
-
- (Object) competent_role_uri
UESURI of the competent role.
-
- (Object) copy_attachments
Specifies whether to copy attachements from the source meta artifact to the new copy.
-
- (Object) copy_lifecycle
Specifies whether to copy life cycle from the source meta artifact to the new copy.
-
- (Object) copy_sheet_templates
Specifies whether to copy sheet templates from the source meta artifact to the new copy.
-
- (Object) copy_sheets
Specifies whether to copy content from the source meta artifact to the new copy.
-
- (Object) default_artifact_type
Specifies default artifact type of the created artifact according to new meta artifact copy.
-
- (Object) default_code
Specifies default code of the created artifact according to new meta artifact copy.
-
- (Object) default_icon_uri
Specifies default icon of the created artifact according to new meta artifact copy.
-
- (Object) default_name
Specifies default name of the created artifact according to new meta artifact copy.
-
- (Object) default_security_level
Specifies default security level of the created artifact according to new meta artifact copy.
-
- (Object) description
Description of the new meta artifact copy.
-
- (Object) icon_uri
URI of the new meta artifact's icon.
-
- (Object) location_uri
UESURI of the meta model dictionary where to the meta artifact will be copied.
-
- (Object) name
Name of the new meta artifact 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 artifact 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.
24 25 26 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 24 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 group role into specified container, the create command fails.
33 34 35 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 33 def competent_role_uri @competent_role_uri end |
- (Object) copy_attachments
Specifies whether to copy attachements from the source meta artifact to the new copy. Default value is false.
55 56 57 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 55 def @copy_attachments end |
- (Object) copy_lifecycle
Specifies whether to copy life cycle from the source meta artifact to the new copy. Default value is false.
51 52 53 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 51 def copy_lifecycle @copy_lifecycle end |
- (Object) copy_sheet_templates
Specifies whether to copy sheet templates from the source meta artifact to the new copy. Default value is false.
59 60 61 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 59 def copy_sheet_templates @copy_sheet_templates end |
- (Object) copy_sheets
Specifies whether to copy content from the source meta artifact to the new copy. Default value is false.
47 48 49 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 47 def copy_sheets @copy_sheets end |
- (Object) default_artifact_type
Specifies default artifact type of the created artifact according to new meta artifact copy. When null is set, the default artifact type is taken from the source meta artifact.
72 73 74 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 72 def default_artifact_type @default_artifact_type end |
- (Object) default_code
Specifies default code of the created artifact according to new meta artifact copy. When null is set, the default code is taken from the source meta artifact.
67 68 69 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 67 def default_code @default_code end |
- (Object) default_icon_uri
Specifies default icon of the created artifact according to new meta
artifact copy. When null is set, the default icon is taken from the source
meta artifact.
Allowed format URI 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}
83 84 85 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 83 def default_icon_uri @default_icon_uri end |
- (Object) default_name
Specifies default name of the created artifact according to new meta artifact copy. When null is set, the default name is taken from the source meta artifact.
63 64 65 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 63 def default_name @default_name end |
- (Object) default_security_level
Specifies default security level of the created artifact according to new meta artifact copy. When null is set, the default security level is taken from the source meta artifact.
77 78 79 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 77 def default_security_level @default_security_level end |
- (Object) description
Description of the new meta artifact copy. When null is set, the description is taken from the source meta artifact.
28 29 30 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 28 def description @description end |
- (Object) icon_uri
URI of the new meta artifact's icon. When null is set, the icon is taken
from the source meta artifact.
Allowed format URI 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}
43 44 45 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 43 def icon_uri @icon_uri end |
- (Object) location_uri
UESURI of the meta model dictionary where to the meta artifact will be copied. If the rights does not permit to copy a meta artifact from the meta artifact in this location, the copy command fails. The value must not be null.
15 16 17 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 15 def location_uri @location_uri end |
- (Object) name
Name of the new meta artifact copy. The value must not be blank. The value must not be null.
19 20 21 |
# File 'uu_os_client-0.10.6/lib/uu/os/meta_artifact/meta_artifact_copy.rb', line 19 def name @name end |
- (Object) security_level
Security level. When null is set, security level is taken from the source meta artifact security level. If the source meta artifact 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_artifact/meta_artifact_copy.rb', line 38 def security_level @security_level end |