|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.license.rest.resource.UserCountResource
public class UserCountResource
A REST endpoint that exposes info about users of this instance. Note that this endpoint will only provide usable data in the case of a "Conflence-only instance". DO NOT USE THIS endpoint for OnDemand instances as license information is be overridden by HAUP (Hosted Application User Provisioning)
Constructor Summary | |
---|---|
UserCountResource(UserCountService userCountService,
PermissionManager permissionManager)
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
getMaxUsers()
Return the number of users that is allowed by the current license |
javax.ws.rs.core.Response |
getRemainingUserCount()
Return the number of free slots on this Confluence instance |
javax.ws.rs.core.Response |
getUserCount()
Return the number of users that have access to this Confluence |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserCountResource(UserCountService userCountService, PermissionManager permissionManager)
Method Detail |
---|
public javax.ws.rs.core.Response getUserCount()
public javax.ws.rs.core.Response getRemainingUserCount()
public javax.ws.rs.core.Response getMaxUsers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |