| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>DefaultFileUploadService (Archiva :: Modules 2.2.3 API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="DefaultFileUploadService (Archiva :: Modules 2.2.3 API)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/DefaultFileUploadService.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/archiva/web/api/DefaultDataValidatorService.html" title="class in org.apache.archiva.web.api"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/archiva/web/api/DefaultJavascriptLogger.html" title="class in org.apache.archiva.web.api"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/archiva/web/api/DefaultFileUploadService.html" target="_top">Frames</a></li> |
| <li><a href="DefaultFileUploadService.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.archiva.web.api</div> |
| <h2 title="Class DefaultFileUploadService" class="title">Class DefaultFileUploadService</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html" title="class in org.apache.archiva.rest.services">org.apache.archiva.rest.services.AbstractRestService</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.archiva.web.api.DefaultFileUploadService</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../org/apache/archiva/web/api/FileUploadService.html" title="interface in org.apache.archiva.web.api">FileUploadService</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>@Service(value="fileUploadService#rest") |
| public class <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.89">DefaultFileUploadService</a> |
| extends <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html" title="class in org.apache.archiva.rest.services">AbstractRestService</a> |
| implements <a href="../../../../../org/apache/archiva/web/api/FileUploadService.html" title="interface in org.apache.archiva.web.api">FileUploadService</a></pre> |
| <dl><dt><span class="strong">Author:</span></dt> |
| <dd>Olivier Lamy</dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/archiva/checksum/ChecksumAlgorithm.html" title="enum in org.apache.archiva.checksum">ChecksumAlgorithm</a>[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#algorithms">algorithms</a></strong></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/archiva/admin/model/admin/ArchivaAdministration.html" title="interface in org.apache.archiva.admin.model.admin">ArchivaAdministration</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#archivaAdministration">archivaAdministration</a></strong></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private javax.servlet.http.HttpServletRequest</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#httpServletRequest">httpServletRequest</a></strong></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private org.slf4j.Logger</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#log">log</a></strong></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/archiva/admin/model/managed/ManagedRepositoryAdmin.html" title="interface in org.apache.archiva.admin.model.managed">ManagedRepositoryAdmin</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#managedRepositoryAdmin">managedRepositoryAdmin</a></strong></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/archiva/repository/RepositoryContentFactory.html" title="class in org.apache.archiva.repository">RepositoryContentFactory</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#repositoryFactory">repositoryFactory</a></strong></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/archiva/scheduler/ArchivaTaskScheduler.html" title="interface in org.apache.archiva.scheduler">ArchivaTaskScheduler</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#scheduler">scheduler</a></strong></code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields_inherited_from_class_org.apache.archiva.rest.services.AbstractRestService"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.archiva.rest.services.<a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html" title="class in org.apache.archiva.rest.services">AbstractRestService</a></h3> |
| <code><a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#config">config</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#httpServletResponse">httpServletResponse</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#proxyConnectorAdmin">proxyConnectorAdmin</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#repositoryContentFactory">repositoryContentFactory</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#repositorySessionFactory">repositorySessionFactory</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#repositoryTaskScheduler">repositoryTaskScheduler</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#userRepositories">userRepositories</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields_inherited_from_class_org.apache.archiva.web.api.FileUploadService"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.apache.archiva.web.api.<a href="../../../../../org/apache/archiva/web/api/FileUploadService.html" title="interface in org.apache.archiva.web.api">FileUploadService</a></h3> |
| <code><a href="../../../../../org/apache/archiva/web/api/FileUploadService.html#FILES_SESSION_KEY">FILES_SESSION_KEY</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#DefaultFileUploadService()">DefaultFileUploadService</a></strong>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#clearUploadedFiles()">clearUploadedFiles</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#copyFile(java.io.File,%20java.io.File,%20java.lang.String,%20boolean)">copyFile</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> sourceFile, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> targetPath, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetFilename, |
| boolean fixChecksums)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#createPom(java.io.File,%20java.lang.String,%20org.apache.archiva.web.model.FileMetadata,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)">createPom</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> targetPath, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> filename, |
| <a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a> fileMetadata, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> groupId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifactId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> version, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packaging)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#deleteFile(java.lang.String)">deleteFile</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fileName)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#fixChecksums(java.io.File)">fixChecksums</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/archiva/model/ArchivaRepositoryMetadata.html" title="class in org.apache.archiva.model">ArchivaRepositoryMetadata</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#getMetadata(java.io.File)">getMetadata</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> metadataFile)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#getSessionFileMetadatas()">getSessionFileMetadatas</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#getSessionFilesList()">getSessionFilesList</a></strong>()</code> |
| <div class="block">FIXME must be per session synchronized not globally</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#getStringValue(org.apache.cxf.jaxrs.ext.multipart.MultipartBody,%20java.lang.String)">getStringValue</a></strong>(org.apache.cxf.jaxrs.ext.multipart.MultipartBody multipartBody, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> attachmentId)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#post(org.apache.cxf.jaxrs.ext.multipart.MultipartBody)">post</a></strong>(org.apache.cxf.jaxrs.ext.multipart.MultipartBody multipartBody)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#queueRepositoryTask(java.lang.String,%20java.io.File)">queueRepositoryTask</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> repositoryId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> localFile)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#save(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)">save</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> repositoryId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> groupId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifactId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> version, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packaging, |
| boolean generatePom)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#saveFile(java.lang.String,%20org.apache.archiva.web.model.FileMetadata,%20boolean,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)">saveFile</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> repositoryId, |
| <a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a> fileMetadata, |
| boolean generatePom, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> groupId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifactId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> version, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packaging)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#savePomFile(java.lang.String,%20org.apache.archiva.web.model.FileMetadata,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)">savePomFile</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> repositoryId, |
| <a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a> fileMetadata, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> groupId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifactId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> version, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packaging)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#updateProjectMetadata(java.lang.String,%20java.util.Date,%20java.lang.String,%20int,%20boolean,%20org.apache.archiva.web.model.FileMetadata,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)">updateProjectMetadata</a></strong>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetPath, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> lastUpdatedTimestamp, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> timestamp, |
| int buildNumber, |
| boolean fixChecksums, |
| <a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a> fileMetadata, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> groupId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifactId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> version, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packaging)</code> |
| <div class="block">Update artifact level metadata.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/archiva/web/api/DefaultFileUploadService.html#updateVersionMetadata(org.apache.archiva.model.ArchivaRepositoryMetadata,%20java.io.File,%20java.util.Date,%20java.lang.String,%20int,%20boolean,%20org.apache.archiva.web.model.FileMetadata,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)">updateVersionMetadata</a></strong>(<a href="../../../../../org/apache/archiva/model/ArchivaRepositoryMetadata.html" title="class in org.apache.archiva.model">ArchivaRepositoryMetadata</a> metadata, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> metadataFile, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> lastUpdatedTimestamp, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> timestamp, |
| int buildNumber, |
| boolean fixChecksums, |
| <a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a> fileMetadata, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> groupId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifactId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> version, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packaging)</code> |
| <div class="block">Update version level metadata for snapshot artifacts.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.apache.archiva.rest.services.AbstractRestService"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.archiva.rest.services.<a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html" title="class in org.apache.archiva.rest.services">AbstractRestService</a></h3> |
| <code><a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#buildArtifacts(java.util.Collection,%20java.lang.String)">buildArtifacts</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#doScanRepository(java.lang.String,%20boolean)">doScanRepository</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#getArtifactUrl(org.apache.archiva.maven2.model.Artifact)">getArtifactUrl</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#getArtifactUrl(org.apache.archiva.maven2.model.Artifact,%20java.lang.String)">getArtifactUrl</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#getAuditInformation()">getAuditInformation</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#getAuditListeners()">getAuditListeners</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#getBaseUrl()">getBaseUrl</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#getBeansOfType(org.springframework.context.ApplicationContext,%20java.lang.Class)">getBeansOfType</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#getModelMapper()">getModelMapper</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#getObservableRepos()">getObservableRepos</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#getPrincipal()">getPrincipal</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#setAuditListeners(java.util.List)">setAuditListeners</a>, <a href="../../../../../org/apache/archiva/rest/services/AbstractRestService.html#triggerAuditEvent(java.lang.String,%20java.lang.String,%20java.lang.String)">triggerAuditEvent</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="log"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>log</h4> |
| <pre>private org.slf4j.Logger <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.93">log</a></pre> |
| </li> |
| </ul> |
| <a name="httpServletRequest"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>httpServletRequest</h4> |
| <pre>@Context |
| private javax.servlet.http.HttpServletRequest <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.96">httpServletRequest</a></pre> |
| </li> |
| </ul> |
| <a name="managedRepositoryAdmin"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>managedRepositoryAdmin</h4> |
| <pre>@Inject |
| private <a href="../../../../../org/apache/archiva/admin/model/managed/ManagedRepositoryAdmin.html" title="interface in org.apache.archiva.admin.model.managed">ManagedRepositoryAdmin</a> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.99">managedRepositoryAdmin</a></pre> |
| </li> |
| </ul> |
| <a name="repositoryFactory"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>repositoryFactory</h4> |
| <pre>@Inject |
| private <a href="../../../../../org/apache/archiva/repository/RepositoryContentFactory.html" title="class in org.apache.archiva.repository">RepositoryContentFactory</a> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.102">repositoryFactory</a></pre> |
| </li> |
| </ul> |
| <a name="archivaAdministration"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>archivaAdministration</h4> |
| <pre>@Inject |
| private <a href="../../../../../org/apache/archiva/admin/model/admin/ArchivaAdministration.html" title="interface in org.apache.archiva.admin.model.admin">ArchivaAdministration</a> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.105">archivaAdministration</a></pre> |
| </li> |
| </ul> |
| <a name="algorithms"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>algorithms</h4> |
| <pre>private <a href="../../../../../org/apache/archiva/checksum/ChecksumAlgorithm.html" title="enum in org.apache.archiva.checksum">ChecksumAlgorithm</a>[] <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.107">algorithms</a></pre> |
| </li> |
| </ul> |
| <a name="scheduler"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>scheduler</h4> |
| <pre>@Inject |
| @Named(value="archivaTaskScheduler#repository") |
| private <a href="../../../../../org/apache/archiva/scheduler/ArchivaTaskScheduler.html" title="interface in org.apache.archiva.scheduler">ArchivaTaskScheduler</a> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.111">scheduler</a></pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="DefaultFileUploadService()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DefaultFileUploadService</h4> |
| <pre>public <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.89">DefaultFileUploadService</a>()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getStringValue(org.apache.cxf.jaxrs.ext.multipart.MultipartBody, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStringValue</h4> |
| <pre>private <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.113">getStringValue</a>(org.apache.cxf.jaxrs.ext.multipart.MultipartBody multipartBody, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> attachmentId) |
| throws <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="post(org.apache.cxf.jaxrs.ext.multipart.MultipartBody)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>post</h4> |
| <pre>public <a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.121">post</a>(org.apache.cxf.jaxrs.ext.multipart.MultipartBody multipartBody) |
| throws <a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/web/api/FileUploadService.html#post(org.apache.cxf.jaxrs.ext.multipart.MultipartBody)">post</a></code> in interface <code><a href="../../../../../org/apache/archiva/web/api/FileUploadService.html" title="interface in org.apache.archiva.web.api">FileUploadService</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getSessionFilesList()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSessionFilesList</h4> |
| <pre>protected <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a>> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.170">getSessionFilesList</a>()</pre> |
| <div class="block">FIXME must be per session synchronized not globally</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd></dd></dl> |
| </li> |
| </ul> |
| <a name="deleteFile(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deleteFile</h4> |
| <pre>public <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.183">deleteFile</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fileName) |
| throws <a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/web/api/FileUploadService.html#deleteFile(java.lang.String)">deleteFile</a></code> in interface <code><a href="../../../../../org/apache/archiva/web/api/FileUploadService.html" title="interface in org.apache.archiva.web.api">FileUploadService</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="clearUploadedFiles()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearUploadedFiles</h4> |
| <pre>public <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.202">clearUploadedFiles</a>() |
| throws <a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/web/api/FileUploadService.html#clearUploadedFiles()">clearUploadedFiles</a></code> in interface <code><a href="../../../../../org/apache/archiva/web/api/FileUploadService.html" title="interface in org.apache.archiva.web.api">FileUploadService</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getSessionFileMetadatas()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSessionFileMetadatas</h4> |
| <pre>public <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a>> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.215">getSessionFileMetadatas</a>() |
| throws <a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/web/api/FileUploadService.html#getSessionFileMetadatas()">getSessionFileMetadatas</a></code> in interface <code><a href="../../../../../org/apache/archiva/web/api/FileUploadService.html" title="interface in org.apache.archiva.web.api">FileUploadService</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="save(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>save</h4> |
| <pre>public <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.225">save</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> repositoryId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> groupId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifactId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> version, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packaging, |
| boolean generatePom) |
| throws <a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/web/api/FileUploadService.html#save(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)">save</a></code> in interface <code><a href="../../../../../org/apache/archiva/web/api/FileUploadService.html" title="interface in org.apache.archiva.web.api">FileUploadService</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="savePomFile(java.lang.String, org.apache.archiva.web.model.FileMetadata, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>savePomFile</h4> |
| <pre>protected void <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.308">savePomFile</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> repositoryId, |
| <a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a> fileMetadata, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> groupId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifactId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> version, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packaging) |
| throws <a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="saveFile(java.lang.String, org.apache.archiva.web.model.FileMetadata, boolean, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>saveFile</h4> |
| <pre>protected void <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.364">saveFile</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> repositoryId, |
| <a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a> fileMetadata, |
| boolean generatePom, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> groupId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifactId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> version, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packaging) |
| throws <a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/rest/api/services/ArchivaRestServiceException.html" title="class in org.apache.archiva.rest.api.services">ArchivaRestServiceException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getMetadata(java.io.File)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMetadata</h4> |
| <pre>private <a href="../../../../../org/apache/archiva/model/ArchivaRepositoryMetadata.html" title="class in org.apache.archiva.model">ArchivaRepositoryMetadata</a> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.512">getMetadata</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> metadataFile) |
| throws <a href="../../../../../org/apache/archiva/repository/metadata/RepositoryMetadataException.html" title="class in org.apache.archiva.repository.metadata">RepositoryMetadataException</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/repository/metadata/RepositoryMetadataException.html" title="class in org.apache.archiva.repository.metadata">RepositoryMetadataException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="createPom(java.io.File, java.lang.String, org.apache.archiva.web.model.FileMetadata, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createPom</h4> |
| <pre>private <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.530">createPom</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> targetPath, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> filename, |
| <a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a> fileMetadata, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> groupId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifactId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> version, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packaging) |
| throws <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="fixChecksums(java.io.File)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fixChecksums</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.552">fixChecksums</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</pre> |
| </li> |
| </ul> |
| <a name="queueRepositoryTask(java.lang.String, java.io.File)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>queueRepositoryTask</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.558">queueRepositoryTask</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> repositoryId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> localFile)</pre> |
| </li> |
| </ul> |
| <a name="copyFile(java.io.File, java.io.File, java.lang.String, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyFile</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.577">copyFile</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> sourceFile, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> targetPath, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetFilename, |
| boolean fixChecksums) |
| throws <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="updateProjectMetadata(java.lang.String, java.util.Date, java.lang.String, int, boolean, org.apache.archiva.web.model.FileMetadata, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateProjectMetadata</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.593">updateProjectMetadata</a>(<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetPath, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> lastUpdatedTimestamp, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> timestamp, |
| int buildNumber, |
| boolean fixChecksums, |
| <a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a> fileMetadata, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> groupId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifactId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> version, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packaging) |
| throws <a href="../../../../../org/apache/archiva/repository/metadata/RepositoryMetadataException.html" title="class in org.apache.archiva.repository.metadata">RepositoryMetadataException</a></pre> |
| <div class="block">Update artifact level metadata. If it does not exist, create the metadata and fix checksums if necessary.</div> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/repository/metadata/RepositoryMetadataException.html" title="class in org.apache.archiva.repository.metadata">RepositoryMetadataException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="updateVersionMetadata(org.apache.archiva.model.ArchivaRepositoryMetadata, java.io.File, java.util.Date, java.lang.String, int, boolean, org.apache.archiva.web.model.FileMetadata, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>updateVersionMetadata</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/archiva/web/api/DefaultFileUploadService.html#line.658">updateVersionMetadata</a>(<a href="../../../../../org/apache/archiva/model/ArchivaRepositoryMetadata.html" title="class in org.apache.archiva.model">ArchivaRepositoryMetadata</a> metadata, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> metadataFile, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> lastUpdatedTimestamp, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> timestamp, |
| int buildNumber, |
| boolean fixChecksums, |
| <a href="../../../../../org/apache/archiva/web/model/FileMetadata.html" title="class in org.apache.archiva.web.model">FileMetadata</a> fileMetadata, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> groupId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> artifactId, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> version, |
| <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packaging) |
| throws <a href="../../../../../org/apache/archiva/repository/metadata/RepositoryMetadataException.html" title="class in org.apache.archiva.repository.metadata">RepositoryMetadataException</a></pre> |
| <div class="block">Update version level metadata for snapshot artifacts. If it does not exist, create the metadata and fix checksums |
| if necessary.</div> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/archiva/repository/metadata/RepositoryMetadataException.html" title="class in org.apache.archiva.repository.metadata">RepositoryMetadataException</a></code></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/DefaultFileUploadService.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/archiva/web/api/DefaultDataValidatorService.html" title="class in org.apache.archiva.web.api"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/archiva/web/api/DefaultJavascriptLogger.html" title="class in org.apache.archiva.web.api"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/archiva/web/api/DefaultFileUploadService.html" target="_top">Frames</a></li> |
| <li><a href="DefaultFileUploadService.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2006–2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |