com.atlassian.studio.confluence.common.listener
Class DefaultUserCopier
java.lang.Object
com.atlassian.studio.confluence.common.listener.DefaultUserCopier
- All Implemented Interfaces:
- UserCopier, org.springframework.beans.factory.InitializingBean
public class DefaultUserCopier
- extends java.lang.Object
- implements UserCopier, org.springframework.beans.factory.InitializingBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultUserCopier
public DefaultUserCopier(UserAccessor userAccessor,
BatchOperationManager batchOperationManager,
ConfluenceSysadminAdministratorImpersonator confluenceSysadminAdministratorImpersonator)
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
copyActiveUsersWithConfluenceAccessToLicensedConfluenceGroup
public void copyActiveUsersWithConfluenceAccessToLicensedConfluenceGroup()
throws java.lang.Exception
- Description copied from interface:
UserCopier
- This method will copy all active users who have Confluence access to the StudioGroups.LICENSED_CONFLUENCE group
- Specified by:
copyActiveUsersWithConfluenceAccessToLicensedConfluenceGroup
in interface UserCopier
- Throws:
java.lang.Exception
deactivateUsersWithoutConfluenceAccess
public void deactivateUsersWithoutConfluenceAccess()
throws java.lang.Exception
- Description copied from interface:
UserCopier
- This method will deactivate all users who do not have Confluence access
- Specified by:
deactivateUsersWithoutConfluenceAccess
in interface UserCopier
- Throws:
java.lang.Exception
setCrowService
protected void setCrowService(com.atlassian.crowd.embedded.api.UnfilteredCrowdService crowdService)
Copyright © 2003-2014 Atlassian. All Rights Reserved.