@Indexable(type = IndexableType.DELETE)
	@Override
	public CPDefinition deleteCPDefinition(CPDefinition cpDefinition)
		throws PortalException {
		return cpDefinitionPersistence.remove(cpDefinition);
	}
@ Indexable ( type = IndexableType . DELETE ) @ Override public CPDefinition deleteCPDefinition ( CPDefinition cpDefinition ) throws PortalException { return cpDefinitionPersistence . remove ( cpDefinition ) ; }
Deletes the cp definition from the database. Also notifies the appropriate model listeners.

@param cpDefinition the cp definition
@return the cp definition that was removed
@throws PortalException