Class AntsAppointmentUtils
- 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 Summary
Fields Modifier and Type Field Description static StringCONSTANT_UNDERSCORE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgenerateAntsMeetingPointId(int resourceId)Generate the value of a "meeting_point_id" parameter with the specified resource ID.static StringgetWebAppName()Get the value of the current webApp's name from a file property
-
-
-
Field Detail
-
CONSTANT_UNDERSCORE
public static final String CONSTANT_UNDERSCORE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-