code: public static int countByC_C_T_NotST(long classNameId, long classPK,
  		int type, int status) {
  		return getPersistence()
  				   .countByC_C_T_NotST(classNameId, classPK, type, status);
  	}
docs: Returns the number of cp attachment file entries where classNameId = &#63; and classPK = &#63; and type = &#63; and status &ne; &#63;.
  
  @param classNameId the class name ID
  @param classPK the class pk
  @param type the type
  @param status the status
  @return the number of matching cp attachment file entries