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 final String PRINCIPAL_KEY
PRINCIPALMEMBERSHIPS_KEY
protected static final String PRINCIPALMEMBERSHIPS_KEY
GROUP_KEY
protected static final String GROUP_KEY
PRINCIPALNAMES_KEY
protected static final String PRINCIPALNAMES_KEY
GROUPNAMES_KEY
protected static final String GROUPNAMES_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
getPrincipalNames
public static List getPrincipalNames()
throws NeedsRefreshException
- Throws:
NeedsRefreshException
cachePrincipalNames
public static void cachePrincipalNames(List principalNames)
cacheGroupNames
public static void cacheGroupNames(List principalNames)
getGroupNames
public static List getGroupNames()
throws NeedsRefreshException
- Throws:
NeedsRefreshException
getPrincipalMemberships
public static List getPrincipalMemberships(String username)
throws NeedsRefreshException
- Throws:
NeedsRefreshException
cachePrincipalMemberships
public static void cachePrincipalMemberships(String username,
List membership)
flushCaches
public static void flushCaches()
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.