com.liferay.portal.tools.servicebuilder.dependencies.finder.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of portal-impl Show documentation
Show all versions of portal-impl Show documentation
Contains implementation for the portal services.
package ${packagePath}.service.persistence;
import aQute.bnd.annotation.ProviderType;
<#if pluginName == "">
@ProviderType
public interface ${entity.name}Finder {
<#list methods as method>
<#if !method.isConstructor() && method.isPublic()>
public ${serviceBuilder.getTypeGenericsName(method.returns)} ${method.name}(
<#list method.parameters as parameter>
${serviceBuilder.getTypeGenericsName(parameter.type)} ${parameter.name}
<#if parameter_has_next>
,
)
<#list method.exceptions as exception>
<#if exception_index == 0>
throws
${exception.value}
<#if exception_has_next>
,
;
}