Add IArchetypeService.remove(IMObjectReference) method

Description

Add an IArchetypeService.remove(IMObjectReference reference), to remove an object given its reference.
This is to avoid loading objects into the session in order to remove them, and is useful for removing Document instances, which may be very large.
It should boil down to a Hibernate Session.load(...) and followed by a Session.delete(...)
The ArchetypeRuleService implementation will need to load the referenced object if there is a rule associated with it.

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Components

Affects versions

Priority

Minor
Configure