/** * Returns the template with the ID. * * @param templateId the primary key of the template * @return the template with the ID */ public static com.liferay.dynamic.data.mapping.model.DDMTemplateSoap getTemplate( long templateId) throws RemoteException { try { com.liferay.dynamic.data.mapping.model.DDMTemplate returnValue = DDMTemplateServiceUtil.getTemplate(templateId); return com.liferay.dynamic.data.mapping.model.DDMTemplateSoap.toSoapModel(returnValue); } catch (Exception e) { _log.error(e, e); throw new RemoteException(e.getMessage()); } }
/** * Returns the template matching the group and template key. * * @param groupId the primary key of the group * @param classNameId the primary key of the class name for template's related model * @param templateKey the unique string identifying the template * @return the matching template */ public static com.liferay.dynamic.data.mapping.model.DDMTemplateSoap getTemplate( long groupId, long classNameId, String templateKey) throws RemoteException { try { com.liferay.dynamic.data.mapping.model.DDMTemplate returnValue = DDMTemplateServiceUtil.getTemplate(groupId, classNameId, templateKey); return com.liferay.dynamic.data.mapping.model.DDMTemplateSoap.toSoapModel(returnValue); } catch (Exception e) { _log.error(e, e); throw new RemoteException(e.getMessage()); } }
boolean includeAncestorTemplates) throws RemoteException { try { com.liferay.dynamic.data.mapping.model.DDMTemplate returnValue = DDMTemplateServiceUtil.getTemplate(groupId, classNameId, templateKey, includeAncestorTemplates);