So I've been reading about Apex Managed Sharing. I understand that this is implemented by creating a batch class, and then associating that class with a custom object. I have two questions.
- When exactly is this class run? Will the class run whenever a new record is inserted?
- If the answer to question 1 is 'yes', do I need to put any filter in the query locator so that only records newly inserted are processed, or is this done automatically?