com.atlassian.studio.jira.license
Class DefaultUserCounter

java.lang.Object
  extended by com.atlassian.studio.jira.license.DefaultUserCounter
All Implemented Interfaces:
UserCounter

public class DefaultUserCounter
extends Object
implements UserCounter

Implementation of the user counter


Field Summary
static Set<String> STUDIO_SYSTEM_USERS
           
 
Constructor Summary
DefaultUserCounter(UserApplicationAccessService userApplicationAccessService)
           
 
Method Summary
 StudioUserCount getUserCount()
          Get the user count
 StudioUserCount getUserCountWithUpdatedLicense(StudioUserCount studioUserCount)
          Returns a user count but with the updated license.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STUDIO_SYSTEM_USERS

public static final Set<String> STUDIO_SYSTEM_USERS
Constructor Detail

DefaultUserCounter

public DefaultUserCounter(UserApplicationAccessService userApplicationAccessService)
Method Detail

getUserCount

public StudioUserCount getUserCount()
Get the user count

Specified by:
getUserCount in interface UserCounter
Returns:
The user count object

getUserCountWithUpdatedLicense

public StudioUserCount getUserCountWithUpdatedLicense(StudioUserCount studioUserCount)
Returns a user count but with the updated license. This basically ensures that the license is up to date.

Specified by:
getUserCountWithUpdatedLicense in interface UserCounter


Copyright © 2002-2012 Atlassian. All Rights Reserved.