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.
81 righe
4.1 KiB
81 righe
4.1 KiB
<?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.audit"> |
|
<author>Marco</author> |
|
<namespace>portos_AUDIT</namespace> |
|
<entity name="AuditEvent" local-service="true" remote-service="false"> |
|
<column name="auditEventId" type="long" primary="true"></column> |
|
<column name="companyId" type="long"></column> |
|
<column name="createDate" type="Date"></column> |
|
<!-- Dati dell'utente che ha effettuato l'operazione --> |
|
<column name="userId" type="long"></column> |
|
<column name="userName" type="String"></column> |
|
<!-- Questo campo è utilizzato per definire la tipologia di audit STORICO, LOG --> |
|
<column name="auditEventTable" type="String"></column> |
|
<!-- 3 Campi utilizzati per categorizzare gli eventi inseriti e migliorare la ricerca --> |
|
<column name="eventType" type="String"></column> |
|
<column name="eventCategory" type="String"></column> |
|
<column name="eventAction" type="String"></column> |
|
<!--3 Campi per stabilire quale è l'oggetto di interesse in caso di urcgroupid= 0 si riferisce ad un evento globale--> |
|
<column name="classNameId" type="long"></column> |
|
<column name="classPK" type="String"></column> |
|
<column name="enteGroupId" type="long"></column> |
|
<column name="enteCodice" type="String"></column> |
|
<!--2 Campi per stabilire quale è l'oggetto padre a cui è legato qeullo del log--> |
|
<column name="parentClassNameId" type="long"></column> |
|
<column name="parentClassPK" type="String"></column> |
|
<!--2 Campi per stabilire quale è l'aggetto a cui è relazionato il log (escluso il parent)--> |
|
<column name="relatedClassNameId" type="long"></column> |
|
<column name="relatedClassPK" type="String"></column> |
|
<!-- Messaggio testuale dell'evento --> |
|
<column name="message" type="String"></column> |
|
<!-- Dati per lo storico --> |
|
<column name="diff" type="String"></column> |
|
<!-- Dati generici dell'utente che ha effettuato l'operazione --> |
|
<column name="clientHost" type="String"></column> |
|
<column name="clientIP" type="String"></column> |
|
<column name="serverName" type="String"></column> |
|
<column name="serverPort" type="int"></column> |
|
<column name="sessionID" type="String"></column> |
|
<!-- Informazioni addizionale dell'evento --> |
|
<column name="additionalInfo" type="String"></column> |
|
<order by="desc"> |
|
<order-column name="createDate"></order-column> |
|
</order> |
|
<finder name="CompanyId" return-type="Collection"> |
|
<finder-column name="companyId"></finder-column> |
|
</finder> |
|
<finder name="C_ClassNameId" return-type="Collection"> |
|
<finder-column name="companyId"></finder-column> |
|
<finder-column name="classNameId"></finder-column> |
|
</finder> |
|
<finder name="C_ClassNameId_ClassPK" return-type="Collection"> |
|
<finder-column name="companyId"></finder-column> |
|
<finder-column name="classNameId"></finder-column> |
|
<finder-column name="classPK"></finder-column> |
|
</finder> |
|
<finder name="C_ClassNameId_AuditEventTable" return-type="Collection"> |
|
<finder-column name="companyId"></finder-column> |
|
<finder-column name="classNameId"></finder-column> |
|
<finder-column name="auditEventTable"></finder-column> |
|
</finder> |
|
<finder name="C_ClassNameId_ClassPK_AuditEventTable" return-type="Collection"> |
|
<finder-column name="companyId"></finder-column> |
|
<finder-column name="classNameId"></finder-column> |
|
<finder-column name="classPK"></finder-column> |
|
<finder-column name="auditEventTable"></finder-column> |
|
</finder> |
|
<finder name="C_ParentClassNameId_ParentClassPK" return-type="Collection"> |
|
<finder-column name="companyId"></finder-column> |
|
<finder-column name="parentClassNameId"></finder-column> |
|
<finder-column name="parentClassPK"></finder-column> |
|
</finder> |
|
<finder name="C_ParentClassNameId_ParentClassPK_ClassNameId" return-type="Collection"> |
|
<finder-column name="companyId"></finder-column> |
|
<finder-column name="parentClassNameId"></finder-column> |
|
<finder-column name="parentClassPK"></finder-column> |
|
<finder-column name="classNameId"></finder-column> |
|
</finder> |
|
</entity> |
|
</service-builder> |