<?xml version="1.0"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.2.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd">
<service-builder package-path= "it.tref.liferay.portos.kaleo" >
<author > </author>
<namespace > portos_Kaleo</namespace>
<entity name= "FormLog" local-service= "true" remote-service= "false" >
<column name= "formLogId" type= "long" primary= "true" />
<!-- Group instance -->
<column name= "groupId" type= "long" />
<!-- Audit fields -->
<column name= "companyId" type= "long" />
<column name= "userId" type= "long" />
<column name= "userName" type= "String" />
<column name= "createDate" type= "Date" />
<column name= "modifiedDate" type= "Date" />
<column name= "workflowInstanceId" type= "long" />
<column name= "workflowTaskId" type= "long" />
<column name= "transitionName" type= "String" />
<column name= "formParameters" type= "String" />
<!-- Order -->
<order >
<order-column name= "createDate" order-by= "asc" />
</order>
<!-- Finder -->
<finder return-type= "Collection" name= "Company" >
<finder-column name= "companyId" />
</finder>
<finder return-type= "Collection" name= "C_Instance" >
<finder-column name= "companyId" />
<finder-column name= "workflowInstanceId" />
</finder>
<finder return-type= "Collection" name= "C_Task" >
<finder-column name= "companyId" />
<finder-column name= "workflowTaskId" />
</finder>
<finder return-type= "Collection" name= "C_Task_TransitionName" >
<finder-column name= "companyId" />
<finder-column name= "workflowTaskId" />
<finder-column name= "transitionName" />
</finder>
</entity>
<entity name= "FormDefinitionLink" local-service= "true" remote-service= "false" >
<column name= "formDefinitionLinkId" type= "long" primary= "true" />
<!-- Group instance -->
<column name= "groupId" type= "long" />
<!-- Audit fields -->
<column name= "companyId" type= "long" />
<column name= "userId" type= "long" />
<column name= "userName" type= "String" />
<column name= "createDate" type= "Date" />
<column name= "modifiedDate" type= "Date" />
<column name= "name" type= "String" />
<column name= "definitionName" type= "String" />
<column name= "definitionVersion" type= "int" />
<column name= "ddmStructureId" type= "long" />
<!-- Order -->
<order >
<order-column name= "createDate" order-by= "asc" />
</order>
<!-- Finder -->
<finder return-type= "Collection" name= "Company" >
<finder-column name= "companyId" />
</finder>
<finder return-type= "Collection" name= "C_DefinitionName_DefinitionVersion" >
<finder-column name= "companyId" />
<finder-column name= "definitionName" />
<finder-column name= "definitionVersion" />
</finder>
<finder return-type= "Collection" name= "DDMStructureId" >
<finder-column name= "ddmStructureId" />
</finder>
</entity>
<entity name= "FormTemplateLink" local-service= "true" remote-service= "false" >
<column name= "formTemplateLinkId" type= "long" primary= "true" />
<column name= "formDefinitionLinkId" type= "long" />
<column name= "ddmTemplateId" type= "long" />
<column name= "kaleoNodeId" type= "long" />
<column name= "transitionName" type= "String" />
<finder return-type= "Collection" name= "FormDefinitionLinkId" >
<finder-column name= "formDefinitionLinkId" />
</finder>
<finder return-type= "Collection" name= "DDMTemplateId" >
<finder-column name= "ddmTemplateId" />
</finder>
<finder return-type= "FormTemplateLink" name= "FormDefinitionLinkId_KaleoNodeId_TransitionName" unique= "true" >
<finder-column name= "formDefinitionLinkId" />
<finder-column name= "kaleoNodeId" />
<finder-column name= "transitionName" />
</finder>
</entity>
<exceptions >
<exception > FormDefinitionLinkName</exception>
<exception > FormDefinitionLinkDefinitionName</exception>
<exception > FormDefinitionLinkDefinitionVersion</exception>
<exception > FormDefinitionLinkDefinitionDDMStructureId</exception>
<exception > FormDefinitionLinkDuplicated</exception>
<exception > FormTemplateLinkFormDefinitionLinkId</exception>
<exception > FormTemplateLinkDDMTemplateId</exception>
<exception > FormTemplateLinkKaleoNodeId</exception>
<exception > FormTemplateLinkTransitionName</exception>
<exception > FormTemplateLinkDuplicated</exception>
</exceptions>
</service-builder>