modules/liferay-travel/liferay-travel-service/src/main/java/com/liferay/travel/service/persistence/impl/StagePersistenceImpl.java
/**
	 * Returns the stage with the primary key or throws a <code>com.liferay.portal.kernel.exception.NoSuchModelException</code> if it could not be found.
	 *
	 * @param primaryKey the primary key of the stage
	 * @return the stage
	 * @throws NoSuchStageException if a stage with the primary key could not be found
	 */
Returns the stage with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
@param primaryKey the primary key of the stage
@return the stage
@throws NoSuchStageException if a stage with the primary key could not be found
Returns the stage with the primary key or throws a com . liferay . portal . kernel . exception . NoSuchModelException if it could not be found . @param primaryKey the primary key of the stage @return the stage @throws NoSuchStageException if a stage with the primary key could not be found
@Override
	public Stage findByPrimaryKey(Serializable primaryKey)
		throws NoSuchStageException {
		Stage stage = fetchByPrimaryKey(primaryKey);
		if (stage == null) {
			if (_log.isDebugEnabled()) {
				_log.debug(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey);
			}
			throw new NoSuchStageException(
				_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey);
		}
		return stage;
	}
@ Override public Stage findByPrimaryKey ( Serializable primaryKey ) throws NoSuchStageException { Stage stage = fetchByPrimaryKey ( primaryKey ) ; if ( stage == null ) { if ( _log . isDebugEnabled ( ) ) { _log . debug ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } throw new NoSuchStageException ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } return stage ; }
Returns the stage with the primary key or throws a <code>com.liferay.portal.kernel.exception.NoSuchModelException</code> if it could not be found.
Returns the stage with the primary key or throws a <code > com . liferay . portal . kernel . exception . NoSuchModelException< / code > if it could not be found .