Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
72 righe
2.1 KiB
72 righe
2.1 KiB
5 anni fa
|
<?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.tref.liferay.portos.maintenance">
|
||
|
<author></author>
|
||
|
<namespace>portos_maintenance</namespace>
|
||
|
|
||
|
<entity name="MaintenanceSchedule" local-service="true"
|
||
|
remote-service="true">
|
||
|
|
||
|
<!-- PK fields -->
|
||
|
|
||
|
<column name="maintenanceScheduleId" type="long" primary="true" />
|
||
|
|
||
|
<!-- 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="type" type="String" />
|
||
|
<column name="reason" type="String" />
|
||
|
<column name="portalMessage" type="String" />
|
||
|
<column name="after" type="long" />
|
||
|
<column name="end" type="Date" />
|
||
|
<column name="onreboot" type="String" />
|
||
|
<column name="status" type="String"></column>
|
||
|
<column name="statusMessage" type="String" />
|
||
|
<column name="completed" type="Boolean" />
|
||
|
|
||
|
<!-- Order -->
|
||
|
|
||
|
<order by="desc">
|
||
|
<order-column name="createDate" />
|
||
|
</order>
|
||
|
|
||
|
<!-- Finder methods -->
|
||
|
|
||
|
<finder name="Company" return-type="Collection">
|
||
|
<finder-column name="companyId" />
|
||
|
</finder>
|
||
|
|
||
|
<finder name="C_Completed" return-type="Collection">
|
||
|
<finder-column name="companyId" />
|
||
|
<finder-column name="completed" />
|
||
|
</finder>
|
||
|
|
||
|
<finder name="Completed_Onreboot" return-type="Collection">
|
||
|
<finder-column name="completed" />
|
||
|
<finder-column name="onreboot"></finder-column>
|
||
|
</finder>
|
||
|
|
||
|
<finder name="Status" return-type="Collection">
|
||
|
<finder-column name="status" />
|
||
|
</finder>
|
||
|
|
||
|
</entity>
|
||
|
|
||
|
<exceptions>
|
||
|
<exception>RequiredMaintenanceType</exception>
|
||
|
<exception>RequiredMaintenanceReason</exception>
|
||
|
<exception>RequiredMaintenanceOnReboot</exception>
|
||
|
<exception>MaintenanceType</exception>
|
||
|
<exception>MaintenanceStatus</exception>
|
||
|
<exception>MaintenanceAfter</exception>
|
||
|
<exception>MaintenanceEnd</exception>
|
||
|
<exception>MaintenanceOnReboot</exception>
|
||
|
</exceptions>
|
||
|
</service-builder>
|