|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.license.rest.service.UserCountServiceImpl
public class UserCountServiceImpl
Constructor Summary | |
---|---|
UserCountServiceImpl(UserChecker userChecker,
LicenseService licenseService)
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserCountServiceImpl(UserChecker userChecker, LicenseService licenseService)
Method Detail |
---|
public java.lang.Integer getUserCount()
getUserCount
in interface UserCountService
public com.google.common.base.Optional<java.lang.Integer> getRemainingFreeSlots()
UserCountService
getRemainingFreeSlots
in interface UserCountService
public java.lang.Integer getLicenseMaxUsers()
UserCountService
getLicenseMaxUsers
in interface UserCountService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |