Skip to content
Snippets Groups Projects
Commit 9a06e1b3 authored by Andreas Schindlbeck's avatar Andreas Schindlbeck
Browse files

#1030874 Doku Appointment Context

parent f8f40d6d
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,8 @@
<name>Appointment_entity</name>
<title>Termin</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<recordContainer>jdito</recordContainer>
<documentation>%aditoprj%/entity/Appointment_entity/documentation.adoc</documentation>
<recordContainer>jDitoRC</recordContainer>
<entityFields>
<entityField>
<name>SUMMARY</name>
......@@ -87,10 +88,9 @@
</entityActionGroup>
<entityProvider>
<name>#PROVIDER</name>
<recordContainer>jdito</recordContainer>
</entityProvider>
<entityParameter>
<name>MasterEntry_param</name>
<name>masterEntry</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
......@@ -125,21 +125,21 @@
<name>ICON</name>
</entityField>
<entityParameter>
<name>Entry_param</name>
<name>entry</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
</entityFields>
<recordContainers>
<jDitoRecordContainer>
<name>jdito</name>
<name>jDitoRC</name>
<title>jDitoRC</title>
<description></description>
<jDitoRecordAlias>_____SYSTEMALIAS</jDitoRecordAlias>
<contentProcess>%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
<onInsert>%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/onInsert.js</onInsert>
<onUpdate>%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/onUpdate.js</onUpdate>
<onDelete>%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/onDelete.js</onDelete>
<contentProcess>%aditoprj%/entity/Appointment_entity/recordcontainers/jditorc/contentProcess.js</contentProcess>
<onInsert>%aditoprj%/entity/Appointment_entity/recordcontainers/jditorc/onInsert.js</onInsert>
<onUpdate>%aditoprj%/entity/Appointment_entity/recordcontainers/jditorc/onUpdate.js</onUpdate>
<onDelete>%aditoprj%/entity/Appointment_entity/recordcontainers/jditorc/onDelete.js</onDelete>
<recordFields>
<element>UID.value</element>
<element>ATTENDEESLENGTH.value</element>
......@@ -167,3 +167,4 @@
</jDitoRecordContainer>
</recordContainers>
</entity>
= Appointment-Entity
:hardbreaks:
The Appointment-Entity is a special kind of an Adito-Entity.
It is not directly connected to the database, instead it uses a JDito-Record-Container that transfers the Appointment-Entries
via Entity-Parameters between Core and JDito.
== Fields
"Damn, thats a truckload of Fields in here." - Yes, it is.
Every field in this entity has its own important purpose.
All of them fit exactly to the field-slots of the Appointment-Viewtemplates, Edit and Preview, that are highly special for their own.
(see: documentation of AppointmentEdit_view and AppointmentPreview_view)
== Params
_entry_ : A complete Appointment object
_masterentry_ : The masterentry of the Appointment in the entry-param (only set if _entry_ is part of a series)
== Actions
=== PartStatActionGroup
This action group handles the changes to the ParticipationStatus of every Attendee.
It is highly recommended to not change neither the name, nor the code of each action without the help of an Adito developer.
===== Actions
_accept_
_decline_
_tentative_
\ No newline at end of file
......@@ -7,8 +7,8 @@ It provides data from database table _OFFER_.
== Actions
* _Copy offer_: All values, offeritems included, are copyed and inserted in a new offer (new offer code, versnr. _1_).
* _New offer version_: All values, offeritems included, are copyed and inserted in a **new offer version** (versnr. + _1_).
* _Copy offer_: All values, offeritems included, are copied and inserted in a new offer (new offer code, versnr. _1_).
* _New offer version_: All values, offeritems included, are copied and inserted in a **new offer version** (versnr. + _1_).
== Submodules
......
<?xml version="1.0" encoding="UTF-8"?>
<neonContext xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.0.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonContext/1.0.0">
<name>Appointment_context</name>
<title>Termin</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<icon>VAADIN:CALENDAR</icon>
<mainview>AppointmentEdit_view</mainview>
<filterview>AppointmentPreview_view</filterview>
<editview>AppointmentEdit_view</editview>
<preview>AppointmentPreview_view</preview>
<entity>Appointment_entity</entity>
<references>
<neonViewReference>
<name>90fe74fe-9bc6-4f63-9c06-52e1b0ccfcb3</name>
<view>AppointmentEdit_view</view>
</neonViewReference>
<neonViewReference>
<name>9cf48e57-ca02-4cee-911c-20b09e36637d</name>
<view>AppointmentPreview_view</view>
</neonViewReference>
</references>
</neonContext>
<?xml version="1.0" encoding="UTF-8"?>
<neonContext xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.0.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonContext/1.0.0">
<name>Appointment_context</name>
<title>Termin</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/neonContext/Appointment_context/documentation.adoc</documentation>
<icon>VAADIN:CALENDAR</icon>
<mainview>AppointmentEdit_view</mainview>
<filterview>AppointmentPreview_view</filterview>
<editview>AppointmentEdit_view</editview>
<preview>AppointmentPreview_view</preview>
<entity>Appointment_entity</entity>
<references>
<neonViewReference>
<name>90fe74fe-9bc6-4f63-9c06-52e1b0ccfcb3</name>
<view>AppointmentEdit_view</view>
</neonViewReference>
<neonViewReference>
<name>9cf48e57-ca02-4cee-911c-20b09e36637d</name>
<view>AppointmentPreview_view</view>
</neonViewReference>
</references>
</neonContext>
= Appointment-Context
:hardbreaks:
This context handels all the needs of appointments for the Adito calendar.
Even with an exchange connection. Wow.
== Important!
Its entity and viewtemplates are highly connected to the Adito core.
It's recommended to not change or delete anything without the presence of an Adito dev.
\ No newline at end of file
......@@ -2,6 +2,7 @@
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.0.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.0.1">
<name>AppointmentEdit_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/neonView/AppointmentEdit_view/documentation.adoc</documentation>
<layout>
<boxLayout>
<name>layout</name>
......@@ -32,8 +33,5 @@
<reminderField>REMINDER</reminderField>
<entityField>#ENTITY</entityField>
</appointmentEditViewTemplate>
<genericMultipleViewTemplate>
<name>GenericMultiple</name>
</genericMultipleViewTemplate>
</children>
</neonView>
= Appointment-Edit-View
:hardbreaks:
This View shows an Appointment in its full extent.
Every change that can be done to an Appointment, can be done in this view.
It is the container for only one Viewtemplate, the AppointmentEditViewtemplate
=== Attention
**The AppointmentEditViewTemplate can't be chosen by the "add new viewtemplate to view"-dialog.**
**Deleting the AppointmentEditViewtemplate leads to a state, in which only an Adito dev can add one.**
\ No newline at end of file
......@@ -2,6 +2,7 @@
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.0.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.0.1">
<name>AppointmentPreview_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/neonView/AppointmentPreview_view/documentation.adoc</documentation>
<layout>
<boxLayout>
<name>layout</name>
......
= Appointment-Preview-View
:hardbreaks:
The Preview-View shows a reduced version of a full appointment.
It is the container for only one Viewtemplate, the AppointmentPreviewViewtemplate
=== Attention
**The AppointmentPreviewViewtemplate can't be chosen by the "add new viewtemplate to view"-dialog.**
**Deleting the AppointmentPreviewViewtemplate leads to a state, in which only an Adito dev can add one.**
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment