com.atlassian.crowd.integration.atlassianuser
Class CacheManager

java.lang.Object
  extended by com.atlassian.crowd.integration.atlassianuser.CacheManager

public class CacheManager
extends Object


Field Summary
protected static String GROUP_KEY
           
protected static String PRINCIPAL_KEY
           
 
Constructor Summary
CacheManager()
           
 
Method Summary
static void cacheGroup(SOAPGroup group)
           
static void cacheGroups(SOAPGroup[] groups)
           
static void cachePrincipal(SOAPPrincipal principal)
           
static void cachePrincipals(SOAPPrincipal[] principals)
           
static int getCacheSeconds()
           
static SOAPGroup getGroup(String name)
           
static List getGroups()
           
static SOAPPrincipal getPrincipal(String name)
           
static List getPrincipals()
           
static boolean isCacheEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRINCIPAL_KEY

protected static String PRINCIPAL_KEY

GROUP_KEY

protected static String GROUP_KEY
Constructor Detail

CacheManager

public CacheManager()
Method Detail

isCacheEnabled

public static boolean isCacheEnabled()

getCacheSeconds

public static int getCacheSeconds()

cachePrincipals

public static void cachePrincipals(SOAPPrincipal[] principals)

getPrincipal

public static SOAPPrincipal getPrincipal(String name)
                                  throws NeedsRefreshException
Throws:
NeedsRefreshException

cacheGroups

public static void cacheGroups(SOAPGroup[] groups)

cacheGroup

public static void cacheGroup(SOAPGroup group)

getGroups

public static List getGroups()
                      throws NeedsRefreshException
Throws:
NeedsRefreshException

getGroup

public static SOAPGroup getGroup(String name)
                          throws NeedsRefreshException
Throws:
NeedsRefreshException

cachePrincipal

public static void cachePrincipal(SOAPPrincipal principal)

getPrincipals

public static List getPrincipals()
                          throws NeedsRefreshException
Throws:
NeedsRefreshException


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.