com.atlassian.crowd.integration.atlassianuser
Class CacheManager
java.lang.Object
com.atlassian.crowd.integration.atlassianuser.CacheManager
public class CacheManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRINCIPAL_KEY
protected static String PRINCIPAL_KEY
GROUP_KEY
protected static String GROUP_KEY
CacheManager
public CacheManager()
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.