spring-config.jobs.mapping.standardEntityMapping.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <mappingFile> <!-- ROLES: ADD, EXPORT, UPDATE --> <command name="ADD_ROLE" writers-ref="LineBeanToRoleWriter" processors-ref="VLCSVToBeanProcessor" targetEntity="io.github.jsoagger.core.model.people.account.UserRole"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="name" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="key" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="description" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="containerInfo" mandatory="true" propertyEditor="ContainerInfoByLogicalPathEditor"/> </command> <command name="EXPORT_ROLE_FOR_UPATE" targetEntity="io.github.jsoagger.core.model.people.account.UserRole"> <column id="command" constant="UPDATE_ROLE" /> <column id="fullIdentifier" propertyEditor="ObjectFullIdentifierPropetyEditor"/> <column id="name"/> <column id="role_key" /> <column id="description"/> </command> <command name="UPDATE_ROLE" writers-ref="VLLineBeanToRootEntityWriter" processors-ref="VLCSVToBeanProcessor" targetEntity="io.github.jsoagger.core.model.people.account.UserRole"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="fullIdentifier" propertyEditor="PersistableByFullIdEditor" externalAttribute="true"/> <column id="name" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="key" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="description" mandatory="false" maxLength="255" blankAllowed="false" /> </command> <!-- PROFILES: ADD, EXPORT, UPDATE --> <command name="ADD_PROFILE" writers-ref="VLLineBeanToRootEntityWriter" processors-ref="VLCSVToBeanProcessor" targetEntity="io.github.jsoagger.core.model.people.account.UserProfile"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="name" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="profileId" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="description" mandatory="false" maxLength="255" /> <column id="active" mandatory="false" maxLength="10" propertyEditor="BooleanStringPropertyEditor" /> <column id="containerInfo" mandatory="true" propertyEditor="ContainerInfoByLogicalPathEditor"/> </command> <command name="EXPORT_PROFILE_FOR_UPATE" targetEntity="io.github.jsoagger.core.model.people.account.UserProfile"> <column id="command" constant="UPDATE_PROFILE" /> <column id="fullIdentifier" propertyEditor="ObjectFullIdentifierPropetyEditor"/> <column id="name"/> <column id="profileId" /> <column id="description" /> </command> <command name="UPDATE_PROFILE"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="fullIdentifier" propertyEditor="PersistableByFullIdEditor" externalAttribute="true"/> <column id="name" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="profileId" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="description" mandatory="false" maxLength="255" blankAllowed="false" /> </command> <!-- PERMISSIONS: ADD, EXPORT, UPDATE --> <command name="ADD_PERMISSION" writers-ref="LineBeanToPermissionWriter" processors-ref="VLCSVToBeanProcessor" targetEntity="io.github.jsoagger.core.model.people.account.Permission" > <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="displayName" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="name" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="key" mandatory="true" maxLength="555" blankAllowed="false" /> <column id="description" mandatory="false" maxLength="255" blankAllowed="false" /> </command> <command name="EXPORT_PERMISSION_FOR_UPATE" targetEntity="io.github.jsoagger.core.model.people.account.Permission"> <column id="command" constant="UPDATE_PERMISSION" /> <column id="fullIdentifier" propertyEditor="ObjectFullIdentifierPropetyEditor"/> <column id="name"/> <column id="key" /> <column id="description" /> </command> <command name="UPDATE_PERMISSION" writers-ref="LineBeanToPermissionWriter" processors-ref="VLCSVToBeanProcessor" targetEntity="io.github.jsoagger.core.model.people.account.Permission"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="fullIdentifier" propertyEditor="PersistableByFullIdEditor" externalAttribute="true"/> <column id="name" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="key" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="description" mandatory="false" maxLength="255" blankAllowed="false" /> </command> <!-- ROLES ===> MEMBER ROLES ===> PERMISSIONS --> <command name="ADD_ROLE_MEMBER" writers-ref="LineBeanToRoleMemberWriter" processors-ref="VLCSVToBeanProcessor" targetEntity="io.github.jsoagger.core.model.people.account.RoleAccountLink"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="roleA" mandatory="true" maxLength="255" blankAllowed="false" propertyEditor="RoleByRoleIdEditor" /> <column id="roleB" mandatory="true" maxLength="255" blankAllowed="false" propertyEditor="AccountByLoginEditor" /> <column id="description" mandatory="false" maxLength="255" blankAllowed="false" /> <column id="containerInfo" mandatory="true" propertyEditor="ContainerInfoByLogicalPathEditor"/> </command> <command name="ADD_ROLE_PERMISSION" writers-ref="LineBeanToRolePermissionWriter" processors-ref="VLCSVToBeanProcessor"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="roleA" mandatory="true" maxLength="255" blankAllowed="false" propertyEditor="RoleByRoleIdEditor" externalAttribute="true"/> <column id="roleB" mandatory="true" maxLength="255" blankAllowed="false" propertyEditor="PermissionBykeyPropertyEditor" externalAttribute="true"/> <column id="domainclass" mandatory="false" maxLength="255" blankAllowed="false" externalAttribute="true"/> <column id="typePath" mandatory="false" maxLength="255" blankAllowed="false" externalAttribute="true"/> <column id="instanceOid" mandatory="false" maxLength="255" blankAllowed="false" externalAttribute="true"/> </command> <command name="EXPORT_USERS_ROLES"> <column id="account_login" /> <column id="role_key" /> </command> <command name="EXPORT_ROLES_PERMISSIONS"> <column id="role_key" /> <column id="permission" /> </command> <!-- --> <command name="ADD_CONTAINER_TEAM_MEMBERSHIP_LINK" writers-ref="VLLineBeanToRootEntityWriter" processors-ref="VLCSVToBeanProcessor;VLLineBeanDomainProcessor" targetEntity="io.github.jsoagger.core.model.api.composite.ContainerTeamMembershipLink"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="roleAFullPath" mandatory="true" maxLength="255" blankAllowed="false" propertyEditor="ContainerByFullPathEditor" /> <column id="roleB" mandatory="true" maxLength="255" blankAllowed="false" propertyEditor="AccountByLoginEditor" /> <column id="description" mandatory="false" maxLength="255" blankAllowed="false" /> </command> <command name="LOAD_TYPE_COLS_MAPPING" writers-ref="VLLineBeanToRootEntityWriter" processors-ref="VLCSVToBeanProcessor;VLLineBeanDomainProcessor" targetEntity="io.github.jsoagger.core.model.api.typed.SoftAttributesColumnsMapper"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="businessType" mandatory="true" blankAllowed="false" /> <column id="technicalType" mandatory="true" blankAllowed="false" /> <column id="allIndexes" mandatory="true" blankAllowed="false" propertyEditor="SoftAttributesMapperIndexesEditor" /> </command> <command name="ADD_DYN_ATTRIBUTE" writers-ref="VLLineBeanToRootEntityWriter" processors-ref="VLCSVToBeanProcessor;VLLineBeanDomainProcessor" targetEntity="io.github.jsoagger.core.model.api.typed.SoftAttributeDefinition"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="logicalName" mandatory="true" blankAllowed="false" /> <column id="type" mandatory="true" blankAllowed="false" /> <column id="displayName" mandatory="true" maxLength="255" /> <column id="description" mandatory="false" maxLength="255" /> <column id="defaultValue" mandatory="false" maxLength="255" /> <column id="i18nKey" mandatory="false" maxLength="255" /> </command> <command name="LINK_TYPE_TO_ATTRIBUTE" writers-ref="LineBeanToTypeSoftAttrLinkWriter" processors-ref="VLCSVToBeanProcessor;VLLineBeanDomainProcessor" targetEntity="io.github.jsoagger.core.model.api.typed.TypeSoftAttributeDefinitionLink"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="roleB" mandatory="true" maxLength="255" blankAllowed="false" propertyEditor="AttributeByLogicalNameEditor" /> <column id="roleA" mandatory="true" maxLength="500" blankAllowed="false" propertyEditor="TypeByLogicalPathEditor" /> <column id="defaultValue" mandatory="false" maxLength="255" externalAttribute="true" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="editUtility" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="viewUtility" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="masterAttribute" mandatory="false" maxLength="10" propertyEditor="BooleanStringPropertyEditor" /> <column id="mandatory" mandatory="false" maxLength="10" propertyEditor="TypeSoftAttributeLinkAttributeEditor" externalAttribute="true" /> <column id="BlankAllowed" mandatory="false" maxLength="10" propertyEditor="TypeSoftAttributeLinkAttributeEditor" externalAttribute="true" /> <column id="displayOrder" mandatory="false" maxLength="10" /> <column id="minLength" mandatory="false" maxLength="10" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="maxLength" mandatory="false" maxLength="10" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="minValue" mandatory="false" maxLength="10" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="maxValue" mandatory="false" maxLength="10" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="label" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="prompt" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="enumeratedValuesLoader" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="enumerationKey" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="editLayout" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="viewLayout" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="viewStyleClass" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="labelStyleClass" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="displayFormat" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="saveFormat" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> <column id="converter" mandatory="false" maxLength="255" propertyEditor="TypeSoftAttributeLinkAttributeEditor" /> </command> </mappingFile>