Class: UU::ADK::App::AppCreate Deprecated

Inherits:
OS::REST::DTO show all
Defined in:
uu_adk-0.28.16/lib/uu/adk/app/app_create.rb

Overview

Deprecated.

App Create DTO.

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from OS::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) app_box_uri

UESURI of appbox from which was the app created.



25
26
27
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_create.rb', line 25

def app_box_uri
  @app_box_uri
end

- (Object) code

Code of the new organizational unit. 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.



22
23
24
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_create.rb', line 22

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 new organizational unit 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 one of superior organizational units, the create command fails.



42
43
44
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_create.rb', line 42

def competent_role_uri
  @competent_role_uri
end

- (Object) description

Description of the new organizational unit. When null is set, tDescription from meta artifact is used if set, otherwise no description is set on the new organizational unit.



34
35
36
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_create.rb', line 34

def description
  @description
end

- (Object) icon_uri

URI of the organizational unit's icon. When nil is set, the organizational unit 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}


57
58
59
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_create.rb', line 57

def icon_uri
  @icon_uri
end

- (Object) meta_artifact_uri

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



17
18
19
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_create.rb', line 17

def meta_artifact_uri
  @meta_artifact_uri
end

- (Object) name

Name of the new organizational unit. When null is set, tName from meta artifact is used if set, otherwise the create command fails.



29
30
31
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_create.rb', line 29

def name
  @name
end

- (Object) security_level

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



47
48
49
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_create.rb', line 47

def security_level
  @security_level
end