@Indexable(type = IndexableType.DELETE)
	@Override
	public CPDefinitionInventory deleteCPDefinitionInventory(
		long CPDefinitionInventoryId) throws PortalException {
		return cpDefinitionInventoryPersistence.remove(CPDefinitionInventoryId);
	}
@ Indexable ( type = IndexableType . DELETE ) @ Override public CPDefinitionInventory deleteCPDefinitionInventory ( long CPDefinitionInventoryId ) throws PortalException { return cpDefinitionInventoryPersistence . remove ( CPDefinitionInventoryId ) ; }
Deletes the cp definition inventory with the primary key from the database. Also notifies the appropriate model listeners.

@param CPDefinitionInventoryId the primary key of the cp definition inventory
@return the cp definition inventory that was removed
@throws PortalException if a cp definition inventory with the primary key could not be found