java.lang.Object
fr.paris.lutece.plugins.workflow.modules.appointmentants.util.AntsAppointmentUtils

public final class AntsAppointmentUtils extends Object
General utility methods for the ANTS Appointment Workflow
  • Field Details

  • Method Details

    • generateAntsMeetingPointId

      public static String generateAntsMeetingPointId(int resourceId)
      Generate the value of a "meeting_point_id" parameter with the specified resource ID. The value will have the following format:
       <webappName>_<resourceId>_<resourceType>
       
       - Example:
       
       myWebsite_123_appointment
       
      Parameters:
      resourceId - The ID of the resource processed
      Returns:
      the "meeting_point_id" value
    • getWebAppName

      public static String getWebAppName()
      Get the value of the current webApp's name from a file property
      Returns:
      the name of the webApp