<?xml version="1.0"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path= "it.tref.liferay.portos.kaleo.controller" >
<author > 3FC + Manifattura Web Group s.r.l.</author>
<namespace > portos_kaleo_controller</namespace>
<entity name= "KaleoInstance" local-service= "true" remote-service= "false" table= "kaleoinstance" >
<!-- PK fields -->
<column name= "kaleoInstanceId" 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" />
<!-- Other fields -->
<column name= "kaleoDefinitionId" type= "long" />
<column name= "kaleoDefinitionName" type= "String" />
<column name= "kaleoDefinitionVersion" type= "int" />
<column name= "rootKaleoInstanceTokenId" type= "long" />
<column name= "className" type= "String" />
<column name= "classPK" type= "long" />
<column name= "completed" type= "boolean" />
<column name= "completionDate" type= "Date" />
<column name= "workflowContext" type= "String" />
<!-- Order -->
<order by= "asc" >
<order-column name= "kaleoInstanceId" />
</order>
<!-- Finder methods -->
<finder name= "ClassPK" return-type= "KaleoInstance" >
<finder-column name= "classPK" />
</finder>
</entity>
<entity name= "KaleoTaskAssignmentInstance" local-service= "true" remote-service= "false" table= "kaleotaskassignmentinstance" >
<!-- PK fields -->
<column name= "kaleoTaskAssignmentInstanceId" 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" />
<!-- Other fields -->
<column name= "kaleoDefinitionId" type= "long" />
<column name= "kaleoInstanceId" type= "long" />
<column name= "kaleoInstanceTokenId" type= "long" />
<column name= "kaleoTaskInstanceTokenId" type= "long" />
<column name= "kaleoTaskId" type= "long" />
<column name= "kaleoTaskName" type= "String" />
<column name= "assigneeClassName" type= "String" />
<column name= "assigneeClassPK" type= "long" />
<column name= "completed" type= "boolean" />
<column name= "completionDate" type= "Date" />
<!-- Order -->
<order by= "asc" >
<order-column name= "kaleoTaskAssignmentInstanceId" />
</order>
<!-- Finder methods -->
<finder name= "CompanyId" return-type= "Collection" >
<finder-column name= "companyId" />
</finder>
<finder name= "KaleoDefinitionId" return-type= "Collection" >
<finder-column name= "kaleoDefinitionId" />
</finder>
<finder name= "KaleoInstanceId" return-type= "Collection" >
<finder-column name= "kaleoInstanceId" />
</finder>
</entity>
<entity name= "KaleoLog" local-service= "true" remote-service= "false" table= "kaleolog" >
<!-- PK fields -->
<column name= "kaleoLogId" 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" />
<!-- Other fields -->
<column name= "kaleoClassName" type= "String" />
<column name= "kaleoClassPK" type= "long" />
<column name= "kaleoDefinitionId" type= "long" />
<column name= "kaleoInstanceId" type= "long" />
<column name= "kaleoInstanceTokenId" type= "long" />
<column name= "kaleoTaskInstanceTokenId" type= "long" />
<column name= "kaleoNodeName" type= "String" />
<column name= "terminalKaleoNode" type= "boolean" />
<column name= "kaleoActionId" type= "long" />
<column name= "kaleoActionName" type= "String" />
<column name= "kaleoActionDescription" type= "String" />
<column name= "previousKaleoNodeId" type= "long" />
<column name= "previousKaleoNodeName" type= "String" />
<column name= "previousAssigneeClassName" type= "String" />
<column name= "previousAssigneeClassPK" type= "long" />
<column name= "currentAssigneeClassName" type= "String" />
<column name= "currentAssigneeClassPK" type= "long" />
<column name= "type" type= "String" />
<column name= "comment" type= "String" />
<column name= "startDate" type= "Date" />
<column name= "endDate" type= "Date" />
<column name= "duration" type= "long" />
<column name= "workflowContext" type= "String" />
<!-- Order -->
<order by= "asc" >
<order-column name= "kaleoLogId" />
</order>
<!-- Finder methods -->
<finder name= "CompanyId" return-type= "Collection" >
<finder-column name= "companyId" />
</finder>
<finder name= "KaleoDefinitionId" return-type= "Collection" >
<finder-column name= "kaleoDefinitionId" />
</finder>
<finder name= "KaleoInstanceId" return-type= "Collection" >
<finder-column name= "kaleoInstanceId" />
</finder>
</entity>
<entity name= "KaleoNode" local-service= "true" remote-service= "false" table= "kaleonode" >
<!-- PK fields -->
<column name= "kaleoNodeId" 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" />
<!-- Other fields -->
<column name= "kaleoDefinitionId" type= "long" />
<column name= "name" type= "String" />
<column name= "metadata" type= "String" />
<column name= "description" type= "String" />
<column name= "type" type= "String" />
<column name= "initial" type= "boolean" />
<column name= "terminal" type= "boolean" />
<!-- Order -->
<order by= "asc" >
<order-column name= "kaleoNodeId" />
</order>
<!-- Finder methods -->
</entity>
<entity name= "KaleoInstanceToken" table= "kaleoinstancetoken" local-service= "true" remote-service= "false" >
<!-- PK fields -->
<column name= "kaleoInstanceTokenId" 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" />
<!-- Other fields -->
<column name= "kaleoDefinitionId" type= "long" />
<column name= "kaleoInstanceId" type= "long" />
<column name= "parentKaleoInstanceTokenId" type= "long" />
<column name= "currentKaleoNodeId" type= "long" />
<column name= "currentKaleoNodeName" type= "String" />
<column name= "className" type= "String" />
<column name= "classPK" type= "long" />
<column name= "completed" type= "boolean" />
<column name= "completionDate" type= "Date" />
<!-- Order -->
<order by= "asc" >
<order-column name= "kaleoInstanceTokenId" />
</order>
<!-- Finder methods -->
<finder name= "ClassPK" return-type= "KaleoInstanceToken" >
<finder-column name= "classPK" />
</finder>
</entity>
<entity name= "KaleoTaskInstanceToken" table= "kaleotaskinstancetoken" local-service= "true" remote-service= "false" >
<!-- PK fields -->
<column name= "kaleoTaskInstanceTokenId" 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" />
<!-- Other fields -->
<column name= "kaleoDefinitionId" type= "long" />
<column name= "kaleoInstanceId" type= "long" />
<column name= "kaleoInstanceTokenId" type= "long" />
<column name= "kaleoTaskId" type= "long" />
<column name= "kaleoTaskName" type= "String" />
<column name= "className" type= "String" />
<column name= "classPK" type= "long" />
<column name= "completionUserId" type= "long" />
<column name= "completed" type= "boolean" />
<column name= "completionDate" type= "Date" />
<column name= "dueDate" type= "Date" />
<column name= "workflowContext" type= "String" />
<!-- Order -->
<order by= "asc" >
<order-column name= "kaleoTaskInstanceTokenId" />
</order>
<finder name= "ClassPK" return-type= "KaleoTaskInstanceToken" >
<finder-column name= "classPK" />
</finder>
</entity>
<entity name= "KaleoTask" table= "kaleotask" local-service= "true" remote-service= "false" >
<!-- PK fields -->
<column name= "kaleoTaskId" 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" />
<!-- Other fields -->
<column name= "kaleoDefinitionId" type= "long" />
<column name= "kaleoNodeId" type= "long" />
<column name= "name" type= "String" />
<column name= "description" type= "String" />
<!-- Order -->
<order by= "asc" >
<order-column name= "kaleoTaskId" />
</order>
<!-- Finder methods -->
</entity>
</service-builder>