@Indexable(type = IndexableType.DELETE)
	@Override
	public CPRule deleteCPRule(CPRule cpRule) throws PortalException {
		return cpRulePersistence.remove(cpRule);
	}
@ Indexable ( type = IndexableType . DELETE ) @ Override public CPRule deleteCPRule ( CPRule cpRule ) throws PortalException { return cpRulePersistence . remove ( cpRule ) ; }
Deletes the cp rule from the database. Also notifies the appropriate model listeners.

@param cpRule the cp rule
@return the cp rule that was removed
@throws PortalException