Newer
Older
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.21" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.21">
<documentation>%aditoprj%/entity/Role_entity/documentation.adoc</documentation>
<grantUpdateProcess>%aditoprj%/entity/Role_entity/grantUpdateProcess.js</grantUpdateProcess>
<grantDeleteProcess>%aditoprj%/entity/Role_entity/grantDeleteProcess.js</grantDeleteProcess>
<contentTitleProcess>%aditoprj%/entity/Role_entity/contentTitleProcess.js</contentTitleProcess>
<iconId>VAADIN:USER_CHECK</iconId>

Simon Leipold
committed
<usePermissions v="true" />
<recordContainer>jDito</recordContainer>
<entityFields>
<entityProvider>
<name>#PROVIDER</name>
</entityProvider>
<entityField>
<name>ROLETITLE</name>
<title>Title</title>
<mandatory v="true" />
</entityField>
<entityField>
<name>ROLETYPE</name>
<title>Type</title>
</entityField>
<entityField>
<name>ROLEDESCRIPTION</name>
<title>Description</title>
</entityField>
<entityField>
<name>ROLENAME</name>
<title>Name</title>
<mandatory v="true" />

Simon Leipold
committed
<stateProcess>%aditoprj%/entity/Role_entity/entityfields/rolename/stateProcess.js</stateProcess>
<name>TheirPermissions</name>
<dependency>
<name>dependency</name>
<entityName>PermissionDetail_entity</entityName>
<fieldName>Permissions</fieldName>
</dependency>
<children>
<entityParameter>
<name>RoleName_param</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/theirpermissions/children/rolename_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>PermissionOverviews</name>
<dependency>
<name>dependency</name>
<entityName>PermissionOverview_entity</entityName>
<fieldName>PermissionOverviews</fieldName>
</dependency>
<children>
<entityParameter>
<name>RoleName_param</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/permissionoverviews/children/rolename_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityProvider>
<name>Roles</name>
<recordContainer>jDito</recordContainer>
<children>
<entityParameter>
<name>ExcludeRoles_param</name>
<expose v="false" />
</entityParameter>
</children>
</entityProvider>
<entityParameter>
<name>ExcludeRoles_param</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/excluderoles_param/valueProcess.js</valueProcess>
<expose v="true" />
</entityParameter>
<entityProvider>
<name>FilteredRoles</name>
<entityField>
<name>IS_ASSIGNABLE</name>
<title>is assignable</title>
<contentType>BOOLEAN</contentType>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/is_assignable/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>UID</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/uid/valueProcess.js</valueProcess>
</entityField>
<entityConsumer>
<name>RoleChildrens</name>

Simon Leipold
committed
<stateProcess>%aditoprj%/entity/Role_entity/entityfields/rolechildrens/stateProcess.js</stateProcess>

Simon Leipold
committed
<onValidation>%aditoprj%/entity/Role_entity/entityfields/rolechildrens/onValidation.js</onValidation>
<dependency>
<name>dependency</name>
<entityName>RoleChildren_entity</entityName>
<fieldName>RoleChildrens</fieldName>
</dependency>
<children>
<entityParameter>
<name>RoleId_param</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/rolechildrens/children/roleid_param/valueProcess.js</valueProcess>
</entityParameter>

Simon Leipold
committed
<entityParameter>
<name>RoleType_param</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/rolechildrens/children/roletype_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>

Simon Leipold
committed
<entityActionField>
<name>deleteEverythingLinkedToRole</name>
<title>delete linked permissions and hierarchies</title>
<onActionProcess>%aditoprj%/entity/Role_entity/entityfields/deleteeverythinglinkedtorole/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CLOSE</iconId>

Simon Leipold
committed
<stateProcess>%aditoprj%/entity/Role_entity/entityfields/deleteeverythinglinkedtorole/stateProcess.js</stateProcess>

Simon Leipold
committed
</entityActionField>

Simon Leipold
committed
<entityConsumer>
<name>RoleParents</name>
<dependency>
<name>dependency</name>
<entityName>RoleParent_entity</entityName>
<fieldName>RoleParents</fieldName>
</dependency>

Simon Leipold
committed
<children>
<entityParameter>
<name>RoleId_param</name>
<valueProcess>%aditoprj%/entity/Role_entity/entityfields/roleparents/children/roleid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityProvider>
<name>#PROVIDER_AGGREGATES</name>
<useAggregates v="true" />
</entityProvider>
<entityProvider>
<name>FilterRolesWithoutPermission</name>
<usePermissions v="false" />
</entityProvider>
</entityFields>
<recordContainers>
<jDitoRecordContainer>
<name>jDito</name>
<jDitoRecordAlias>_____SYSTEMALIAS</jDitoRecordAlias>
<isFilterable v="true" />
S.Leipold
committed
<isSortable v="true" />
<contentProcess>%aditoprj%/entity/Role_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
<onInsert>%aditoprj%/entity/Role_entity/recordcontainers/jdito/onInsert.js</onInsert>
<onUpdate>%aditoprj%/entity/Role_entity/recordcontainers/jdito/onUpdate.js</onUpdate>
<onDelete>%aditoprj%/entity/Role_entity/recordcontainers/jdito/onDelete.js</onDelete>
<recordFieldMappings>
<jDitoRecordFieldMapping>
<name>UID.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ROLENAME.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ROLETITLE.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ROLETYPE.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ROLEDESCRIPTION.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>USERCOUNT.value</name>
<jDitoRecordFieldMapping>
<name>IS_ASSIGNABLE.value</name>
</jDitoRecordFieldMapping>