It sort of does. You want a dashcam that has true parking lot mode that buffers the recording. On those models, the camera is always "recording" even when parked but will save the video from like 10 seconds before the hit and how ever long you have it set to record after. On the a119, and other budget dashcams, it just starts recording when it feels the hit. There is also a lag for when it starts up so you may miss what hit you.
Something like the QVIA R935 DUO, which I've installed on my neighbors car and works great, would do the trick but there are many out there that will work.