@Override
	public CPAttachmentFileEntry findByC_C_F(long classNameId, long classPK,
		long fileEntryId) throws NoSuchCPAttachmentFileEntryException {
		CPAttachmentFileEntry cpAttachmentFileEntry = fetchByC_C_F(classNameId,
				classPK, fileEntryId);

		if (cpAttachmentFileEntry == null) {
			StringBundler msg = new StringBundler(8);

			msg.append(_NO_SUCH_ENTITY_WITH_KEY);

			msg.append("classNameId=");
			msg.append(classNameId);

			msg.append(", classPK=");
			msg.append(classPK);

			msg.append(", fileEntryId=");
			msg.append(fileEntryId);

			msg.append("}");

			if (_log.isDebugEnabled()) {
				_log.debug(msg.toString());
			}

			throw new NoSuchCPAttachmentFileEntryException(msg.toString());
		}

		return cpAttachmentFileEntry;
	}
@ Override public CPAttachmentFileEntry findByC_C_F ( long classNameId , long classPK , long fileEntryId ) throws NoSuchCPAttachmentFileEntryException { CPAttachmentFileEntry cpAttachmentFileEntry = fetchByC_C_F ( classNameId , classPK , fileEntryId ) ; if ( cpAttachmentFileEntry == null ) { StringBundler msg = new StringBundler ( 8 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "classNameId=" ) ; msg . append ( classNameId ) ; msg . append ( ", classPK=" ) ; msg . append ( classPK ) ; msg . append ( ", fileEntryId=" ) ; msg . append ( fileEntryId ) ; msg . append ( "}" ) ; if ( _log . isDebugEnabled ( ) ) { _log . debug ( msg . toString ( ) ) ; } throw new NoSuchCPAttachmentFileEntryException ( msg . toString ( ) ) ; } return cpAttachmentFileEntry ; }
Returns the cp attachment file entry where classNameId = &#63; and classPK = &#63; and fileEntryId = &#63; or throws a {@link NoSuchCPAttachmentFileEntryException} if it could not be found.

@param classNameId the class name ID
@param classPK the class pk
@param fileEntryId the file entry ID
@return the matching cp attachment file entry
@throws NoSuchCPAttachmentFileEntryException if a matching cp attachment file entry could not be found