getResourceId(String code) Return the resource id for the given activity code.
Note[HD]: Unfortunately the name convention for resources is
different from the name convention used in ActivityType for
activity codes.
Returns the activitytype constant given its database value.
Parameters: code - The internal code of the type (the value that gets stored in database) A constant AcivityType matching the given code
Return the resource id for the given activity code.
Note[HD]: Unfortunately the name convention for resources is
different from the name convention used in ActivityType for
activity codes. We should switch to the convention for resources
here. Thus we can avoid this remapping from code to resource id.
Parameters: code -