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

Appointment NEW init

parent b04293c0
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.6" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.6">
<name>Appointment_entity</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/Appointment_entity/documentation.adoc</documentation>
<title>Termin</title>
<afterUiInit>%aditoprj%/entity/Appointment_entity/afterUiInit.js</afterUiInit>
<recordContainer>jdito</recordContainer>
<entityFields>
<entityField>
<name>SUMMARY</name>
<title>Betreff</title>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/summary/valueProcess.js</valueProcess>
<onValueChange>%aditoprj%/entity/Appointment_entity/entityfields/summary/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
<element>PROCESS</element>
<element>PROCESS_SETVALUE</element>
</onValueChangeTypes>
</entityField>
<entityField>
<name>DESCRIPTION</name>
</entityField>
<entityField>
<name>CLASSIFICATION</name>
<dropDownProcess>%aditoprj%/entity/Appointment_entity/entityfields/classification/dropDownProcess.js</dropDownProcess>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/classification/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>BEGIN</name>
<selectionMode>SINGLE</selectionMode>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/begin/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>END</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/end/valueProcess.js</valueProcess>
</entityField>
<entityFieldGroup>
<name>STARTEND</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/startend/valueProcess.js</valueProcess>
<description>FIELDGROUP</description>
<fields>
<element>BEGIN</element>
<element>END</element>
</fields>
</entityFieldGroup>
<entityField>
<name>STATUS</name>
<dropDownProcess>%aditoprj%/entity/Appointment_entity/entityfields/status/dropDownProcess.js</dropDownProcess>
</entityField>
<entityField>
<name>LOCATION</name>
</entityField>
<entityField>
<name>REMINDER_CHECK</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/reminder_check/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>REMINDER</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/reminder/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>CATEGORIES</name>
<dropDownProcess>%aditoprj%/entity/Appointment_entity/entityfields/categories/dropDownProcess.js</dropDownProcess>
</entityField>
<entityField>
<name>ATTENDEES</name>
<dropDownProcess>%aditoprj%/entity/Appointment_entity/entityfields/attendees/dropDownProcess.js</dropDownProcess>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/attendees/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TRANSPARENCY</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/transparency/valueProcess.js</valueProcess>
</entityField>
<entityActionGroup>
<name>PartStatActionGroup</name>
<children>
<entityActionField>
<name>accept</name>
<title>accept</title>
<onActionProcess>%aditoprj%/entity/Appointment_entity/entityfields/partstatactiongroup/children/accept/onActionProcess.js</onActionProcess>
<actionOrder v="0" />
<iconId>VAADIN:CHECK</iconId>
</entityActionField>
<entityActionField>
<name>decline</name>
<title>decline</title>
<description></description>
<onActionProcess>%aditoprj%/entity/Appointment_entity/entityfields/partstatactiongroup/children/decline/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CLOSE</iconId>
</entityActionField>
<entityActionField>
<name>tentative</name>
<title>tentative</title>
<onActionProcess>%aditoprj%/entity/Appointment_entity/entityfields/partstatactiongroup/children/tentative/onActionProcess.js</onActionProcess>
<iconId>VAADIN:QUESTION</iconId>
</entityActionField>
</children>
</entityActionGroup>
<entityProvider>
<name>#PROVIDER</name>
<recordContainer>jdito</recordContainer>
</entityProvider>
<entityParameter>
<name>MasterEntry_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityField>
<name>ORGANIZER</name>
</entityField>
<entityField>
<name>RRULE</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/rrule/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>RECURRENCEID</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/recurrenceid/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>SAFESCOPEFIELD</name>
</entityField>
<entityField>
<name>MASTERBEGIN</name>
</entityField>
<entityField>
<name>MASTEREND</name>
</entityField>
<entityField>
<name>UID</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/uid/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>ATTENDEESLENGTH</name>
</entityField>
<entityField>
<name>ICON</name>
</entityField>
<entityParameter>
<name>Entry_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityParameter>
<name>AnyObjectRowid_param</name>
<description>PARAMETER</description>
</entityParameter>
<entityParameter>
<name>AnyObjectType_param</name>
<description>PARAMETER</description>
</entityParameter>
<entityConsumer>
<name>AppointmentLinks</name>
<dependency>
<name>dependency</name>
<entityName>AppointmentLink_entity</entityName>
<fieldName>Links</fieldName>
</dependency>
<children>
<entityParameter>
<name>AppointmentId_param</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/appointmentlinks/children/appointmentid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
</entityFields>
<recordContainers>
<jDitoRecordContainer>
<name>jdito</name>
<title>jdito</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>
<recordFields>
<element>UID.value</element>
<element>ATTENDEESLENGTH.value</element>
<element>BEGIN.value</element>
<element>END.value</element>
<element>SUMMARY.value</element>
<element>ORGANIZER.value</element>
<element>ATTENDEES.value</element>
<element>STATUS.value</element>
<element>LINKS.value</element>
<element>DESCRIPTION.value</element>
<element>LOCATION.value</element>
<element>ICON.value</element>
<element>CLASSIFICATION.value</element>
<element>TRANSPARENCY.value</element>
<element>CATEGORIES.value</element>
<element>REMINDER.value</element>
<element>REMINDER_CHECK.value</element>
<element>RRULE.value</element>
<element>RECURRENCEID.value</element>
<element>SAFESCOPEFIELD.value</element>
<element>MASTERBEGIN.value</element>
<element>MASTEREND.value</element>
</recordFields>
</jDitoRecordContainer>
</recordContainers>
</entity>
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.6" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.6">
<name>Appointment_entity</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/Appointment_entity/documentation.adoc</documentation>
<title>Termin</title>
<afterUiInit>%aditoprj%/entity/Appointment_entity/afterUiInit.js</afterUiInit>
<recordContainer>jdito</recordContainer>
<entityFields>
<entityField>
<name>SUMMARY</name>
<title>Betreff</title>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/summary/valueProcess.js</valueProcess>
<onValueChange>%aditoprj%/entity/Appointment_entity/entityfields/summary/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
<element>PROCESS</element>
<element>PROCESS_SETVALUE</element>
</onValueChangeTypes>
</entityField>
<entityField>
<name>DESCRIPTION</name>
</entityField>
<entityField>
<name>CLASSIFICATION</name>
<dropDownProcess>%aditoprj%/entity/Appointment_entity/entityfields/classification/dropDownProcess.js</dropDownProcess>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/classification/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>BEGIN</name>
<selectionMode>SINGLE</selectionMode>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/begin/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>END</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/end/valueProcess.js</valueProcess>
</entityField>
<entityFieldGroup>
<name>STARTEND</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/startend/valueProcess.js</valueProcess>
<description>FIELDGROUP</description>
<fields>
<element>BEGIN</element>
<element>END</element>
</fields>
</entityFieldGroup>
<entityField>
<name>STATUS</name>
<dropDownProcess>%aditoprj%/entity/Appointment_entity/entityfields/status/dropDownProcess.js</dropDownProcess>
</entityField>
<entityField>
<name>LOCATION</name>
</entityField>
<entityField>
<name>REMINDER_CHECK</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/reminder_check/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>REMINDER</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/reminder/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>CATEGORIES</name>
<dropDownProcess>%aditoprj%/entity/Appointment_entity/entityfields/categories/dropDownProcess.js</dropDownProcess>
</entityField>
<entityField>
<name>ATTENDEES</name>
<dropDownProcess>%aditoprj%/entity/Appointment_entity/entityfields/attendees/dropDownProcess.js</dropDownProcess>
</entityField>
<entityField>
<name>TRANSPARENCY</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/transparency/valueProcess.js</valueProcess>
</entityField>
<entityActionGroup>
<name>PartStatActionGroup</name>
<children>
<entityActionField>
<name>accept</name>
<title>accept</title>
<onActionProcess>%aditoprj%/entity/Appointment_entity/entityfields/partstatactiongroup/children/accept/onActionProcess.js</onActionProcess>
<actionOrder v="0" />
<iconId>VAADIN:CHECK</iconId>
</entityActionField>
<entityActionField>
<name>decline</name>
<title>decline</title>
<description></description>
<onActionProcess>%aditoprj%/entity/Appointment_entity/entityfields/partstatactiongroup/children/decline/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CLOSE</iconId>
</entityActionField>
<entityActionField>
<name>tentative</name>
<title>tentative</title>
<onActionProcess>%aditoprj%/entity/Appointment_entity/entityfields/partstatactiongroup/children/tentative/onActionProcess.js</onActionProcess>
<iconId>VAADIN:QUESTION</iconId>
</entityActionField>
</children>
</entityActionGroup>
<entityProvider>
<name>#PROVIDER</name>
<recordContainer>jdito</recordContainer>
</entityProvider>
<entityParameter>
<name>MasterEntry_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityField>
<name>ORGANIZER</name>
</entityField>
<entityField>
<name>RRULE</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/rrule/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>RECURRENCEID</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/recurrenceid/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>SAFESCOPEFIELD</name>
</entityField>
<entityField>
<name>MASTERBEGIN</name>
</entityField>
<entityField>
<name>MASTEREND</name>
</entityField>
<entityField>
<name>UID</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/uid/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>ATTENDEESLENGTH</name>
</entityField>
<entityField>
<name>ICON</name>
</entityField>
<entityParameter>
<name>Entry_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityParameter>
<name>AnyObjectRowid_param</name>
<description>PARAMETER</description>
</entityParameter>
<entityParameter>
<name>AnyObjectType_param</name>
<description>PARAMETER</description>
</entityParameter>
<entityConsumer>
<name>AppointmentLinks</name>
<dependency>
<name>dependency</name>
<entityName>AppointmentLink_entity</entityName>
<fieldName>Links</fieldName>
</dependency>
<children>
<entityParameter>
<name>AppointmentId_param</name>
<valueProcess>%aditoprj%/entity/Appointment_entity/entityfields/appointmentlinks/children/appointmentid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
</entityFields>
<recordContainers>
<jDitoRecordContainer>
<name>jdito</name>
<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>
<title>jdito</title>
<description></description>
<recordFields>
<element>UID.value</element>
<element>ATTENDEESLENGTH.value</element>
<element>BEGIN.value</element>
<element>END.value</element>
<element>SUMMARY.value</element>
<element>ORGANIZER.value</element>
<element>ATTENDEES.value</element>
<element>STATUS.value</element>
<element>LINKS.value</element>
<element>DESCRIPTION.value</element>
<element>LOCATION.value</element>
<element>ICON.value</element>
<element>CLASSIFICATION.value</element>
<element>TRANSPARENCY.value</element>
<element>CATEGORIES.value</element>
<element>REMINDER.value</element>
<element>REMINDER_CHECK.value</element>
<element>RRULE.value</element>
<element>RECURRENCEID.value</element>
<element>SAFESCOPEFIELD.value</element>
<element>MASTERBEGIN.value</element>
<element>MASTEREND.value</element>
</recordFields>
</jDitoRecordContainer>
</recordContainers>
</entity>
import("system.neon");
import("system.vars");
import("system.calendars");
import("system.result");
/**
* Following if() is only for passing param-parts from "new Appointment"-Dialog to AppointmentEditViewTemplate
*/
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.exists("$param.Entry_param"))
{
var event = JSON.parse(vars.getString("$param.Entry_param"));
if(event[calendars.AFFECTEDUSERS])
result.string(event[calendars.AFFECTEDUSERS]);
}
\ 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