LPS-49013 Change getPrimaryKeyObj() with getTrashEntryClassPK()
LPS-49013 Refactor