122123124125126127128129
{ return repositoryGroupAdmin.deleteRepositoryGroup( repositoryGroupId, getAuditInformation() ); } catch ( RepositoryAdminException e ) { throw new ArchivaRestServiceException( e.getMessage(), e ); } }
136137138139140141142143
{ return repositoryGroupAdmin.addRepositoryToGroup( repositoryGroupId, repositoryId, getAuditInformation() ); } catch ( RepositoryAdminException e ) { throw new ArchivaRestServiceException( e.getMessage(), e ); } }
151152153154155156157158
return repositoryGroupAdmin.deleteRepositoryFromGroup( repositoryGroupId, repositoryId, getAuditInformation() ); } catch ( RepositoryAdminException e ) { throw new ArchivaRestServiceException( e.getMessage(), e ); } }
304305306307308309310311312
return sb.toString(); } catch ( Exception e ) { throw new ArchivaRestServiceException( e.getMessage(), Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), e ); } }
334335336337338339340341342
return Collections.emptyList(); } catch ( RepositoryException e ) { log.error( e.getMessage(), e ); throw new ArchivaRestServiceException( e.getMessage(), Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), e ); } }
7980818283848586
return remoteRepositories == null ? Collections.<RemoteRepository>emptyList() : remoteRepositories; } catch ( RepositoryAdminException e ) { log.error( e.getMessage(), e ); throw new ArchivaRestServiceException( e.getMessage(), e.getFieldName(), e ); } }
110111112113114115116117
return remoteRepositoryAdmin.deleteRemoteRepository( repositoryId, getAuditInformation() ); } catch ( RepositoryAdminException e ) { log.error( e.getMessage(), e ); throw new ArchivaRestServiceException( e.getMessage(), e.getFieldName(), e ); } }
125126127128129130131132
return remoteRepositoryAdmin.addRemoteRepository( remoteRepository, getAuditInformation() ); } catch ( RepositoryAdminException e ) { log.error( e.getMessage(), e ); throw new ArchivaRestServiceException( e.getMessage(), e.getFieldName(), e ); } }
140141142143144145146147
return remoteRepositoryAdmin.updateRemoteRepository( remoteRepository, getAuditInformation() ); } catch ( RepositoryAdminException e ) { log.error( e.getMessage(), e ); throw new ArchivaRestServiceException( e.getMessage(), e.getFieldName(), e ); } }
202203204205206207208209210211
log.info( "TransferFailedException :{}", e.getMessage() ); return Boolean.FALSE; } catch ( Exception e ) { throw new ArchivaRestServiceException( e.getMessage(), Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), e ); } }