Class AntsAppointmentUtils
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.appointmentants.util.AntsAppointmentUtils
General utility methods for the ANTS Appointment Workflow
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgenerateAntsMeetingPointId(int resourceId) Generate the value of a "meeting_point_id" parameter with the specified resource ID.static StringGet the value of the current webApp's name from a file property
-
Field Details
-
CONSTANT_UNDERSCORE
- See Also:
-
-
Method Details
-
generateAntsMeetingPointId
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
Get the value of the current webApp's name from a file property- Returns:
- the name of the webApp
-