@Override
	public CPAttachmentFileEntry findByUUID_G(String uuid, long groupId)
		throws NoSuchCPAttachmentFileEntryException {
		CPAttachmentFileEntry cpAttachmentFileEntry = fetchByUUID_G(uuid,
				groupId);

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

			msg.append(_NO_SUCH_ENTITY_WITH_KEY);

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

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

			msg.append("}");

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

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

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

@param uuid the uuid
@param groupId the group ID
@return the matching cp attachment file entry
@throws NoSuchCPAttachmentFileEntryException if a matching cp attachment file entry could not be found