|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheManager
The CacheManager is a central class for increasing the performance of the JIRA, Confluence
and Bamboo integration with Crowd. The cache is used to store information that become redundant calls between
request because security information does not change that often. The enabling and length of time the cache has is
determined through the Crowd administration console.
| Method Summary | |
|---|---|
void |
cacheGroup(SOAPGroup group)
|
void |
cacheGroupMemberships(String groupname,
List memberships)
|
void |
cacheGroupNames(List groupNames)
Deprecated. use cacheGroups() |
void |
cacheGroupRelationship(SOAPNestableGroup nestableGroup)
Given a group containing optional sub-groups, caches the group name along with the child->parent relationships. |
void |
cacheGroups(SOAPGroup[] groups)
|
void |
cachePrincipal(SOAPPrincipal principal)
|
List |
cachePrincipalMemberships(String username,
List memberships)
|
void |
cachePrincipalNames(List principalNames)
Deprecated. use cachePrincipals |
void |
cachePrincipals(SOAPPrincipal[] principals)
|
void |
flushCaches()
|
SOAPGroup |
getGroup(String name)
|
List |
getGroupMemberships(String groupname)
|
List |
getGroupNames()
Deprecated. use getGroups() |
List |
getGroups()
|
List |
getParentGroups(String groupname)
Given the name of a group, returns a list of groups for which it's a child. |
SOAPPrincipal |
getPrincipal(String name)
|
List |
getPrincipalMemberships(String username)
|
List |
getPrincipalNames()
Deprecated. use getPrincipals() |
List |
getPrincipals()
|
boolean |
isCacheEnabled()
|
void |
removeGroup(String groupName)
|
void |
removeGroupMemberships(String groupname)
|
void |
removePrincipal(String username)
|
void |
removePrincipalMemberships(String username)
|
| Method Detail |
|---|
boolean isCacheEnabled()
void cacheGroups(SOAPGroup[] groups)
List getGroups()
throws CacheException
CacheExceptionvoid cacheGroup(SOAPGroup group)
SOAPGroup getGroup(String name)
throws CacheException
CacheExceptionvoid cacheGroupNames(List groupNames)
groupNames -
List getGroupNames()
throws CacheException
CacheException
void cacheGroupMemberships(String groupname,
List memberships)
void cacheGroupRelationship(SOAPNestableGroup nestableGroup)
nestableGroup - A group that may contain sub-groupsList getParentGroups(String groupname)
groupname -
List getGroupMemberships(String groupname)
void cachePrincipal(SOAPPrincipal principal)
SOAPPrincipal getPrincipal(String name)
throws CacheException
CacheExceptionvoid cachePrincipals(SOAPPrincipal[] principals)
List getPrincipals()
throws CacheException
CacheExceptionvoid cachePrincipalNames(List principalNames)
principalNames -
List getPrincipalNames()
throws CacheException
CacheException
List cachePrincipalMemberships(String username,
List memberships)
List getPrincipalMemberships(String username)
throws CacheException
CacheExceptionvoid flushCaches()
void removeGroup(String groupName)
void removePrincipal(String username)
void removePrincipalMemberships(String username)
void removeGroupMemberships(String groupname)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||