UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

5,929 lines (1,393 loc) 373 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>Chevre Domain Library for Node.js Class: MongoRepository</title> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css"> <link type="text/css" rel="stylesheet" href="styles/site.cosmo.css"> </head> <body> <div class="navbar navbar-default navbar-fixed-top navbar-inverse"> <div class="container"> <div class="navbar-header"> <a class="navbar-brand" href="index.html">Chevre Domain Library for Node.js</a> <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="navbar-collapse collapse" id="topNavigation"> <ul class="nav navbar-nav"> <li class="dropdown"> <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a> <ul class="dropdown-menu "> <li><a href="MongoRepository.html">MongoRepository</a></li><li><a href="RedisRepository.html">RedisRepository</a></li><li><a href="Repository.html">Repository</a></li> </ul> </li> <li class="dropdown"> <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a> <ul class="dropdown-menu "> <li><a href="global.html#abort">abort</a></li><li><a href="global.html#accountTitle_1">accountTitle_1</a></li><li><a href="global.html#aggregateScreeningEvent">aggregateScreeningEvent</a></li><li><a href="global.html#AggregationService">AggregationService</a></li><li><a href="global.html#call">call</a></li><li><a href="global.html#cancel">cancel</a></li><li><a href="global.html#cancelPendingReservation">cancelPendingReservation</a></li><li><a href="global.html#cancelReservation">cancelReservation</a></li><li><a href="global.html#confirm">confirm</a></li><li><a href="global.html#confirmReservation">confirmReservation</a></li><li><a href="global.html#createDebug">createDebug</a></li><li><a href="global.html#default">default</a></li><li><a href="global.html#execute">execute</a></li><li><a href="global.html#executeByName">executeByName</a></li><li><a href="global.html#exportTasks">exportTasks</a></li><li><a href="global.html#exportTasksById">exportTasksById</a></li><li><a href="global.html#mongoose">mongoose</a></li><li><a href="global.html#redis">redis</a></li><li><a href="global.html#retry">retry</a></li><li><a href="global.html#schema">schema</a></li><li><a href="global.html#searchScreeningEventTicketOffers">searchScreeningEventTicketOffers</a></li><li><a href="global.html#sortOrder4executionOfTasks">sortOrder4executionOfTasks</a></li><li><a href="global.html#start">start</a></li> </ul> </li> </ul> <div class="col-sm-3 col-md-3"> <form class="navbar-form" role="search"> <div class="input-group"> <input type="text" class="form-control" placeholder="Search" name="q" id="search-input"> <div class="input-group-btn"> <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button> </div> </div> </form> </div> </div> </div> </div> <div class="container" id="toc-content"> <div class="row"> <div class="col-md-8"> <div id="main"> <h1 class="page-title">Class: MongoRepository</h1> <section> <header> <h2> MongoRepository </h2> <div class="class-description"><p>Mongoリポジトリー</p></div> </header> <article> <div class="container-overview"> <hr> <dt> <h4 class="name" id="MongoRepository"><span class="type-signature"></span>new MongoRepository()</h4> </dt> <dd> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_accountTitle.js.html">repo/accountTitle.js</a>, <a href="repo_accountTitle.js.html#sunlight-1-line-16">line 16</a> </li> </ul> </dd> </dl> </dd> </div> <h3 class="subsection-title">Methods</h3> <dl> <hr> <dt> <h4 class="name" id="attend"><span class="type-signature"></span>attend()</h4> </dt> <dd> <div class="description"> <p>入場する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_reservation.js.html">repo/reservation.js</a>, <a href="repo_reservation.js.html#sunlight-1-line-242">line 242</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="cancel"><span class="type-signature"></span>cancel()</h4> </dt> <dd> <div class="description"> <p>アクション取消</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_action.js.html">repo/action.js</a>, <a href="repo_action.js.html#sunlight-1-line-50">line 50</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="cancel"><span class="type-signature"></span>cancel()</h4> </dt> <dd> <div class="description"> <p>予約取消</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_reservation.js.html">repo/reservation.js</a>, <a href="repo_reservation.js.html#sunlight-1-line-209">line 209</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="cancel"><span class="type-signature"></span>cancel()</h4> </dt> <dd> <div class="description"> <p>取引を中止する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-225">line 225</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="checkIn"><span class="type-signature"></span>checkIn()</h4> </dt> <dd> <div class="description"> <p>チェックイン(発券)する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_reservation.js.html">repo/reservation.js</a>, <a href="repo_reservation.js.html#sunlight-1-line-224">line 224</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="complete"><span class="type-signature"></span>complete()</h4> </dt> <dd> <div class="description"> <p>アクション完了</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_action.js.html">repo/action.js</a>, <a href="repo_action.js.html#sunlight-1-line-31">line 31</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="confirm"><span class="type-signature"></span>confirm()</h4> </dt> <dd> <div class="description"> <p>予約確定</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_reservation.js.html">repo/reservation.js</a>, <a href="repo_reservation.js.html#sunlight-1-line-197">line 197</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="confirm"><span class="type-signature"></span>confirm()</h4> </dt> <dd> <div class="description"> <p>取引を確定する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-136">line 136</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="createTicketType"><span class="type-signature"></span>createTicketType()</h4> </dt> <dd> <div class="description"> <p>券種を作成する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-209">line 209</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="createTicketTypeGroup"><span class="type-signature"></span>createTicketTypeGroup()</h4> </dt> <dd> <div class="description"> <p>券種グループを作成する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-132">line 132</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="deleteMovie"><span class="type-signature"></span>deleteMovie()</h4> </dt> <dd> <div class="description"> <p>映画作品を削除する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_creativeWork.js.html">repo/creativeWork.js</a>, <a href="repo_creativeWork.js.html#sunlight-1-line-159">line 159</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="deleteTicketType"><span class="type-signature"></span>deleteTicketType()</h4> </dt> <dd> <div class="description"> <p>券種を削除する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-281">line 281</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="deleteTicketTypeGroup"><span class="type-signature"></span>deleteTicketTypeGroup()</h4> </dt> <dd> <div class="description"> <p>券種グループを削除する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-199">line 199</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findById"><span class="type-signature"></span>findById()</h4> </dt> <dd> <div class="description"> <p>IDで取得する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_action.js.html">repo/action.js</a>, <a href="repo_action.js.html#sunlight-1-line-84">line 84</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findById"><span class="type-signature"></span>findById()</h4> </dt> <dd> <div class="description"> <p>IDでイベントを取得する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_event.js.html">repo/event.js</a>, <a href="repo_event.js.html#sunlight-1-line-383">line 383</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findById"><span class="type-signature"></span>findById()</h4> </dt> <dd> <div class="description"> <p>IDで取引を取得する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-105">line 105</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findInProgressById"><span class="type-signature"></span>findInProgressById()</h4> </dt> <dd> <div class="description"> <p>進行中の取引を取得する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-120">line 120</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findMovieByIdentifier"><span class="type-signature"></span>findMovieByIdentifier()</h4> </dt> <dd> <div class="description"> <p>識別子で映画作品を検索する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_creativeWork.js.html">repo/creativeWork.js</a>, <a href="repo_creativeWork.js.html#sunlight-1-line-109">line 109</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findMovieTheaterByBranchCode"><span class="type-signature"></span>findMovieTheaterByBranchCode()</h4> </dt> <dd> <div class="description"> <p>枝番号で劇場検索</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_place.js.html">repo/place.js</a>, <a href="repo_place.js.html#sunlight-1-line-87">line 87</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findScreeningEventReservationById"><span class="type-signature"></span>findScreeningEventReservationById()</h4> </dt> <dd> <div class="description"> <p>IDで上映イベント予約を検索する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_reservation.js.html">repo/reservation.js</a>, <a href="repo_reservation.js.html#sunlight-1-line-181">line 181</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findTicketTypeById"><span class="type-signature"></span>findTicketTypeById()</h4> </dt> <dd> <div class="description"> <p>IDで件券種を検索する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-218">line 218</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findTicketTypeGroupById"><span class="type-signature"></span>findTicketTypeGroupById()</h4> </dt> <dd> <div class="description"> <p>IDで件券種グループを検索する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-141">line 141</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="giveUp"><span class="type-signature"></span>giveUp()</h4> </dt> <dd> <div class="description"> <p>アクション失敗</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_action.js.html">repo/action.js</a>, <a href="repo_action.js.html#sunlight-1-line-65">line 65</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="makeExpired"><span class="type-signature"></span>makeExpired()</h4> </dt> <dd> <div class="description"> <p>取引を期限切れにする</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-209">line 209</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="reexportTasks"><span class="type-signature"></span>reexportTasks()</h4> </dt> <dd> <div class="description"> <p>タスクエクスポートリトライ<br>todo updatedAtを基準にしているが、タスクエクスポートトライ日時を持たせた方が安全か?</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-184">line 184</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="save"><span class="type-signature"></span>save()</h4> </dt> <dd> <div class="description"> <p>保管</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_serviceType.js.html">repo/serviceType.js</a>, <a href="repo_serviceType.js.html#sunlight-1-line-38">line 38</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="saveMovie"><span class="type-signature"></span>saveMovie()</h4> </dt> <dd> <div class="description"> <p>映画作品を保管する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_creativeWork.js.html">repo/creativeWork.js</a>, <a href="repo_creativeWork.js.html#sunlight-1-line-98">line 98</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="saveMovieTheater"><span class="type-signature"></span>saveMovieTheater()</h4> </dt> <dd> <div class="description"> <p>劇場を保管する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_place.js.html">repo/place.js</a>, <a href="repo_place.js.html#sunlight-1-line-43">line 43</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="saveScreeningEvent"><span class="type-signature"></span>saveScreeningEvent()</h4> </dt> <dd> <div class="description"> <p>上映イベントを保管する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_event.js.html">repo/event.js</a>, <a href="repo_event.js.html#sunlight-1-line-297">line 297</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="saveScreeningEventSeries"><span class="type-signature"></span>saveScreeningEventSeries()</h4> </dt> <dd> <div class="description"> <p>上映イベントを保管する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_event.js.html">repo/event.js</a>, <a href="repo_event.js.html#sunlight-1-line-273">line 273</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="search"><span class="type-signature"></span>search()</h4> </dt> <dd> <div class="description"> <p>検索</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_serviceType.js.html">repo/serviceType.js</a>, <a href="repo_serviceType.js.html#sunlight-1-line-59">line 59</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="search"><span class="type-signature"></span>search()</h4> </dt> <dd> <div class="description"> <p>取引を検索する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-267">line 267</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="searchMovies"><span class="type-signature"></span>searchMovies()</h4> </dt> <dd> <div class="description"> <p>映画作品を検索する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_creativeWork.js.html">repo/creativeWork.js</a>, <a href="repo_creativeWork.js.html#sunlight-1-line-135">line 135</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="searchMovieTheaters"><span class="type-signature"></span>searchMovieTheaters()</h4> </dt> <dd> <div class="description"> <p>劇場検索</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_place.js.html">repo/place.js</a>, <a href="repo_place.js.html#sunlight-1-line-61">line 61</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="searchScreeningEventReservations"><span class="type-signature"></span>searchScreeningEventReservations()</h4> </dt> <dd> <div class="description"> <p>上映イベント予約を検索する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_reservation.js.html">repo/reservation.js</a>, <a href="repo_reservation.js.html#sunlight-1-line-157">line 157</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="searchScreeningEvents"><span class="type-signature"></span>searchScreeningEvents()</h4> </dt> <dd> <div class="description"> <p>上映イベントを検索する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_event.js.html">repo/event.js</a>, <a href="repo_event.js.html#sunlight-1-line-328">line 328</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="searchScreeningEventSeries"><span class="type-signature"></span>searchScreeningEventSeries()</h4> </dt> <dd> <div class="description"> <p>上映イベントシリーズを検索する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_event.js.html">repo/event.js</a>, <a href="repo_event.js.html#sunlight-1-line-359">line 359</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="searchTicketTypeGroups"><span class="type-signature"></span>searchTicketTypeGroups()</h4> </dt> <dd> <div class="description"> <p>券種グループを検索する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-166">line 166</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="searchTicketTypes"><span class="type-signature"></span>searchTicketTypes()</h4> </dt> <dd> <div class="description"> <p>券種を検索する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-243">line 243</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="setTasksExportedById"><span class="type-signature"></span>setTasksExportedById()</h4> </dt> <dd> <div class="description"> <p>set task status exported by transaction id<br>IDでタスクをエクスポート済に変更する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-198">line 198</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="start"><span class="type-signature"></span>start()</h4> </dt> <dd> <div class="description"> <p>アクション開始</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_action.js.html">repo/action.js</a>, <a href="repo_action.js.html#sunlight-1-line-23">line 23</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="start"><span class="type-signature"></span>start()</h4> </dt> <dd> <div class="description"> <p>取引を開始する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-97">line 97</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="startExportTasks"><span class="type-signature"></span>startExportTasks()</h4> </dt> <dd> <div class="description"> <p>タスク未エクスポートの取引をひとつ取得してエクスポートを開始する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-171">line 171</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="updateTicketType"><span class="type-signature"></span>updateTicketType()</h4> </dt> <dd> <div class="description"> <p>券種を更新する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-268">line 268</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="updateTicketTypeGroup"><span class="type-signature"></span>updateTicketTypeGroup()</h4> </dt> <dd> <div class="description"> <p>券種グループを更新する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-186">line 186</a> </li> </ul> </dd> </dl> </dd> </dl> </article> </section> <h1 class="page-title">Class: MongoRepository</h1> <section> <header> <h2> MongoRepository </h2> <div class="class-description"><p>アクションリポジトリー</p></div> </header> <article> <div class="container-overview"> <hr> <dt> <h4 class="name" id="MongoRepository"><span class="type-signature"></span>new MongoRepository()</h4> </dt> <dd> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_action.js.html">repo/action.js</a>, <a href="repo_action.js.html#sunlight-1-line-16">line 16</a> </li> </ul> </dd> </dl> </dd> </div> <h3 class="subsection-title">Methods</h3> <dl> <hr> <dt> <h4 class="name" id="attend"><span class="type-signature"></span>attend()</h4> </dt> <dd> <div class="description"> <p>入場する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_reservation.js.html">repo/reservation.js</a>, <a href="repo_reservation.js.html#sunlight-1-line-242">line 242</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="cancel"><span class="type-signature"></span>cancel()</h4> </dt> <dd> <div class="description"> <p>アクション取消</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_action.js.html">repo/action.js</a>, <a href="repo_action.js.html#sunlight-1-line-50">line 50</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="cancel"><span class="type-signature"></span>cancel()</h4> </dt> <dd> <div class="description"> <p>予約取消</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_reservation.js.html">repo/reservation.js</a>, <a href="repo_reservation.js.html#sunlight-1-line-209">line 209</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="cancel"><span class="type-signature"></span>cancel()</h4> </dt> <dd> <div class="description"> <p>取引を中止する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-225">line 225</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="checkIn"><span class="type-signature"></span>checkIn()</h4> </dt> <dd> <div class="description"> <p>チェックイン(発券)する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_reservation.js.html">repo/reservation.js</a>, <a href="repo_reservation.js.html#sunlight-1-line-224">line 224</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="complete"><span class="type-signature"></span>complete()</h4> </dt> <dd> <div class="description"> <p>アクション完了</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_action.js.html">repo/action.js</a>, <a href="repo_action.js.html#sunlight-1-line-31">line 31</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="confirm"><span class="type-signature"></span>confirm()</h4> </dt> <dd> <div class="description"> <p>予約確定</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_reservation.js.html">repo/reservation.js</a>, <a href="repo_reservation.js.html#sunlight-1-line-197">line 197</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="confirm"><span class="type-signature"></span>confirm()</h4> </dt> <dd> <div class="description"> <p>取引を確定する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-136">line 136</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="createTicketType"><span class="type-signature"></span>createTicketType()</h4> </dt> <dd> <div class="description"> <p>券種を作成する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-209">line 209</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="createTicketTypeGroup"><span class="type-signature"></span>createTicketTypeGroup()</h4> </dt> <dd> <div class="description"> <p>券種グループを作成する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-132">line 132</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="deleteMovie"><span class="type-signature"></span>deleteMovie()</h4> </dt> <dd> <div class="description"> <p>映画作品を削除する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_creativeWork.js.html">repo/creativeWork.js</a>, <a href="repo_creativeWork.js.html#sunlight-1-line-159">line 159</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="deleteTicketType"><span class="type-signature"></span>deleteTicketType()</h4> </dt> <dd> <div class="description"> <p>券種を削除する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-281">line 281</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="deleteTicketTypeGroup"><span class="type-signature"></span>deleteTicketTypeGroup()</h4> </dt> <dd> <div class="description"> <p>券種グループを削除する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_ticketType.js.html">repo/ticketType.js</a>, <a href="repo_ticketType.js.html#sunlight-1-line-199">line 199</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findById"><span class="type-signature"></span>findById()</h4> </dt> <dd> <div class="description"> <p>IDで取得する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_action.js.html">repo/action.js</a>, <a href="repo_action.js.html#sunlight-1-line-84">line 84</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findById"><span class="type-signature"></span>findById()</h4> </dt> <dd> <div class="description"> <p>IDでイベントを取得する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_event.js.html">repo/event.js</a>, <a href="repo_event.js.html#sunlight-1-line-383">line 383</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findById"><span class="type-signature"></span>findById()</h4> </dt> <dd> <div class="description"> <p>IDで取引を取得する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-105">line 105</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findInProgressById"><span class="type-signature"></span>findInProgressById()</h4> </dt> <dd> <div class="description"> <p>進行中の取引を取得する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_transaction.js.html">repo/transaction.js</a>, <a href="repo_transaction.js.html#sunlight-1-line-120">line 120</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findMovieByIdentifier"><span class="type-signature"></span>findMovieByIdentifier()</h4> </dt> <dd> <div class="description"> <p>識別子で映画作品を検索する</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_creativeWork.js.html">repo/creativeWork.js</a>, <a href="repo_creativeWork.js.html#sunlight-1-line-109">line 109</a> </li> </ul> </dd> </dl> </dd> <hr> <dt> <h4 class="name" id="findMovieTheaterByBranchCode"><span class="type-signature"></span>findMovieTheaterByBranchCode()</h4> </dt> <dd> <div class="description"> <p>枝番号で劇場検索</p> </div> <dl class="details"> <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt> <dd class="tag-source"> <ul class="dummy"> <li> <a href="repo_place.js.html">repo/place.js</a>, <a href="repo_place.js.html#sunlight