Class: UU::OS::ActivityTemplate::ActivityTemplateAttributes
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::ActivityTemplate::ActivityTemplateAttributes
- Defined in:
- uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb
Overview
Instance Attribute Summary (collapse)
-
- (Object) allow_as_subactivity_template
Specifies whether this activity template is usable as a template for subactivities.
-
- (Object) allow_creation_through_ui
Specifies whether activities can be created according to this template through the user interface or not.
-
- (Object) allow_executive_role_change
Specifies whether the executive role of the activities created according to this template can be changed.
-
- (Object) allow_subactivities
Specifies whether it is allowed to create subactivities of the activities created according to this template.
-
- (Object) block_time_in_calendar
Specifies whether the activities created according to this template will reserve time in the related users' calendars.
-
- (Object) code
Code of the activity template.
-
- (Object) creation_time
Creation time of the activity template.
-
- (Object) default_subactivity_template_uri
URI of the activity template which should be used as the default template for subactivities.
-
- (Object) description
Description of the activity template.
-
- (Object) duration
The duration of the activity template.
-
- (Object) entity_type_uri
URI of the activity template entity type.
-
- (Object) executive_role_uri
URI of the executive role for the activities created according to this template.
-
- (Object) expiration
Expiration specifies how long after the expected completion date the activities created according to this template should be automatically terminated.
-
- (Object) generic
Specifies whether the activity template is generic or not.
-
- (Object) icon_uri
URI of the activity template's icon.
-
- (Object) level
Specifies the level of nesting of the activity template.
-
- (Object) modification_time
Time of the last activity template modification.
-
- (Object) name
Name of the activity template.
-
- (Object) notification
The default time between the activity creation and its expected completion.
-
- (Object) parent_activity_template_uri
URI of the parent activity template.
-
- (Object) related_object_uri
URI for the artifact or object which is somehow related to the activity template.
-
- (Object) type
Type of the activity template.
-
- (Object) uri
URI of the activity template.
-
- (Object) version
Version of the activity template.
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) allow_as_subactivity_template
Specifies whether this activity template is usable as a template for subactivities.
60 61 62 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 60 def allow_as_subactivity_template @allow_as_subactivity_template end |
- (Object) allow_creation_through_ui
Specifies whether activities can be created according to this template through the user interface or not.
57 58 59 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 57 def allow_creation_through_ui @allow_creation_through_ui end |
- (Object) allow_executive_role_change
Specifies whether the executive role of the activities created according to this template can be changed.
71 72 73 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 71 def allow_executive_role_change @allow_executive_role_change end |
- (Object) allow_subactivities
Specifies whether it is allowed to create subactivities of the activities created according to this template.
75 76 77 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 75 def allow_subactivities @allow_subactivities end |
- (Object) block_time_in_calendar
Specifies whether the activities created according to this template will reserve time in the related users' calendars. This parameter has some value only for activity templates with the type COVER_MEETING or TIME_RESERVATION.
80 81 82 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 80 def block_time_in_calendar @block_time_in_calendar end |
- (Object) code
Code of the activity template.
18 19 20 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 18 def code @code end |
- (Object) creation_time
Creation time of the activity template.
86 87 88 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 86 def creation_time @creation_time end |
- (Object) default_subactivity_template_uri
URI of the activity template which should be used as the default template for subactivities.
64 65 66 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 64 def default_subactivity_template_uri @default_subactivity_template_uri end |
- (Object) description
Description of the activity template.
21 22 23 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 21 def description @description end |
- (Object) duration
The duration of the activity template. This parameter makes sense only for activity templates with the type COVER_MEETING or TIME_RESERVATION. For other templates is equal to notification.
37 38 39 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 37 def duration @duration end |
- (Object) entity_type_uri
URI of the activity template entity type.
98 99 100 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 98 def entity_type_uri @entity_type_uri end |
- (Object) executive_role_uri
URI of the executive role for the activities created according to this template.
67 68 69 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 67 def executive_role_uri @executive_role_uri end |
- (Object) expiration
Expiration specifies how long after the expected completion date the activities created according to this template should be automatically terminated. If it is nil, the expiration is disabled.
42 43 44 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 42 def expiration @expiration end |
- (Object) generic
Specifies whether the activity template is generic or not.
83 84 85 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 83 def generic @generic end |
- (Object) icon_uri
URI of the activity template's icon.
95 96 97 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 95 def icon_uri @icon_uri end |
- (Object) level
Specifies the level of nesting of the activity template. Root activity templates have this parameter equal to one.
46 47 48 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 46 def level @level end |
- (Object) modification_time
Time of the last activity template modification.
89 90 91 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 89 def modification_time @modification_time end |
- (Object) name
Name of the activity template.
15 16 17 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 15 def name @name end |
- (Object) notification
The default time between the activity creation and its expected completion.
32 33 34 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 32 def notification @notification end |
- (Object) parent_activity_template_uri
URI of the parent activity template. Nil if the activity template has no parent activity (when it is located directly on the meta artifact).
50 51 52 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 50 def parent_activity_template_uri @parent_activity_template_uri end |
- (Object) related_object_uri
URI for the artifact or object which is somehow related to the activity template.
53 54 55 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 53 def @related_object_uri end |
- (Object) type
Type of the activity template.
29 30 31 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 29 def type @type end |
- (Object) uri
URI of the activity template.
24 25 26 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 24 def uri @uri end |
- (Object) version
Version of the activity template.
92 93 94 |
# File 'uu_os-0.29.16/lib/uu/os/activity_template/activity_template_attributes.rb', line 92 def version @version end |