@Override
	public void removeByC_C_T_ST(long classNameId, long classPK, int type,
		int status) {
		for (CPAttachmentFileEntry cpAttachmentFileEntry : findByC_C_T_ST(
				classNameId, classPK, type, status, QueryUtil.ALL_POS,
				QueryUtil.ALL_POS, null)) {
			remove(cpAttachmentFileEntry);
		}
	}
@ Override public void removeByC_C_T_ST ( long classNameId , long classPK , int type , int status ) { for ( CPAttachmentFileEntry cpAttachmentFileEntry : findByC_C_T_ST ( classNameId , classPK , type , status , QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ) { remove ( cpAttachmentFileEntry ) ; } }
Removes all the cp attachment file entries where classNameId = &#63; and classPK = &#63; and type = &#63; and status = &#63; from the database.

@param classNameId the class name ID
@param classPK the class pk
@param type the type
@param status the status