code: @Override
  	public void removeByC_NotST(long CPDefinitionId, int status) {
  		for (CPInstance cpInstance : findByC_NotST(CPDefinitionId, status,
  				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
  			remove(cpInstance);
  		}
  	}
docs: Removes all the cp instances where CPDefinitionId = &#63; and status &ne; &#63; from the database.
  
  @param CPDefinitionId the cp definition ID
  @param status the status