blob: 2b75c6ba3ef3ba344e4d3d23aae5b9ea08d2f5c6 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>UserService (Apache Archiva Redback 3.0.0-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="UserService (Apache Archiva Redback 3.0.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<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/UserService.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/redback/rest/api/services/RoleManagementService.html" title="interface in org.apache.archiva.redback.rest.api.services"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UtilServices.html" title="interface in org.apache.archiva.redback.rest.api.services"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/archiva/redback/rest/api/services/UserService.html" target="_top">Frames</a></li>
<li><a href="UserService.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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.redback.rest.api.services</div>
<h2 title="Interface UserService" class="title">Interface UserService</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../../../../org/apache/archiva/redback/rest/services/DefaultUserService.html" title="class in org.apache.archiva.redback.rest.services">DefaultUserService</a></dd>
</dl>
<hr>
<br>
<pre>@Path(value="/userService/")
public interface <a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.42">UserService</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#createAdminUser-org.apache.archiva.redback.rest.api.model.User-">createAdminUser</a></span>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;user)</code>
<div class="block">will create admin user only if not exists !! if exists will return false</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#createGuestUser--">createGuestUser</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#createUser-org.apache.archiva.redback.rest.api.model.User-">createUser</a></span>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;user)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#deleteUser-java.lang.String-">deleteUser</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Operation.html" title="class in org.apache.archiva.redback.rest.api.model">Operation</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#getCurrentUserOperations--">getCurrentUserOperations</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Permission.html" title="class in org.apache.archiva.redback.rest.api.model">Permission</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#getCurrentUserPermissions--">getCurrentUserPermissions</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#getGuestUser--">getGuestUser</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#getUser-java.lang.String-">getUser</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Operation.html" title="class in org.apache.archiva.redback.rest.api.model">Operation</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#getUserOperations-java.lang.String-">getUserOperations</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userName)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Permission.html" title="class in org.apache.archiva.redback.rest.api.model">Permission</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#getUserPermissions-java.lang.String-">getUserPermissions</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userName)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#getUsers--">getUsers</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#isAdminUserExists--">isAdminUserExists</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#lockUser-java.lang.String-">lockUser</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#passwordChangeNotRequired-java.lang.String-">passwordChangeNotRequired</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#passwordChangeRequired-java.lang.String-">passwordChangeRequired</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#ping--">ping</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/model/RegistrationKey.html" title="class in org.apache.archiva.redback.rest.api.model">RegistrationKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#registerUser-org.apache.archiva.redback.rest.api.model.UserRegistrationRequest-">registerUser</a></span>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/UserRegistrationRequest.html" title="class in org.apache.archiva.redback.rest.api.model">UserRegistrationRequest</a>&nbsp;userRegistrationRequest)</code>
<div class="block">if redback is not configured for email validation is required, -1 is returned as key</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#removeFromCache-java.lang.String-">removeFromCache</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#resetPassword-org.apache.archiva.redback.rest.api.model.ResetPasswordRequest-">resetPassword</a></span>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/ResetPasswordRequest.html" title="class in org.apache.archiva.redback.rest.api.model">ResetPasswordRequest</a>&nbsp;resetPasswordRequest)</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#unlockUser-java.lang.String-">unlockUser</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#updateMe-org.apache.archiva.redback.rest.api.model.User-">updateMe</a></span>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;user)</code>
<div class="block">update only the current user and this fields: fullname, email, password.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#updateUser-org.apache.archiva.redback.rest.api.model.User-">updateUser</a></span>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;user)</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UserService.html#validateUserFromKey-java.lang.String-">validateUserFromKey</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</code>
<div class="block">validate the key and the user with forcing a password change for next login.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getUser-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUser</h4>
<pre>@Path(value="getUser/{userName}")
@GET
@Produces(value={"application/json","application/xml"})
<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.48">getUser</a>(@PathParam(value="userName")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="getUsers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsers</h4>
<pre>@Path(value="getUsers")
@GET
@Produces(value={"application/json","application/xml"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&gt;&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.56">getUsers</a>()
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="createUser-org.apache.archiva.redback.rest.api.model.User-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createUser</h4>
<pre>@Path(value="createUser")
@POST
@Produces(value={"application/json","application/xml","text/plain"})
@Consumes(value={"application/json","application/xml"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.64">createUser</a>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;user)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="createAdminUser-org.apache.archiva.redback.rest.api.model.User-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAdminUser</h4>
<pre>@Path(value="createAdminUser")
@POST
@Produces(value={"application/json","application/xml","text/plain"})
@Consumes(value={"application/json","application/xml"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.76">createAdminUser</a>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;user)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="block">will create admin user only if not exists !! if exists will return false</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="isAdminUserExists--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAdminUserExists</h4>
<pre>@Path(value="isAdminUserExists")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.83">isAdminUserExists</a>()
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="deleteUser-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteUser</h4>
<pre>@Path(value="deleteUser/{userName}")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.91">deleteUser</a>(@PathParam(value="userName")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="updateUser-org.apache.archiva.redback.rest.api.model.User-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateUser</h4>
<pre>@Path(value="updateUser")
@POST
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.98">updateUser</a>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;user)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="lockUser-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lockUser</h4>
<pre>@Path(value="lockUser/{username}")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.108">lockUser</a>(@PathParam(value="username")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
<a name="unlockUser-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unlockUser</h4>
<pre>@Path(value="unlockUser/{username}")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.118">unlockUser</a>(@PathParam(value="username")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
<a name="passwordChangeRequired-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>passwordChangeRequired</h4>
<pre>@Path(value="passwordChangeRequired/{username}")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.129">passwordChangeRequired</a>(@PathParam(value="username")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
<a name="passwordChangeNotRequired-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>passwordChangeNotRequired</h4>
<pre>@Path(value="passwordChangeNotRequired/{username}")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.139">passwordChangeNotRequired</a>(@PathParam(value="username")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
<a name="updateMe-org.apache.archiva.redback.rest.api.model.User-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateMe</h4>
<pre>@Path(value="updateMe")
@POST
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.152">updateMe</a>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;user)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="block">update only the current user and this fields: fullname, email, password.
the service verify the curent logged user with the one passed in the method</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.4</dd>
</dl>
</li>
</ul>
<a name="ping--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ping</h4>
<pre>@Path(value="ping")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.159">ping</a>()
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="removeFromCache-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeFromCache</h4>
<pre>@Path(value="removeFromCache/{userName}")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
int&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.166">removeFromCache</a>(@PathParam(value="userName")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="getGuestUser--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGuestUser</h4>
<pre>@Path(value="getGuestUser")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.173">getGuestUser</a>()
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="createGuestUser--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createGuestUser</h4>
<pre>@Path(value="createGuestUser")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/User.html" title="class in org.apache.archiva.redback.rest.api.model">User</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.180">createGuestUser</a>()
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="registerUser-org.apache.archiva.redback.rest.api.model.UserRegistrationRequest-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>registerUser</h4>
<pre>@Path(value="registerUser")
@POST
@Produces(value={"application/json","application/xml"})
<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/RegistrationKey.html" title="class in org.apache.archiva.redback.rest.api.model">RegistrationKey</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.191">registerUser</a>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/UserRegistrationRequest.html" title="class in org.apache.archiva.redback.rest.api.model">UserRegistrationRequest</a>&nbsp;userRegistrationRequest)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="block">if redback is not configured for email validation is required, -1 is returned as key</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.4</dd>
</dl>
</li>
</ul>
<a name="validateUserFromKey-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateUserFromKey</h4>
<pre>@Path(value="validateKey/{key}")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.205">validateUserFromKey</a>(@PathParam(value="key")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<div class="block">validate the key and the user with forcing a password change for next login.
http session is created.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - authentication key</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.4</dd>
</dl>
</li>
</ul>
<a name="resetPassword-org.apache.archiva.redback.rest.api.model.ResetPasswordRequest-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetPassword</h4>
<pre>@Path(value="resetPassword")
@POST
@Produces(value={"application/json","application/xml","text/plain"})
@Consumes(value={"application/json","application/xml"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.218">resetPassword</a>(<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/ResetPasswordRequest.html" title="class in org.apache.archiva.redback.rest.api.model">ResetPasswordRequest</a>&nbsp;resetPasswordRequest)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>resetPasswordRequest</code> - contains username for send a password reset email</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.4</dd>
</dl>
</li>
</ul>
<a name="getUserPermissions-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserPermissions</h4>
<pre>@Path(value="getUserPermissions/{userName}")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Permission.html" title="class in org.apache.archiva.redback.rest.api.model">Permission</a>&gt;&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.228">getUserPermissions</a>(@PathParam(value="userName")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userName)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.4</dd>
</dl>
</li>
</ul>
<a name="getUserOperations-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserOperations</h4>
<pre>@Path(value="getUserOperations/{userName}")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Operation.html" title="class in org.apache.archiva.redback.rest.api.model">Operation</a>&gt;&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.238">getUserOperations</a>(@PathParam(value="userName")
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userName)
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.4</dd>
</dl>
</li>
</ul>
<a name="getCurrentUserPermissions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCurrentUserPermissions</h4>
<pre>@Path(value="getCurrentUserPermissions")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Permission.html" title="class in org.apache.archiva.redback.rest.api.model">Permission</a>&gt;&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.249">getCurrentUserPermissions</a>()
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the current logged user permissions, if no logged user guest permissions are returned</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.4</dd>
</dl>
</li>
</ul>
<a name="getCurrentUserOperations--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getCurrentUserOperations</h4>
<pre>@Path(value="getCurrentUserOperations")
@GET
@Produces(value={"application/json","application/xml","text/plain"})
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../../../org/apache/archiva/redback/rest/api/model/Operation.html" title="class in org.apache.archiva.redback.rest.api.model">Operation</a>&gt;&nbsp;<a href="../../../../../../../src-html/org/apache/archiva/redback/rest/api/services/UserService.html#line.260">getCurrentUserOperations</a>()
throws <a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the current logged user operations, if no logged user guest operations are returned</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/RedbackServiceException.html" title="class in org.apache.archiva.redback.rest.api.services">RedbackServiceException</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.4</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>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<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/UserService.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/redback/rest/api/services/RoleManagementService.html" title="interface in org.apache.archiva.redback.rest.api.services"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../org/apache/archiva/redback/rest/api/services/UtilServices.html" title="interface in org.apache.archiva.redback.rest.api.services"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/archiva/redback/rest/api/services/UserService.html" target="_top">Frames</a></li>
<li><a href="UserService.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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 &#169; 2006&#x2013;2019 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>