@Test( expected = IllegalArgumentException.class ) public void shouldNotCommitNullTransaction() throws Exception { store.commit(null); }
@Override public void commit( ITransaction transaction ) { CheckArg.isNotNull(transaction, "transaction"); assert transaction instanceof JcrSessionTransaction; ((JcrSessionTransaction)transaction).commit(); }
ModeShapeWebdavStore implements IWebdavStore { @Override public void commit( ITransaction transaction ) { CheckArg.isNotNull(transaction, "transaction"); assert transaction instanceof JcrSessionTransaction; ((JcrSessionTransaction)transaction).commit(); } }
ModeShapeWebdavStore implements IWebdavStore { @Override public void commit( ITransaction transaction ) { CheckArg.isNotNull(transaction, "transaction"); assert transaction instanceof JcrSessionTransaction; ((JcrSessionTransaction)transaction).commit(); } ModeShapeWebdavStore( RequestResolver requestResolver,
                                 ContentMapper contentMapper ); }
ModeShapeWebdavStore implements IWebdavStore { @Override public void commit( ITransaction transaction ) { CheckArg.isNotNull(transaction, "transaction"); assert transaction instanceof JcrSessionTransaction; ((JcrSessionTransaction)transaction).commit(); } ModeShapeWebdavStore( RequestResolver requestResolver,
                                 ContentMapper contentMapper ); @Override ITransaction begin( Principal principal ); @Override void commit( ITransaction transaction ); @Override void rollback( ITransaction transaction ); @Override void checkAuthentication( ITransaction transaction ); @Override void destroy(); @Override void createFolder( ITransaction transaction,
                              String folderUri ); @Override void createResource( ITransaction transaction,
                                String resourceUri ); @Override String[] getChildrenNames( ITransaction transaction,
                                      String folderUri ); @Override InputStream getResourceContent( ITransaction transaction,
                                           String resourceUri ); @Override long getResourceLength( ITransaction transaction,
                                   String resourceUri ); @Override StoredObject getStoredObject( ITransaction transaction,
                                         String uri ); @Override void removeObject( ITransaction transaction,
                              String uri ); @Override long setResourceContent( ITransaction transaction,
                                    String resourceUri,
                                    InputStream content,
                                    String contentType,
                                    String characterEncoding ); @Override Map<String, String> setCustomProperties( ITransaction transaction,
                                                    String resourceUri,
                                                    Map<String, Object> propertiesToSet,
                                                    List<String> propertiesToRemove ); @Override Map<String, Object> getCustomProperties( ITransaction transaction,
                                                    String resourceUri ); @Override Map<String, String> getCustomNamespaces( ITransaction transaction,
                                                    String resourceUri ); }
ModeShapeWebdavStore implements IWebdavStore { @Override public void commit( ITransaction transaction ) { CheckArg.isNotNull(transaction, "transaction"); assert transaction instanceof JcrSessionTransaction; ((JcrSessionTransaction)transaction).commit(); } ModeShapeWebdavStore( RequestResolver requestResolver,
                                 ContentMapper contentMapper ); @Override ITransaction begin( Principal principal ); @Override void commit( ITransaction transaction ); @Override void rollback( ITransaction transaction ); @Override void checkAuthentication( ITransaction transaction ); @Override void destroy(); @Override void createFolder( ITransaction transaction,
                              String folderUri ); @Override void createResource( ITransaction transaction,
                                String resourceUri ); @Override String[] getChildrenNames( ITransaction transaction,
                                      String folderUri ); @Override InputStream getResourceContent( ITransaction transaction,
                                           String resourceUri ); @Override long getResourceLength( ITransaction transaction,
                                   String resourceUri ); @Override StoredObject getStoredObject( ITransaction transaction,
                                         String uri ); @Override void removeObject( ITransaction transaction,
                              String uri ); @Override long setResourceContent( ITransaction transaction,
                                    String resourceUri,
                                    InputStream content,
                                    String contentType,
                                    String characterEncoding ); @Override Map<String, String> setCustomProperties( ITransaction transaction,
                                                    String resourceUri,
                                                    Map<String, Object> propertiesToSet,
                                                    List<String> propertiesToRemove ); @Override Map<String, Object> getCustomProperties( ITransaction transaction,
                                                    String resourceUri ); @Override Map<String, String> getCustomNamespaces( ITransaction transaction,
                                                    String resourceUri );  }