com.atlassian.confluence.license.rest.service
Interface UserCountService

All Known Implementing Classes:
UserCountServiceImpl

public interface UserCountService

Service that provides info on the number of users on that instance.


Method Summary
 java.lang.Integer getLicenseMaxUsers()
          Return the maximum number of user allowed by the license, If this instance has an unlimited license then the result would be Integer.MAX_VALUE
 com.google.common.base.Optional<java.lang.Integer> getRemainingFreeSlots()
          Return the number of "free" slots on this Confluence instance
 java.lang.Integer getUserCount()
           
 

Method Detail

getUserCount

java.lang.Integer getUserCount()
Returns:
the number of users who have access to this Confluence instance.

getRemainingFreeSlots

com.google.common.base.Optional<java.lang.Integer> getRemainingFreeSlots()
Return the number of "free" slots on this Confluence instance

Returns:
An Optional representing the number of free slots on this instance. If this instance has an unlimited license then the result would be Integer.MAX_VALUE

getLicenseMaxUsers

java.lang.Integer getLicenseMaxUsers()
Return the maximum number of user allowed by the license, If this instance has an unlimited license then the result would be Integer.MAX_VALUE

Returns:
the maximum number of user allowed by the license, If this instance has an unlimited license then the result would be Integer.MAX_VALUE


Copyright © 2003-2014 Atlassian. All Rights Reserved.