sito per le richieste......
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.

218 righe
6.2 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.mailmanager">
<author></author>
<namespace>portos_Mail</namespace>
<entity name="Email" local-service="true" remote-service="true">
<!-- PK fields -->
<column name="emailId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="groupId" 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="from" type="String" />
<column name="to" type="String" />
<column name="cc" type="String" />
<column name="bcc" type="String" />
<column name="bulkAddresses" type="String" />
<column name="subject" type="String" />
<column name="body" type="String" />
<column name="htmlFormat" type="boolean" />
<column name="replyTo" type="String" />
<column name="messageId" type="String" />
<column name="inReplyTo" type="String" />
<column name="smtpHost" type="String" />
<column name="smtpPort" type="int" />
<column name="smtpSecure" type="boolean" />
<column name="smtpUsername" type="String" />
<column name="smtpPassword" type="String" />
<column name="sentDate" type="Date" />
<column name="sent" type="boolean" />
<column name="cancel" type="boolean" />
<column name="statusMessage" type="String" />
<column name="classNameId" type="long" />
<column name="classPK" type="long" />
<column name="templateName" type="String"></column>
<!-- Order -->
<order>
<order-column name="sentDate" order-by="desc" />
<order-column name="createDate" order-by="desc" />
</order>
<!-- Finder methods -->
<finder name="Company" return-type="Collection">
<finder-column name="companyId" />
</finder>
<finder name="C_G" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
</finder>
<finder name="C_T" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="templateName" />
</finder>
<finder name="C_G_T" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="templateName" />
</finder>
<finder name="C_C_C" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="classNameId" />
<finder-column name="classPK" />
</finder>
<finder name="C_G_C_C" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="classNameId" />
<finder-column name="classPK" />
</finder>
<!-- References -->
<reference package-path="com.liferay.portal" entity="Company" />
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
</entity>
<entity name="EmailAttachment" local-service="true"
remote-service="false">
<!-- PK fields -->
<column name="emailId" type="long" primary="true" />
<column name="fileEntryId" type="long" primary="true" />
<!-- Finder methods -->
<finder name="EmailId" return-type="Collection">
<finder-column name="emailId" />
</finder>
<finder name="FileEntryId" return-type="EmailAttachment">
<finder-column name="fileEntryId" />
</finder>
<!-- References -->
<reference package-path="com.liferay.portal" entity="Company" />
<reference package-path="com.liferay.portlet.documentlibrary"
entity="DLApp" />
</entity>
<entity name="EmailTemplate" local-service="true"
remote-service="true">
<!-- PK fields -->
<column name="emailTemplateId" 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="templateName" type="String" />
<column name="from" type="String" />
<column name="to" type="String" />
<column name="cc" type="String" />
<column name="ccn" type="String" />
<column name="subject" type="String" />
<column name="body" type="String" />
4 anni fa
<column name="attachmentPermitted" type="boolean" />
5 anni fa
<column name="additionalParameters" type="String" />
<!-- Order -->
<order by="asc">
<order-column name="emailTemplateId" />
</order>
<!-- Finder methods -->
<finder name="Company" return-type="Collection">
<finder-column name="companyId" />
</finder>
<finder name="C_GroupId" return-type="Collection">
<finder-column name="companyId" />
<finder-column name="groupId" />
</finder>
<finder name="C_GroupId_Name" return-type="EmailTemplate" unique="true">
<finder-column name="companyId" />
<finder-column name="groupId" />
<finder-column name="templateName" />
</finder>
<finder name="C_Name" return-type="EmailTemplate" unique="true">
<finder-column name="companyId" />
<finder-column name="templateName" />
</finder>
</entity>
<exceptions>
<exception>RequiredEmailFrom</exception>
<exception>RequiredEmailTo</exception>
<exception>RequiredEmailSubject</exception>
<exception>RequiredEmailBody</exception>
<exception>EmailFrom</exception>
<exception>EmailTo</exception>
<exception>EmailCc</exception>
<exception>EmailBcc</exception>
<exception>EmailBulkAddresses</exception>
<exception>EmailReplyTo</exception>
<exception>EmailAttachmentTitle</exception>
<exception>EmailAttachmentFile</exception>
<exception>RequiredEmailTemplateName</exception>
<exception>RequiredEmailTemplateFrom</exception>
<exception>RequiredEmailTemplateSubject</exception>
<exception>RequiredEmailTemplateBody</exception>
<exception>EmailTemplateFrom</exception>
<exception>EmailTemplateTo</exception>
<exception>EmailTemplateCc</exception>
<exception>EmailTemplateCcn</exception>
<exception>EmailTemplateSubject</exception>
<exception>EmailTemplateBody</exception>
</exceptions>
</service-builder>