public class DenormalisedSidManager extends Object
Constructor and Description |
---|
DenormalisedSidManager(org.springframework.transaction.PlatformTransactionManager transactionManager,
DenormalisedSidDao denormalisedSidDao,
DenormalisedLockService denormalisedLockService,
com.atlassian.crowd.embedded.api.CrowdService crowdService) |
Modifier and Type | Method and Description |
---|---|
Map<String,Long> |
getAllGroupSidsAndCreateThemIfRequired(Set<String> groupNames)
Returns the corresponding sid ids for group keys.
|
Set<Long> |
getAllUserSids(ConfluenceUser confluenceUser)
Get all user sids.
|
Map<String,Long> |
getAllUserSidsAndCreateThemIfRequired(Set<String> userKeys)
Returns the corresponding sid ids for user keys.
|
public DenormalisedSidManager(org.springframework.transaction.PlatformTransactionManager transactionManager, DenormalisedSidDao denormalisedSidDao, DenormalisedLockService denormalisedLockService, com.atlassian.crowd.embedded.api.CrowdService crowdService)
public Map<String,Long> getAllUserSidsAndCreateThemIfRequired(Set<String> userKeys)
userKeys
- set of user user keyspublic Map<String,Long> getAllGroupSidsAndCreateThemIfRequired(Set<String> groupNames)
groupNames
- set of group namespublic Set<Long> getAllUserSids(ConfluenceUser confluenceUser)
confluenceUser
- confluence userCopyright © 2003–2021 Atlassian. All rights reserved.