@PortalTransactional
public void deleteProfileSelection(final IProfileSelection profileSelection) {
Validate.notNull(profileSelection, "Cannot delete a null profileSelection.");
final IProfileSelection persistentProfileSelection;
if (getEntityManager().contains(profileSelection)) {
persistentProfileSelection = profileSelection;
} else {
persistentProfileSelection = getEntityManager().merge(profileSelection);