@Override
	public CPDisplayLayout findByC_C(long classNameId, long classPK)
		throws NoSuchCPDisplayLayoutException {
		CPDisplayLayout cpDisplayLayout = fetchByC_C(classNameId, classPK);

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

			msg.append(_NO_SUCH_ENTITY_WITH_KEY);

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

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

			msg.append("}");

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

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

		return cpDisplayLayout;
	}
@ Override public CPDisplayLayout findByC_C ( long classNameId , long classPK ) throws NoSuchCPDisplayLayoutException { CPDisplayLayout cpDisplayLayout = fetchByC_C ( classNameId , classPK ) ; if ( cpDisplayLayout == null ) { StringBundler msg = new StringBundler ( 6 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "classNameId=" ) ; msg . append ( classNameId ) ; msg . append ( ", classPK=" ) ; msg . append ( classPK ) ; msg . append ( "}" ) ; if ( _log . isDebugEnabled ( ) ) { _log . debug ( msg . toString ( ) ) ; } throw new NoSuchCPDisplayLayoutException ( msg . toString ( ) ) ; } return cpDisplayLayout ; }
Returns the cp display layout where classNameId = &#63; and classPK = &#63; or throws a {@link NoSuchCPDisplayLayoutException} if it could not be found.

@param classNameId the class name ID
@param classPK the class pk
@return the matching cp display layout
@throws NoSuchCPDisplayLayoutException if a matching cp display layout could not be found