Class: UU::OS::UseCaseRealization::UseCaseRealizationCreate Deprecated

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

Overview

Deprecated.

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 use case realization. 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.



17
18
19
# File 'uu_os-0.29.16/lib/uu/os/use_case_realization/use_case_realization_create.rb', line 17

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 use case realization into specified container, the create command fails. If the selected role doesn't have connected the role interface with the selected meta artifact, the create command fails. If the selected role doesn't belong to the same organizational unit as a new use case realization or if it doesn't belong to one of superior organizational units, the create command fails.



49
50
51
# File 'uu_os-0.29.16/lib/uu/os/use_case_realization/use_case_realization_create.rb', line 49

def competent_role_uri
  @competent_role_uri
end

- (Object) controller_class

Classs to look for when executing this UCR



40
41
42
# File 'uu_os-0.29.16/lib/uu/os/use_case_realization/use_case_realization_create.rb', line 40

def controller_class
  @controller_class
end

- (Object) controller_engine

Engine used for this UCR



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

def controller_engine
  @controller_engine
end

- (Object) controller_url_path

Path at which the controller will be deployed



37
38
39
# File 'uu_os-0.29.16/lib/uu/os/use_case_realization/use_case_realization_create.rb', line 37

def controller_url_path
  @controller_url_path
end

- (Object) description

Description of the new use case realization. When null is set, default description from meta artifact is used if set, otherwise no description is set on the new use case realization.



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

def description
  @description
end

- (Object) icon_uri

UESURI of the use case realization's icon. When null is set, the role uses icon from meta artifact.

Examples:

Allowed format of icon URI:

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

An example of icon URI:

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


34
35
36
# File 'uu_os-0.29.16/lib/uu/os/use_case_realization/use_case_realization_create.rb', line 34

def icon_uri
  @icon_uri
end

- (Object) meta_artifact_uri

UESURI of the meta artifact. Only a meta artifact with the template class of Use case realization (not its descendants) can be used. If the rights does not permit to create a new use case realization from the meta artifact in the specified location, the create command fails.



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

def meta_artifact_uri
  @meta_artifact_uri
end

- (Object) name

Name of the new use case realization. When null is set, default name from meta artifact is used if set, otherwise the create command fails.



13
14
15
# File 'uu_os-0.29.16/lib/uu/os/use_case_realization/use_case_realization_create.rb', line 13

def name
  @name
end

- (Object) options

Options data for use case calling. Accepted format is JSON.



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

def options
  @options
end

- (Object) security_level

Security level. When null is set, security level is taken from the meta artifact default security level. If the meta artifact template security level is higher than the user's security clearance, the create command fails.



25
26
27
# File 'uu_os-0.29.16/lib/uu/os/use_case_realization/use_case_realization_create.rb', line 25

def security_level
  @security_level
end