@@ -82,112 +82,112 @@ public interface PojoRepository<T, ID extends Serializable> {
8282 * serialized JSON format.
8383 */
8484 public void write (T entity )
85- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
85+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
8686 /** Does everything in {@link #write(Object) write(T)} but also adds your collections to the
8787 * persisted instance.
8888 */
8989 public void write (T entity , String ... collections )
90- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
90+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
9191 /** Does everything in {@link #write(Object) write(T)} but in your
9292 * <a href="http://docs.marklogic.com/guide/app-dev/transactions">
9393 * multi-statement transaction</a> context.
9494 */
9595 public void write (T entity , Transaction transaction )
96- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
96+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
9797 /** Does everything in {@link #write(Object) write(T)} but also adds your collections to the
9898 * persisted instance and performs the write in your
9999 * <a href="http://docs.marklogic.com/guide/app-dev/transactions">
100100 * multi-statement transaction</a> context.
101101 * .
102102 */
103103 public void write (T entity , Transaction transaction , String ... collections )
104- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
104+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
105105
106106 /** @return true if a document exists in the database with the id */
107107 public boolean exists (ID id )
108- throws ForbiddenUserException , FailedRequestException ;
108+ throws ForbiddenUserException , FailedRequestException ;
109109
110110 /** @return in the context of transaction, true if a document exists in the database with
111111 * the id */
112112 public boolean exists (ID id , Transaction transaction )
113- throws ForbiddenUserException , FailedRequestException ;
113+ throws ForbiddenUserException , FailedRequestException ;
114114
115115 /** @return the number of documents of type T persisted in the database */
116116 public long count ()
117- throws ForbiddenUserException , FailedRequestException ;
117+ throws ForbiddenUserException , FailedRequestException ;
118118
119119 /** @return in the context of transaction, the number of documents of type T persisted in
120120 * the database */
121121 public long count (Transaction transaction )
122- throws ForbiddenUserException , FailedRequestException ;
122+ throws ForbiddenUserException , FailedRequestException ;
123123
124124 /** @return the number of documents of type T persisted in the database with at least
125125 * one of the criteria collections*/
126126 public long count (String ... collection )
127- throws ForbiddenUserException , FailedRequestException ;
127+ throws ForbiddenUserException , FailedRequestException ;
128128
129129 /** @return in the context of transaction, the number of documents of type T persisted in
130130 * the database with at least one of the criteria collections*/
131131 public long count (String [] collections , Transaction transaction )
132- throws ForbiddenUserException , FailedRequestException ;
132+ throws ForbiddenUserException , FailedRequestException ;
133133
134134 /** @return the number of documents of type T persisted in the database which match
135135 * the query */
136136 public long count (PojoQueryDefinition query )
137- throws ForbiddenUserException , FailedRequestException ;
137+ throws ForbiddenUserException , FailedRequestException ;
138138
139139 /** @return in the context of transaction, the number of documents of type T persisted in the
140140 * database which match the query */
141141 public long count (PojoQueryDefinition query , Transaction transaction )
142- throws ForbiddenUserException , FailedRequestException ;
142+ throws ForbiddenUserException , FailedRequestException ;
143143
144144 /** Deletes from the database the documents with the corresponding ids */
145145 public void delete (ID ... ids )
146- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
146+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
147147
148148 /** As part of transaction, deletes from the database the documents with the corresponding ids */
149149 public void delete (ID [] ids , Transaction transaction )
150- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
150+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
151151
152152 /** Deletes from the database all documents of type T persisted by the pojo facade */
153153 public void deleteAll ()
154- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
154+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
155155
156156 /** As part of transaction, deletes from the database all documents of type T persisted by
157157 * the pojo facade */
158158 public void deleteAll (Transaction transaction )
159- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
159+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
160160
161161 /* REST API does not currently support DELETE /search with multiple collection arguments
162162 public void deleteAll(String... collections)
163- throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException;
163+ throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException;
164164 */
165165
166166 public T read (ID id )
167- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
167+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
168168 public T read (ID id , Transaction transaction )
169- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
169+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
170170 public PojoPage <T > read (ID [] ids )
171- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
171+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
172172 public PojoPage <T > read (ID [] ids , Transaction transaction )
173- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
173+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
174174 public PojoPage <T > readAll (long start )
175- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
175+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
176176 public PojoPage <T > readAll (long start , Transaction transaction )
177- throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
177+ throws ResourceNotFoundException , ForbiddenUserException , FailedRequestException ;
178178
179179 public PojoPage <T > search (long start , String ... collections )
180- throws ForbiddenUserException , FailedRequestException ;
180+ throws ForbiddenUserException , FailedRequestException ;
181181 public PojoPage <T > search (long start , Transaction transaction , String ... collections )
182- throws ForbiddenUserException , FailedRequestException ;
182+ throws ForbiddenUserException , FailedRequestException ;
183183 public PojoPage <T > search (PojoQueryDefinition query , long start )
184- throws ForbiddenUserException , FailedRequestException ;
184+ throws ForbiddenUserException , FailedRequestException ;
185185 public PojoPage <T > search (PojoQueryDefinition query , long start , Transaction transaction )
186- throws ForbiddenUserException , FailedRequestException ;
186+ throws ForbiddenUserException , FailedRequestException ;
187187 public PojoPage <T > search (PojoQueryDefinition query , long start , SearchReadHandle searchHandle )
188- throws ForbiddenUserException , FailedRequestException ;
188+ throws ForbiddenUserException , FailedRequestException ;
189189 public PojoPage <T > search (PojoQueryDefinition query , long start , SearchReadHandle searchHandle , Transaction transaction )
190- throws ForbiddenUserException , FailedRequestException ;
190+ throws ForbiddenUserException , FailedRequestException ;
191191
192192 public PojoQueryBuilder <T > getQueryBuilder ();
193193
0 commit comments