Class GetRecipientUuidMethod

java.lang.Object
ch.tocco.nice2.optional.newsletter.impl.content.GetRecipientUuidMethod
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

public class GetRecipientUuidMethod extends Object implements freemarker.template.TemplateMethodModelEx
Method to get field `uuid` of an entity in privileged mode. Usage: `[#assign uuid = getRecipientUuid(myEntity) /]`
  • Constructor Details

    • GetRecipientUuidMethod

      public GetRecipientUuidMethod(SecurityManager securityManager)
  • Method Details

    • exec

      public String exec(List arguments) throws freemarker.template.TemplateModelException
      Specified by:
      exec in interface freemarker.template.TemplateMethodModel
      Specified by:
      exec in interface freemarker.template.TemplateMethodModelEx
      Throws:
      freemarker.template.TemplateModelException