<?xml version="1.0" encoding="UTF-8"?>
<!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.mwg.sicilia.sue" >
<author > Manifattura Web Group Srl</author>
<namespace > sicilia_sue</namespace>
<entity name= "Sportello" local-service= "true" remote-service= "true" >
<!-- PK fields -->
<column name= "sportelloId" type= "long" primary= "true" />
<!-- Group instance -->
<column name= "groupId" type= "long" />
<!-- Audit fields -->
<column name= "companyId" type= "long" />
<column name= "createDate" type= "Date" />
<column name= "createUserId" type= "long" />
<column name= "createUserName" type= "String" />
<column name= "modifiedDate" type= "Date" />
<column name= "modifiedUserId" type= "long" />
<column name= "modifiedUserName" type= "String" />
<!-- Other fields -->
<column name= "userName" type= "String" />
<column name= "email" type= "String" />
<column name= "comuneId" type= "long" />
<column name= "attivo" type= "boolean" />
<!-- Password -->
<column name= "password" type= "String" />
<column name= "passwordModifiedDate" type= "Date" />
<column name= "passwordModifiedUserId" type= "long" />
<column name= "passwordModifiedUserName" type= "String" />
<!-- Order -->
<!-- Finder methods -->
<finder return-type= "Sportello" name= "ComuneId" unique= "true" >
<finder-column name= "comuneId" />
</finder>
<finder return-type= "Sportello" name= "UserName" unique= "true" >
<finder-column name= "userName" />
</finder>
</entity>
<entity name= "ApiSetting" local-service= "true" remote-service= "true" >
<column name= "id" type= "long" primary= "true" />
<column name= "companyId" type= "long" />
<column name= "key" type= "long" />
<column name= "value" type= "String" />
<finder return-type= "ApiSetting" unique= "true" name= "CompanyIdKey" >
<finder-column name= "companyId" />
<finder-column name= "key" />
</finder>
</entity>
<exceptions >
<exception > ExpiredToken</exception>
<exception > InactiveSportello</exception>
<exception > InvalidToken</exception>
</exceptions>
</service-builder>