test_class.declarator: _accountDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      AccountDao _accountDao;
test_class.type: AccountDao
test_class.var_name: _accountDao
test_class.declarator: _configDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      ConfigurationDao _configDao;
test_class.type: ConfigurationDao
test_class.var_name: _configDao
test_class.declarator: _resourceCountDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      ResourceCountDao _resourceCountDao;
test_class.type: ResourceCountDao
test_class.var_name: _resourceCountDao
test_class.declarator: _userDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      UserDao _userDao;
test_class.type: UserDao
test_class.var_name: _userDao
test_class.declarator: _vmGroupDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      InstanceGroupDao _vmGroupDao;
test_class.type: InstanceGroupDao
test_class.var_name: _vmGroupDao
test_class.declarator: _userAccountDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      UserAccountDao _userAccountDao;
test_class.type: UserAccountDao
test_class.var_name: _userAccountDao
test_class.declarator: _volumeDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      VolumeDao _volumeDao;
test_class.type: VolumeDao
test_class.var_name: _volumeDao
test_class.declarator: _userVmDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      UserVmDao _userVmDao;
test_class.type: UserVmDao
test_class.var_name: _userVmDao
test_class.declarator: _templateDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      VMTemplateDao _templateDao;
test_class.type: VMTemplateDao
test_class.var_name: _templateDao
test_class.declarator: _networkDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      NetworkDao _networkDao;
test_class.type: NetworkDao
test_class.var_name: _networkDao
test_class.declarator: _securityGroupDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      SecurityGroupDao _securityGroupDao;
test_class.type: SecurityGroupDao
test_class.var_name: _securityGroupDao
test_class.declarator: _vmDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      VMInstanceDao _vmDao;
test_class.type: VMInstanceDao
test_class.var_name: _vmDao
test_class.declarator: _snapshotDao
test_class.modifier: @Mock
      protected
test_class.original_string: @Mock
      protected SnapshotDao _snapshotDao;
test_class.type: SnapshotDao
test_class.var_name: _snapshotDao
test_class.declarator: _vmTemplateDao
test_class.modifier: @Mock
      protected
test_class.original_string: @Mock
      protected VMTemplateDao _vmTemplateDao;
test_class.type: VMTemplateDao
test_class.var_name: _vmTemplateDao
test_class.declarator: _networkGroupMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      SecurityGroupManager _networkGroupMgr;
test_class.type: SecurityGroupManager
test_class.var_name: _networkGroupMgr
test_class.declarator: _networkMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      NetworkOrchestrationService _networkMgr;
test_class.type: NetworkOrchestrationService
test_class.var_name: _networkMgr
test_class.declarator: _snapMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      SnapshotManager _snapMgr;
test_class.type: SnapshotManager
test_class.var_name: _snapMgr
test_class.declarator: _vmMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      UserVmManager _vmMgr;
test_class.type: UserVmManager
test_class.var_name: _vmMgr
test_class.declarator: _tmpltMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      TemplateManager _tmpltMgr;
test_class.type: TemplateManager
test_class.var_name: _tmpltMgr
test_class.declarator: _configMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      ConfigurationManager _configMgr;
test_class.type: ConfigurationManager
test_class.var_name: _configMgr
test_class.declarator: _itMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      VirtualMachineManager _itMgr;
test_class.type: VirtualMachineManager
test_class.var_name: _itMgr
test_class.declarator: _remoteAccessVpnDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      RemoteAccessVpnDao _remoteAccessVpnDao;
test_class.type: RemoteAccessVpnDao
test_class.var_name: _remoteAccessVpnDao
test_class.declarator: _remoteAccessVpnMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      RemoteAccessVpnService _remoteAccessVpnMgr;
test_class.type: RemoteAccessVpnService
test_class.var_name: _remoteAccessVpnMgr
test_class.declarator: _vpnUser
test_class.modifier: @Mock
test_class.original_string: @Mock
      VpnUserDao _vpnUser;
test_class.type: VpnUserDao
test_class.var_name: _vpnUser
test_class.declarator: _dcDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      DataCenterDao _dcDao;
test_class.type: DataCenterDao
test_class.var_name: _dcDao
test_class.declarator: _domainMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      DomainManager _domainMgr;
test_class.type: DomainManager
test_class.var_name: _domainMgr
test_class.declarator: _projectMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      ProjectManager _projectMgr;
test_class.type: ProjectManager
test_class.var_name: _projectMgr
test_class.declarator: _projectDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      ProjectDao _projectDao;
test_class.type: ProjectDao
test_class.var_name: _projectDao
test_class.declarator: _accountDetailsDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      AccountDetailsDao _accountDetailsDao;
test_class.type: AccountDetailsDao
test_class.var_name: _accountDetailsDao
test_class.declarator: _domainDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      DomainDao _domainDao;
test_class.type: DomainDao
test_class.var_name: _domainDao
test_class.declarator: _projectAccountDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      ProjectAccountDao _projectAccountDao;
test_class.type: ProjectAccountDao
test_class.var_name: _projectAccountDao
test_class.declarator: _ipAddressDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      IPAddressDao _ipAddressDao;
test_class.type: IPAddressDao
test_class.var_name: _ipAddressDao
test_class.declarator: _vpcMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      VpcManager _vpcMgr;
test_class.type: VpcManager
test_class.var_name: _vpcMgr
test_class.declarator: _routerDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      DomainRouterDao _routerDao;
test_class.type: DomainRouterDao
test_class.var_name: _routerDao
test_class.declarator: _vpnMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      Site2SiteVpnManager _vpnMgr;
test_class.type: Site2SiteVpnManager
test_class.var_name: _vpnMgr
test_class.declarator: _autoscaleMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      AutoScaleManager _autoscaleMgr;
test_class.type: AutoScaleManager
test_class.var_name: _autoscaleMgr
test_class.declarator: volumeService
test_class.modifier: @Mock
test_class.original_string: @Mock
      VolumeApiService volumeService;
test_class.type: VolumeApiService
test_class.var_name: volumeService
test_class.declarator: _affinityGroupDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      AffinityGroupDao _affinityGroupDao;
test_class.type: AffinityGroupDao
test_class.var_name: _affinityGroupDao
test_class.declarator: _accountGuestVlanMapDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      AccountGuestVlanMapDao _accountGuestVlanMapDao;
test_class.type: AccountGuestVlanMapDao
test_class.var_name: _accountGuestVlanMapDao
test_class.declarator: _dataCenterVnetDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      DataCenterVnetDao _dataCenterVnetDao;
test_class.type: DataCenterVnetDao
test_class.var_name: _dataCenterVnetDao
test_class.declarator: _resourceLimitMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      ResourceLimitService _resourceLimitMgr;
test_class.type: ResourceLimitService
test_class.var_name: _resourceLimitMgr
test_class.declarator: _resourceLimitDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      ResourceLimitDao _resourceLimitDao;
test_class.type: ResourceLimitDao
test_class.var_name: _resourceLimitDao
test_class.declarator: _dedicatedDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      DedicatedResourceDao _dedicatedDao;
test_class.type: DedicatedResourceDao
test_class.var_name: _dedicatedDao
test_class.declarator: _gslbRuleDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      GlobalLoadBalancerRuleDao _gslbRuleDao;
test_class.type: GlobalLoadBalancerRuleDao
test_class.var_name: _gslbRuleDao
test_class.declarator: _messageBus
test_class.modifier: @Mock
test_class.original_string: @Mock
      MessageBus _messageBus;
test_class.type: MessageBus
test_class.var_name: _messageBus
test_class.declarator: _vmSnapshotMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      VMSnapshotManager _vmSnapshotMgr;
test_class.type: VMSnapshotManager
test_class.var_name: _vmSnapshotMgr
test_class.declarator: _vmSnapshotDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      VMSnapshotDao _vmSnapshotDao;
test_class.type: VMSnapshotDao
test_class.var_name: _vmSnapshotDao
test_class.declarator: callingUser
test_class.modifier: @Mock
test_class.original_string: @Mock
      User callingUser;
test_class.type: User
test_class.var_name: callingUser
test_class.declarator: callingAccount
test_class.modifier: @Mock
test_class.original_string: @Mock
      Account callingAccount;
test_class.type: Account
test_class.var_name: callingAccount
test_class.declarator: accountManager
test_class.original_string: AccountManagerImpl accountManager;
test_class.type: AccountManagerImpl
test_class.var_name: accountManager
test_class.declarator: securityChecker
test_class.modifier: @Mock
test_class.original_string: @Mock
      SecurityChecker securityChecker;
test_class.type: SecurityChecker
test_class.var_name: securityChecker
test_class.declarator: userAuthenticator
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private UserAuthenticator userAuthenticator;
test_class.type: UserAuthenticator
test_class.var_name: userAuthenticator
test_class.file: server/src/test/java/com/cloud/user/AccountManagerImplTest.java
test_class.identifier: AccountManagerImplTest
test_case.body: @Test
      public void deleteUserAccount() {
          AccountVO account = new AccountVO();
          account.setId(42l);
          DomainVO domain = new DomainVO();
          Mockito.when(_accountDao.findById(42l)).thenReturn(account);
          Mockito.when(
                  securityChecker.checkAccess(Mockito.any(Account.class),
                      Mockito.any(ControlledEntity.class), Mockito.any(AccessType.class),
                      Mockito.anyString()))
                  .thenReturn(true);
          Mockito.when(_accountDao.remove(42l)).thenReturn(true);
          Mockito.when(_configMgr.releaseAccountSpecificVirtualRanges(42l))
                  .thenReturn(true);
          Mockito.when(_domainMgr.getDomain(Mockito.anyLong())).thenReturn(domain);
          Mockito.when(
                  securityChecker.checkAccess(Mockito.any(Account.class),
                          Mockito.any(Domain.class)))
                  .thenReturn(true);
          Mockito.when(_vmSnapshotDao.listByAccountId(Mockito.anyLong())).thenReturn(new ArrayList<VMSnapshotVO>());
  
          Assert.assertTrue(accountManager.deleteUserAccount(42));
          // assert that this was a clean delete
          Mockito.verify(_accountDao, Mockito.never()).markForCleanup(
                  Mockito.eq(42l));
      }
test_case.class_method_signature: AccountManagerImplTest.deleteUserAccount()
test_case.full_signature: @Test public void deleteUserAccount()
test_case.identifier: deleteUserAccount
test_case.invocations: setId thenReturn when findById thenReturn when checkAccess any any any anyString thenReturn when remove thenReturn when releaseAccountSpecificVirtualRanges thenReturn when getDomain anyLong thenReturn when checkAccess any any thenReturn when listByAccountId anyLong assertTrue deleteUserAccount markForCleanup verify never eq
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void deleteUserAccount()
focal_class.declarator: s_logger = LoggerFactory.getLogger(AccountManagerImpl.class)
focal_class.modifier: public static final
focal_class.original_string: public static final Logger s_logger = LoggerFactory.getLogger(AccountManagerImpl.class);
focal_class.type: Logger
focal_class.var_name: s_logger
focal_class.declarator: _accountDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private AccountDao _accountDao;
focal_class.type: AccountDao
focal_class.var_name: _accountDao
focal_class.declarator: _configDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      ConfigurationDao _configDao;
focal_class.type: ConfigurationDao
focal_class.var_name: _configDao
focal_class.declarator: _resourceCountDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private ResourceCountDao _resourceCountDao;
focal_class.type: ResourceCountDao
focal_class.var_name: _resourceCountDao
focal_class.declarator: _userDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private UserDao _userDao;
focal_class.type: UserDao
focal_class.var_name: _userDao
focal_class.declarator: _vmGroupDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private InstanceGroupDao _vmGroupDao;
focal_class.type: InstanceGroupDao
focal_class.var_name: _vmGroupDao
focal_class.declarator: _userAccountDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private UserAccountDao _userAccountDao;
focal_class.type: UserAccountDao
focal_class.var_name: _userAccountDao
focal_class.declarator: _volumeDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private VolumeDao _volumeDao;
focal_class.type: VolumeDao
focal_class.var_name: _volumeDao
focal_class.declarator: _userVmDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private UserVmDao _userVmDao;
focal_class.type: UserVmDao
focal_class.var_name: _userVmDao
focal_class.declarator: _templateDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private VMTemplateDao _templateDao;
focal_class.type: VMTemplateDao
focal_class.var_name: _templateDao
focal_class.declarator: _networkDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private NetworkDao _networkDao;
focal_class.type: NetworkDao
focal_class.var_name: _networkDao
focal_class.declarator: _securityGroupDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private SecurityGroupDao _securityGroupDao;
focal_class.type: SecurityGroupDao
focal_class.var_name: _securityGroupDao
focal_class.declarator: _vmDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private VMInstanceDao _vmDao;
focal_class.type: VMInstanceDao
focal_class.var_name: _vmDao
focal_class.declarator: _snapshotDao
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected SnapshotDao _snapshotDao;
focal_class.type: SnapshotDao
focal_class.var_name: _snapshotDao
focal_class.declarator: _vmTemplateDao
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected VMTemplateDao _vmTemplateDao;
focal_class.type: VMTemplateDao
focal_class.var_name: _vmTemplateDao
focal_class.declarator: _networkGroupMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private SecurityGroupManager _networkGroupMgr;
focal_class.type: SecurityGroupManager
focal_class.var_name: _networkGroupMgr
focal_class.declarator: _networkMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private NetworkOrchestrationService _networkMgr;
focal_class.type: NetworkOrchestrationService
focal_class.var_name: _networkMgr
focal_class.declarator: _snapMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private SnapshotManager _snapMgr;
focal_class.type: SnapshotManager
focal_class.var_name: _snapMgr
focal_class.declarator: _vmSnapshotMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private VMSnapshotManager _vmSnapshotMgr;
focal_class.type: VMSnapshotManager
focal_class.var_name: _vmSnapshotMgr
focal_class.declarator: _vmSnapshotDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private VMSnapshotDao _vmSnapshotDao;
focal_class.type: VMSnapshotDao
focal_class.var_name: _vmSnapshotDao
focal_class.declarator: _vmMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private UserVmManager _vmMgr;
focal_class.type: UserVmManager
focal_class.var_name: _vmMgr
focal_class.declarator: _tmpltMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private TemplateManager _tmpltMgr;
focal_class.type: TemplateManager
focal_class.var_name: _tmpltMgr
focal_class.declarator: _configMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private ConfigurationManager _configMgr;
focal_class.type: ConfigurationManager
focal_class.var_name: _configMgr
focal_class.declarator: _itMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private VirtualMachineManager _itMgr;
focal_class.type: VirtualMachineManager
focal_class.var_name: _itMgr
focal_class.declarator: _remoteAccessVpnDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private RemoteAccessVpnDao _remoteAccessVpnDao;
focal_class.type: RemoteAccessVpnDao
focal_class.var_name: _remoteAccessVpnDao
focal_class.declarator: _remoteAccessVpnMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private RemoteAccessVpnService _remoteAccessVpnMgr;
focal_class.type: RemoteAccessVpnService
focal_class.var_name: _remoteAccessVpnMgr
focal_class.declarator: _vpnUser
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private VpnUserDao _vpnUser;
focal_class.type: VpnUserDao
focal_class.var_name: _vpnUser
focal_class.declarator: _dcDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private DataCenterDao _dcDao;
focal_class.type: DataCenterDao
focal_class.var_name: _dcDao
focal_class.declarator: _domainMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private DomainManager _domainMgr;
focal_class.type: DomainManager
focal_class.var_name: _domainMgr
focal_class.declarator: _projectMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private ProjectManager _projectMgr;
focal_class.type: ProjectManager
focal_class.var_name: _projectMgr
focal_class.declarator: _projectDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private ProjectDao _projectDao;
focal_class.type: ProjectDao
focal_class.var_name: _projectDao
focal_class.declarator: _accountDetailsDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private AccountDetailsDao _accountDetailsDao;
focal_class.type: AccountDetailsDao
focal_class.var_name: _accountDetailsDao
focal_class.declarator: _domainDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private DomainDao _domainDao;
focal_class.type: DomainDao
focal_class.var_name: _domainDao
focal_class.declarator: _projectAccountDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private ProjectAccountDao _projectAccountDao;
focal_class.type: ProjectAccountDao
focal_class.var_name: _projectAccountDao
focal_class.declarator: _ipAddressDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private IPAddressDao _ipAddressDao;
focal_class.type: IPAddressDao
focal_class.var_name: _ipAddressDao
focal_class.declarator: _vpcMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private VpcManager _vpcMgr;
focal_class.type: VpcManager
focal_class.var_name: _vpcMgr
focal_class.declarator: _vpnMgr
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      Site2SiteVpnManager _vpnMgr;
focal_class.type: Site2SiteVpnManager
focal_class.var_name: _vpnMgr
focal_class.declarator: _autoscaleMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private AutoScaleManager _autoscaleMgr;
focal_class.type: AutoScaleManager
focal_class.var_name: _autoscaleMgr
focal_class.declarator: volumeService
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      VolumeApiService volumeService;
focal_class.type: VolumeApiService
focal_class.var_name: volumeService
focal_class.declarator: _affinityGroupDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private AffinityGroupDao _affinityGroupDao;
focal_class.type: AffinityGroupDao
focal_class.var_name: _affinityGroupDao
focal_class.declarator: _accountGuestVlanMapDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private AccountGuestVlanMapDao _accountGuestVlanMapDao;
focal_class.type: AccountGuestVlanMapDao
focal_class.var_name: _accountGuestVlanMapDao
focal_class.declarator: _dataCenterVnetDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private DataCenterVnetDao _dataCenterVnetDao;
focal_class.type: DataCenterVnetDao
focal_class.var_name: _dataCenterVnetDao
focal_class.declarator: _resourceLimitMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private ResourceLimitService _resourceLimitMgr;
focal_class.type: ResourceLimitService
focal_class.var_name: _resourceLimitMgr
focal_class.declarator: _resourceLimitDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private ResourceLimitDao _resourceLimitDao;
focal_class.type: ResourceLimitDao
focal_class.var_name: _resourceLimitDao
focal_class.declarator: _dedicatedDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private DedicatedResourceDao _dedicatedDao;
focal_class.type: DedicatedResourceDao
focal_class.var_name: _dedicatedDao
focal_class.declarator: _gslbRuleDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private GlobalLoadBalancerRuleDao _gslbRuleDao;
focal_class.type: GlobalLoadBalancerRuleDao
focal_class.var_name: _gslbRuleDao
focal_class.declarator: _querySelectors
focal_class.original_string: List<QuerySelector> _querySelectors;
focal_class.type: List<QuerySelector>
focal_class.var_name: _querySelectors
focal_class.declarator: _messageBus
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      MessageBus _messageBus;
focal_class.type: MessageBus
focal_class.var_name: _messageBus
focal_class.declarator: _gslbService
focal_class.modifier: @Inject
      public
focal_class.original_string: @Inject
      public com.cloud.region.ha.GlobalLoadBalancingRulesService _gslbService;
focal_class.type: com.cloud.region.ha.GlobalLoadBalancingRulesService
focal_class.var_name: _gslbService
focal_class.declarator: _userAuthenticators
focal_class.modifier: private
focal_class.original_string: private List<UserAuthenticator> _userAuthenticators;
focal_class.type: List<UserAuthenticator>
focal_class.var_name: _userAuthenticators
focal_class.declarator: _userPasswordEncoders
focal_class.original_string: List<UserAuthenticator> _userPasswordEncoders;
focal_class.type: List<UserAuthenticator>
focal_class.var_name: _userPasswordEncoders
focal_class.declarator: _ipAddrMgr
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected IpAddressManager _ipAddrMgr;
focal_class.type: IpAddressManager
focal_class.var_name: _ipAddrMgr
focal_class.declarator: _executor = Executors.newScheduledThreadPool(1, new NamedThreadFactory("AccountChecker"))
focal_class.modifier: private final
focal_class.original_string: private final ScheduledExecutorService _executor = Executors.newScheduledThreadPool(1, new NamedThreadFactory("AccountChecker"));
focal_class.type: ScheduledExecutorService
focal_class.var_name: _executor
focal_class.declarator: _allowedLoginAttempts
focal_class.original_string: int _allowedLoginAttempts;
focal_class.type: int
focal_class.var_name: _allowedLoginAttempts
focal_class.declarator: _systemUser
focal_class.original_string: UserVO _systemUser;
focal_class.type: UserVO
focal_class.var_name: _systemUser
focal_class.declarator: _systemAccount
focal_class.original_string: AccountVO _systemAccount;
focal_class.type: AccountVO
focal_class.var_name: _systemAccount
focal_class.declarator: _securityCheckers
focal_class.original_string: List<SecurityChecker> _securityCheckers;
focal_class.type: List<SecurityChecker>
focal_class.var_name: _securityCheckers
focal_class.declarator: _cleanupInterval
focal_class.original_string: int _cleanupInterval;
focal_class.type: int
focal_class.var_name: _cleanupInterval
focal_class.file: server/src/main/java/com/cloud/user/AccountManagerImpl.java
focal_class.identifier: AccountManagerImpl
focal_class.interfaces: implements AccountManager, Manager
focal_class.class_method_signature: AccountManagerImpl.getUserAuthenticators()
focal_class.full_signature: public List<UserAuthenticator> getUserAuthenticators()
focal_class.identifier: getUserAuthenticators
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<UserAuthenticator>
focal_class.signature: List<UserAuthenticator> getUserAuthenticators()
focal_class.class_method_signature: AccountManagerImpl.setUserAuthenticators(final List<UserAuthenticator> authenticators)
focal_class.full_signature: public void setUserAuthenticators(final List<UserAuthenticator> authenticators)
focal_class.identifier: setUserAuthenticators
focal_class.modifiers: public
focal_class.parameters: (final List<UserAuthenticator> authenticators)
focal_class.return: void
focal_class.signature: void setUserAuthenticators(final List<UserAuthenticator> authenticators)
focal_class.class_method_signature: AccountManagerImpl.getUserPasswordEncoders()
focal_class.full_signature: public List<UserAuthenticator> getUserPasswordEncoders()
focal_class.identifier: getUserPasswordEncoders
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<UserAuthenticator>
focal_class.signature: List<UserAuthenticator> getUserPasswordEncoders()
focal_class.class_method_signature: AccountManagerImpl.setUserPasswordEncoders(final List<UserAuthenticator> encoders)
focal_class.full_signature: public void setUserPasswordEncoders(final List<UserAuthenticator> encoders)
focal_class.identifier: setUserPasswordEncoders
focal_class.modifiers: public
focal_class.parameters: (final List<UserAuthenticator> encoders)
focal_class.return: void
focal_class.signature: void setUserPasswordEncoders(final List<UserAuthenticator> encoders)
focal_class.class_method_signature: AccountManagerImpl.getSecurityCheckers()
focal_class.full_signature: public List<SecurityChecker> getSecurityCheckers()
focal_class.identifier: getSecurityCheckers
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<SecurityChecker>
focal_class.signature: List<SecurityChecker> getSecurityCheckers()
focal_class.class_method_signature: AccountManagerImpl.setSecurityCheckers(final List<SecurityChecker> securityCheckers)
focal_class.full_signature: public void setSecurityCheckers(final List<SecurityChecker> securityCheckers)
focal_class.identifier: setSecurityCheckers
focal_class.modifiers: public
focal_class.parameters: (final List<SecurityChecker> securityCheckers)
focal_class.return: void
focal_class.signature: void setSecurityCheckers(final List<SecurityChecker> securityCheckers)
focal_class.class_method_signature: AccountManagerImpl.getQuerySelectors()
focal_class.full_signature: public List<QuerySelector> getQuerySelectors()
focal_class.identifier: getQuerySelectors
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<QuerySelector>
focal_class.signature: List<QuerySelector> getQuerySelectors()
focal_class.class_method_signature: AccountManagerImpl.setQuerySelectors(final List<QuerySelector> querySelectors)
focal_class.full_signature: public void setQuerySelectors(final List<QuerySelector> querySelectors)
focal_class.identifier: setQuerySelectors
focal_class.modifiers: public
focal_class.parameters: (final List<QuerySelector> querySelectors)
focal_class.return: void
focal_class.signature: void setQuerySelectors(final List<QuerySelector> querySelectors)
focal_class.class_method_signature: AccountManagerImpl.configure(final String name, final Map<String, Object> params)
focal_class.full_signature: @Override public boolean configure(final String name, final Map<String, Object> params)
focal_class.identifier: configure
focal_class.modifiers: @Override public
focal_class.parameters: (final String name, final Map<String, Object> params)
focal_class.return: boolean
focal_class.signature: boolean configure(final String name, final Map<String, Object> params)
focal_class.class_method_signature: AccountManagerImpl.getSystemUser()
focal_class.full_signature: @Override public UserVO getSystemUser()
focal_class.identifier: getSystemUser
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: UserVO
focal_class.signature: UserVO getSystemUser()
focal_class.class_method_signature: AccountManagerImpl.start()
focal_class.full_signature: @Override public boolean start()
focal_class.identifier: start
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean start()
focal_class.class_method_signature: AccountManagerImpl.stop()
focal_class.full_signature: @Override public boolean stop()
focal_class.identifier: stop
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean stop()
focal_class.class_method_signature: AccountManagerImpl.getSystemAccount()
focal_class.full_signature: @Override public AccountVO getSystemAccount()
focal_class.identifier: getSystemAccount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: AccountVO
focal_class.signature: AccountVO getSystemAccount()
focal_class.class_method_signature: AccountManagerImpl.isAdmin(final Long accountId)
focal_class.full_signature: @Override public boolean isAdmin(final Long accountId)
focal_class.identifier: isAdmin
focal_class.modifiers: @Override public
focal_class.parameters: (final Long accountId)
focal_class.return: boolean
focal_class.signature: boolean isAdmin(final Long accountId)
focal_class.class_method_signature: AccountManagerImpl.isRootAdmin(final Long accountId)
focal_class.full_signature: @Override public boolean isRootAdmin(final Long accountId)
focal_class.identifier: isRootAdmin
focal_class.modifiers: @Override public
focal_class.parameters: (final Long accountId)
focal_class.return: boolean
focal_class.signature: boolean isRootAdmin(final Long accountId)
focal_class.class_method_signature: AccountManagerImpl.isDomainAdmin(final Long accountId)
focal_class.full_signature: @Override public boolean isDomainAdmin(final Long accountId)
focal_class.identifier: isDomainAdmin
focal_class.modifiers: @Override public
focal_class.parameters: (final Long accountId)
focal_class.return: boolean
focal_class.signature: boolean isDomainAdmin(final Long accountId)
focal_class.class_method_signature: AccountManagerImpl.isNormalUser(final long accountId)
focal_class.full_signature: @Override public boolean isNormalUser(final long accountId)
focal_class.identifier: isNormalUser
focal_class.modifiers: @Override public
focal_class.parameters: (final long accountId)
focal_class.return: boolean
focal_class.signature: boolean isNormalUser(final long accountId)
focal_class.class_method_signature: AccountManagerImpl.isResourceDomainAdmin(final Long accountId)
focal_class.full_signature: public boolean isResourceDomainAdmin(final Long accountId)
focal_class.identifier: isResourceDomainAdmin
focal_class.modifiers: public
focal_class.parameters: (final Long accountId)
focal_class.return: boolean
focal_class.signature: boolean isResourceDomainAdmin(final Long accountId)
focal_class.class_method_signature: AccountManagerImpl.isInternalAccount(final long accountId)
focal_class.full_signature: public boolean isInternalAccount(final long accountId)
focal_class.identifier: isInternalAccount
focal_class.modifiers: public
focal_class.parameters: (final long accountId)
focal_class.return: boolean
focal_class.signature: boolean isInternalAccount(final long accountId)
focal_class.class_method_signature: AccountManagerImpl.checkAccess(final Account caller, final Domain domain)
focal_class.full_signature: @Override public void checkAccess(final Account caller, final Domain domain)
focal_class.identifier: checkAccess
focal_class.modifiers: @Override public
focal_class.parameters: (final Account caller, final Domain domain)
focal_class.return: void
focal_class.signature: void checkAccess(final Account caller, final Domain domain)
focal_class.class_method_signature: AccountManagerImpl.checkAccess(final Account caller, final AccessType accessType, final boolean sameOwner, final ControlledEntity... entities)
focal_class.full_signature: @Override public void checkAccess(final Account caller, final AccessType accessType, final boolean sameOwner, final ControlledEntity... entities)
focal_class.identifier: checkAccess
focal_class.modifiers: @Override public
focal_class.parameters: (final Account caller, final AccessType accessType, final boolean sameOwner, final ControlledEntity... entities)
focal_class.return: void
focal_class.signature: void checkAccess(final Account caller, final AccessType accessType, final boolean sameOwner, final ControlledEntity... entities)
focal_class.class_method_signature: AccountManagerImpl.checkAccess(final Account caller, final AccessType accessType, final boolean sameOwner, final String apiName, final ControlledEntity... entities)
focal_class.full_signature: @Override public void checkAccess(final Account caller, final AccessType accessType, final boolean sameOwner, final String apiName, final ControlledEntity... entities)
focal_class.identifier: checkAccess
focal_class.modifiers: @Override public
focal_class.parameters: (final Account caller, final AccessType accessType, final boolean sameOwner, final String apiName, final ControlledEntity... entities)
focal_class.return: void
focal_class.signature: void checkAccess(final Account caller, final AccessType accessType, final boolean sameOwner, final String apiName, final ControlledEntity... entities)
focal_class.class_method_signature: AccountManagerImpl.checkAccessAndSpecifyAuthority(final Account caller, final Long zoneId)
focal_class.full_signature: @Override public Long checkAccessAndSpecifyAuthority(final Account caller, final Long zoneId)
focal_class.identifier: checkAccessAndSpecifyAuthority
focal_class.modifiers: @Override public
focal_class.parameters: (final Account caller, final Long zoneId)
focal_class.return: Long
focal_class.signature: Long checkAccessAndSpecifyAuthority(final Account caller, final Long zoneId)
focal_class.class_method_signature: AccountManagerImpl.getZoneIdForAccount(final Account account)
focal_class.full_signature: private Long getZoneIdForAccount(final Account account)
focal_class.identifier: getZoneIdForAccount
focal_class.modifiers: private
focal_class.parameters: (final Account account)
focal_class.return: Long
focal_class.signature: Long getZoneIdForAccount(final Account account)
focal_class.class_method_signature: AccountManagerImpl.updateLoginAttempts(final Long id, final int attempts, final boolean toDisable)
focal_class.full_signature: @DB public void updateLoginAttempts(final Long id, final int attempts, final boolean toDisable)
focal_class.identifier: updateLoginAttempts
focal_class.modifiers: @DB public
focal_class.parameters: (final Long id, final int attempts, final boolean toDisable)
focal_class.return: void
focal_class.signature: void updateLoginAttempts(final Long id, final int attempts, final boolean toDisable)
focal_class.class_method_signature: AccountManagerImpl.doSetUserStatus(final long userId, final State state)
focal_class.full_signature: private boolean doSetUserStatus(final long userId, final State state)
focal_class.identifier: doSetUserStatus
focal_class.modifiers: private
focal_class.parameters: (final long userId, final State state)
focal_class.return: boolean
focal_class.signature: boolean doSetUserStatus(final long userId, final State state)
focal_class.class_method_signature: AccountManagerImpl.enableAccount(final long accountId)
focal_class.full_signature: @Override public boolean enableAccount(final long accountId)
focal_class.identifier: enableAccount
focal_class.modifiers: @Override public
focal_class.parameters: (final long accountId)
focal_class.return: boolean
focal_class.signature: boolean enableAccount(final long accountId)
focal_class.class_method_signature: AccountManagerImpl.lockAccount(final long accountId)
focal_class.full_signature: protected boolean lockAccount(final long accountId)
focal_class.identifier: lockAccount
focal_class.modifiers: protected
focal_class.parameters: (final long accountId)
focal_class.return: boolean
focal_class.signature: boolean lockAccount(final long accountId)
focal_class.class_method_signature: AccountManagerImpl.deleteAccount(final AccountVO account, final long callerUserId, final Account caller)
focal_class.full_signature: @Override public boolean deleteAccount(final AccountVO account, final long callerUserId, final Account caller)
focal_class.identifier: deleteAccount
focal_class.modifiers: @Override public
focal_class.parameters: (final AccountVO account, final long callerUserId, final Account caller)
focal_class.return: boolean
focal_class.signature: boolean deleteAccount(final AccountVO account, final long callerUserId, final Account caller)
focal_class.class_method_signature: AccountManagerImpl.cleanupAccount(final AccountVO account, final long callerUserId, final Account caller)
focal_class.full_signature: protected boolean cleanupAccount(final AccountVO account, final long callerUserId, final Account caller)
focal_class.identifier: cleanupAccount
focal_class.modifiers: protected
focal_class.parameters: (final AccountVO account, final long callerUserId, final Account caller)
focal_class.return: boolean
focal_class.signature: boolean cleanupAccount(final AccountVO account, final long callerUserId, final Account caller)
focal_class.class_method_signature: AccountManagerImpl.disableAccount(final long accountId)
focal_class.full_signature: @Override public boolean disableAccount(final long accountId)
focal_class.identifier: disableAccount
focal_class.modifiers: @Override public
focal_class.parameters: (final long accountId)
focal_class.return: boolean
focal_class.signature: boolean disableAccount(final long accountId)
focal_class.class_method_signature: AccountManagerImpl.doDisableAccount(final long accountId)
focal_class.full_signature: private boolean doDisableAccount(final long accountId)
focal_class.identifier: doDisableAccount
focal_class.modifiers: private
focal_class.parameters: (final long accountId)
focal_class.return: boolean
focal_class.signature: boolean doDisableAccount(final long accountId)
focal_class.class_method_signature: AccountManagerImpl.createUserAccount(final String userName, final String password, final String firstName, final String lastName, final String email, final String timezone,
                                           final String accountName, final short accountType, final Long domainId, final String networkDomain, final Map<String, String> details, final String accountUUID, final String userUUID)
focal_class.full_signature: @Override @ActionEvents({ @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_CREATE, eventDescription = "creating Account"), @ActionEvent(eventType = EventTypes.EVENT_USER_CREATE, eventDescription = "creating User") }) public UserAccount createUserAccount(final String userName, final String password, final String firstName, final String lastName, final String email, final String timezone,
                                           final String accountName, final short accountType, final Long domainId, final String networkDomain, final Map<String, String> details, final String accountUUID, final String userUUID)
focal_class.identifier: createUserAccount
focal_class.modifiers: @Override @ActionEvents({ @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_CREATE, eventDescription = "creating Account"), @ActionEvent(eventType = EventTypes.EVENT_USER_CREATE, eventDescription = "creating User") }) public
focal_class.parameters: (final String userName, final String password, final String firstName, final String lastName, final String email, final String timezone,
                                           final String accountName, final short accountType, final Long domainId, final String networkDomain, final Map<String, String> details, final String accountUUID, final String userUUID)
focal_class.return: UserAccount
focal_class.signature: UserAccount createUserAccount(final String userName, final String password, final String firstName, final String lastName, final String email, final String timezone,
                                           final String accountName, final short accountType, final Long domainId, final String networkDomain, final Map<String, String> details, final String accountUUID, final String userUUID)
focal_class.class_method_signature: AccountManagerImpl.createUserAccount(final String userName, final String password, final String firstName, final String lastName, final String email,
                                           final String timezone, String accountName, final short accountType, Long domainId, final String networkDomain, final Map<String, String> details,
                                           final String accountUUID, final String userUUID, final User.Source source)
focal_class.full_signature: @Override @DB @ActionEvents({ @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_CREATE, eventDescription = "creating Account"), @ActionEvent(eventType = EventTypes.EVENT_USER_CREATE, eventDescription = "creating User") }) public UserAccount createUserAccount(final String userName, final String password, final String firstName, final String lastName, final String email,
                                           final String timezone, String accountName, final short accountType, Long domainId, final String networkDomain, final Map<String, String> details,
                                           final String accountUUID, final String userUUID, final User.Source source)
focal_class.identifier: createUserAccount
focal_class.modifiers: @Override @DB @ActionEvents({ @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_CREATE, eventDescription = "creating Account"), @ActionEvent(eventType = EventTypes.EVENT_USER_CREATE, eventDescription = "creating User") }) public
focal_class.parameters: (final String userName, final String password, final String firstName, final String lastName, final String email,
                                           final String timezone, String accountName, final short accountType, Long domainId, final String networkDomain, final Map<String, String> details,
                                           final String accountUUID, final String userUUID, final User.Source source)
focal_class.return: UserAccount
focal_class.signature: UserAccount createUserAccount(final String userName, final String password, final String firstName, final String lastName, final String email,
                                           final String timezone, String accountName, final short accountType, Long domainId, final String networkDomain, final Map<String, String> details,
                                           final String accountUUID, final String userUUID, final User.Source source)
focal_class.class_method_signature: AccountManagerImpl.createUser(final String userName, final String password, final String firstName, final String lastName, final String email, final String timeZone, final String accountName, Long domainId,
                               final String userUUID, final User.Source source)
focal_class.full_signature: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_CREATE, eventDescription = "creating User") public UserVO createUser(final String userName, final String password, final String firstName, final String lastName, final String email, final String timeZone, final String accountName, Long domainId,
                               final String userUUID, final User.Source source)
focal_class.identifier: createUser
focal_class.modifiers: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_CREATE, eventDescription = "creating User") public
focal_class.parameters: (final String userName, final String password, final String firstName, final String lastName, final String email, final String timeZone, final String accountName, Long domainId,
                               final String userUUID, final User.Source source)
focal_class.return: UserVO
focal_class.signature: UserVO createUser(final String userName, final String password, final String firstName, final String lastName, final String email, final String timeZone, final String accountName, Long domainId,
                               final String userUUID, final User.Source source)
focal_class.class_method_signature: AccountManagerImpl.createUser(final String userName, final String password, final String firstName, final String lastName, final String email, final String timeZone, final String accountName, final Long domainId,
                               final String userUUID)
focal_class.full_signature: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_CREATE, eventDescription = "creating User") public UserVO createUser(final String userName, final String password, final String firstName, final String lastName, final String email, final String timeZone, final String accountName, final Long domainId,
                               final String userUUID)
focal_class.identifier: createUser
focal_class.modifiers: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_CREATE, eventDescription = "creating User") public
focal_class.parameters: (final String userName, final String password, final String firstName, final String lastName, final String email, final String timeZone, final String accountName, final Long domainId,
                               final String userUUID)
focal_class.return: UserVO
focal_class.signature: UserVO createUser(final String userName, final String password, final String firstName, final String lastName, final String email, final String timeZone, final String accountName, final Long domainId,
                               final String userUUID)
focal_class.class_method_signature: AccountManagerImpl.updateUser(final Long userId, final String firstName, final String lastName, final String email, final String userName, final String password, final String apiKey, final String secretKey, final String timeZone)
focal_class.full_signature: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_UPDATE, eventDescription = "updating User") public UserAccount updateUser(final Long userId, final String firstName, final String lastName, final String email, final String userName, final String password, final String apiKey, final String secretKey, final String timeZone)
focal_class.identifier: updateUser
focal_class.modifiers: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_UPDATE, eventDescription = "updating User") public
focal_class.parameters: (final Long userId, final String firstName, final String lastName, final String email, final String userName, final String password, final String apiKey, final String secretKey, final String timeZone)
focal_class.return: UserAccount
focal_class.signature: UserAccount updateUser(final Long userId, final String firstName, final String lastName, final String email, final String userName, final String password, final String apiKey, final String secretKey, final String timeZone)
focal_class.class_method_signature: AccountManagerImpl.updateUser(final UpdateUserCmd cmd)
focal_class.full_signature: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_UPDATE, eventDescription = "updating User") public UserAccount updateUser(final UpdateUserCmd cmd)
focal_class.identifier: updateUser
focal_class.modifiers: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_UPDATE, eventDescription = "updating User") public
focal_class.parameters: (final UpdateUserCmd cmd)
focal_class.return: UserAccount
focal_class.signature: UserAccount updateUser(final UpdateUserCmd cmd)
focal_class.class_method_signature: AccountManagerImpl.disableUser(final long userId)
focal_class.full_signature: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_DISABLE, eventDescription = "disabling User", async = true) public UserAccount disableUser(final long userId)
focal_class.identifier: disableUser
focal_class.modifiers: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_DISABLE, eventDescription = "disabling User", async = true) public
focal_class.parameters: (final long userId)
focal_class.return: UserAccount
focal_class.signature: UserAccount disableUser(final long userId)
focal_class.class_method_signature: AccountManagerImpl.enableUser(final long userId)
focal_class.full_signature: @Override @DB @ActionEvent(eventType = EventTypes.EVENT_USER_ENABLE, eventDescription = "enabling User") public UserAccount enableUser(final long userId)
focal_class.identifier: enableUser
focal_class.modifiers: @Override @DB @ActionEvent(eventType = EventTypes.EVENT_USER_ENABLE, eventDescription = "enabling User") public
focal_class.parameters: (final long userId)
focal_class.return: UserAccount
focal_class.signature: UserAccount enableUser(final long userId)
focal_class.class_method_signature: AccountManagerImpl.lockUser(final long userId)
focal_class.full_signature: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_LOCK, eventDescription = "locking User") public UserAccount lockUser(final long userId)
focal_class.identifier: lockUser
focal_class.modifiers: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_LOCK, eventDescription = "locking User") public
focal_class.parameters: (final long userId)
focal_class.return: UserAccount
focal_class.signature: UserAccount lockUser(final long userId)
focal_class.class_method_signature: AccountManagerImpl.deleteUserAccount(final long accountId)
focal_class.full_signature: @Override @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_DELETE, eventDescription = "deleting account", async = true) // This method deletes the account public boolean deleteUserAccount(final long accountId)
focal_class.identifier: deleteUserAccount
focal_class.modifiers: @Override @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_DELETE, eventDescription = "deleting account", async = true) // This method deletes the account public
focal_class.parameters: (final long accountId)
focal_class.return: boolean
focal_class.signature: boolean deleteUserAccount(final long accountId)
focal_class.class_method_signature: AccountManagerImpl.enableAccount(final String accountName, final Long domainId, final Long accountId)
focal_class.full_signature: @Override @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_ENABLE, eventDescription = "enabling account", async = true) public AccountVO enableAccount(final String accountName, final Long domainId, final Long accountId)
focal_class.identifier: enableAccount
focal_class.modifiers: @Override @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_ENABLE, eventDescription = "enabling account", async = true) public
focal_class.parameters: (final String accountName, final Long domainId, final Long accountId)
focal_class.return: AccountVO
focal_class.signature: AccountVO enableAccount(final String accountName, final Long domainId, final Long accountId)
focal_class.class_method_signature: AccountManagerImpl.lockAccount(final String accountName, final Long domainId, final Long accountId)
focal_class.full_signature: @Override @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_DISABLE, eventDescription = "locking account", async = true) public AccountVO lockAccount(final String accountName, final Long domainId, final Long accountId)
focal_class.identifier: lockAccount
focal_class.modifiers: @Override @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_DISABLE, eventDescription = "locking account", async = true) public
focal_class.parameters: (final String accountName, final Long domainId, final Long accountId)
focal_class.return: AccountVO
focal_class.signature: AccountVO lockAccount(final String accountName, final Long domainId, final Long accountId)
focal_class.class_method_signature: AccountManagerImpl.disableAccount(final String accountName, final Long domainId, final Long accountId)
focal_class.full_signature: @Override @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_DISABLE, eventDescription = "disabling account", async = true) public AccountVO disableAccount(final String accountName, final Long domainId, final Long accountId)
focal_class.identifier: disableAccount
focal_class.modifiers: @Override @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_DISABLE, eventDescription = "disabling account", async = true) public
focal_class.parameters: (final String accountName, final Long domainId, final Long accountId)
focal_class.return: AccountVO
focal_class.signature: AccountVO disableAccount(final String accountName, final Long domainId, final Long accountId)
focal_class.class_method_signature: AccountManagerImpl.updateAccount(final UpdateAccountCmd cmd)
focal_class.full_signature: @Override @DB @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_UPDATE, eventDescription = "updating account", async = true) public AccountVO updateAccount(final UpdateAccountCmd cmd)
focal_class.identifier: updateAccount
focal_class.modifiers: @Override @DB @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_UPDATE, eventDescription = "updating account", async = true) public
focal_class.parameters: (final UpdateAccountCmd cmd)
focal_class.return: AccountVO
focal_class.signature: AccountVO updateAccount(final UpdateAccountCmd cmd)
focal_class.class_method_signature: AccountManagerImpl.deleteUser(final DeleteUserCmd deleteUserCmd)
focal_class.full_signature: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_DELETE, eventDescription = "deleting User") public boolean deleteUser(final DeleteUserCmd deleteUserCmd)
focal_class.identifier: deleteUser
focal_class.modifiers: @Override @ActionEvent(eventType = EventTypes.EVENT_USER_DELETE, eventDescription = "deleting User") public
focal_class.parameters: (final DeleteUserCmd deleteUserCmd)
focal_class.return: boolean
focal_class.signature: boolean deleteUser(final DeleteUserCmd deleteUserCmd)
focal_class.class_method_signature: AccountManagerImpl.finalizeOwner(final Account caller, final String accountName, final Long domainId, final Long projectId)
focal_class.full_signature: @Override public Account finalizeOwner(final Account caller, final String accountName, final Long domainId, final Long projectId)
focal_class.identifier: finalizeOwner
focal_class.modifiers: @Override public
focal_class.parameters: (final Account caller, final String accountName, final Long domainId, final Long projectId)
focal_class.return: Account
focal_class.signature: Account finalizeOwner(final Account caller, final String accountName, final Long domainId, final Long projectId)
focal_class.class_method_signature: AccountManagerImpl.getActiveAccountByName(final String accountName, final Long domainId)
focal_class.full_signature: @Override public Account getActiveAccountByName(final String accountName, final Long domainId)
focal_class.identifier: getActiveAccountByName
focal_class.modifiers: @Override public
focal_class.parameters: (final String accountName, final Long domainId)
focal_class.return: Account
focal_class.signature: Account getActiveAccountByName(final String accountName, final Long domainId)
focal_class.class_method_signature: AccountManagerImpl.getActiveUserAccount(final String username, final Long domainId)
focal_class.full_signature: @Override public UserAccount getActiveUserAccount(final String username, final Long domainId)
focal_class.identifier: getActiveUserAccount
focal_class.modifiers: @Override public
focal_class.parameters: (final String username, final Long domainId)
focal_class.return: UserAccount
focal_class.signature: UserAccount getActiveUserAccount(final String username, final Long domainId)
focal_class.class_method_signature: AccountManagerImpl.getActiveAccountById(final long accountId)
focal_class.full_signature: @Override public Account getActiveAccountById(final long accountId)
focal_class.identifier: getActiveAccountById
focal_class.modifiers: @Override public
focal_class.parameters: (final long accountId)
focal_class.return: Account
focal_class.signature: Account getActiveAccountById(final long accountId)
focal_class.class_method_signature: AccountManagerImpl.getAccount(final long accountId)
focal_class.full_signature: @Override public Account getAccount(final long accountId)
focal_class.identifier: getAccount
focal_class.modifiers: @Override public
focal_class.parameters: (final long accountId)
focal_class.return: Account
focal_class.signature: Account getAccount(final long accountId)
focal_class.class_method_signature: AccountManagerImpl.getRoleType(final Account account)
focal_class.full_signature: @Override public RoleType getRoleType(final Account account)
focal_class.identifier: getRoleType
focal_class.modifiers: @Override public
focal_class.parameters: (final Account account)
focal_class.return: RoleType
focal_class.signature: RoleType getRoleType(final Account account)
focal_class.class_method_signature: AccountManagerImpl.getActiveUser(final long userId)
focal_class.full_signature: @Override public User getActiveUser(final long userId)
focal_class.identifier: getActiveUser
focal_class.modifiers: @Override public
focal_class.parameters: (final long userId)
focal_class.return: User
focal_class.signature: User getActiveUser(final long userId)
focal_class.class_method_signature: AccountManagerImpl.getUserIncludingRemoved(final long userId)
focal_class.full_signature: @Override public User getUserIncludingRemoved(final long userId)
focal_class.identifier: getUserIncludingRemoved
focal_class.modifiers: @Override public
focal_class.parameters: (final long userId)
focal_class.return: User
focal_class.signature: User getUserIncludingRemoved(final long userId)
focal_class.class_method_signature: AccountManagerImpl.getActiveUserByRegistrationToken(final String registrationToken)
focal_class.full_signature: @Override public User getActiveUserByRegistrationToken(final String registrationToken)
focal_class.identifier: getActiveUserByRegistrationToken
focal_class.modifiers: @Override public
focal_class.parameters: (final String registrationToken)
focal_class.return: User
focal_class.signature: User getActiveUserByRegistrationToken(final String registrationToken)
focal_class.class_method_signature: AccountManagerImpl.markUserRegistered(final long userId)
focal_class.full_signature: @Override public void markUserRegistered(final long userId)
focal_class.identifier: markUserRegistered
focal_class.modifiers: @Override public
focal_class.parameters: (final long userId)
focal_class.return: void
focal_class.signature: void markUserRegistered(final long userId)
focal_class.class_method_signature: AccountManagerImpl.createAccount(final String accountName, final short accountType, final Long domainId, final String networkDomain, final Map<String, String> details,
                                     final String uuid)
focal_class.full_signature: @Override @DB public AccountVO createAccount(final String accountName, final short accountType, final Long domainId, final String networkDomain, final Map<String, String> details,
                                     final String uuid)
focal_class.identifier: createAccount
focal_class.modifiers: @Override @DB public
focal_class.parameters: (final String accountName, final short accountType, final Long domainId, final String networkDomain, final Map<String, String> details,
                                     final String uuid)
focal_class.return: AccountVO
focal_class.signature: AccountVO createAccount(final String accountName, final short accountType, final Long domainId, final String networkDomain, final Map<String, String> details,
                                     final String uuid)
focal_class.class_method_signature: AccountManagerImpl.createUser(final long accountId, final String userName, final String password, final String firstName, final String lastName, final String email, final String timezone, String userUUID,
                                  final User.Source source)
focal_class.full_signature: protected UserVO createUser(final long accountId, final String userName, final String password, final String firstName, final String lastName, final String email, final String timezone, String userUUID,
                                  final User.Source source)
focal_class.identifier: createUser
focal_class.modifiers: protected
focal_class.parameters: (final long accountId, final String userName, final String password, final String firstName, final String lastName, final String email, final String timezone, String userUUID,
                                  final User.Source source)
focal_class.return: UserVO
focal_class.signature: UserVO createUser(final long accountId, final String userName, final String password, final String firstName, final String lastName, final String email, final String timezone, String userUUID,
                                  final User.Source source)
focal_class.class_method_signature: AccountManagerImpl.logoutUser(final long userId)
focal_class.full_signature: @Override public void logoutUser(final long userId)
focal_class.identifier: logoutUser
focal_class.modifiers: @Override public
focal_class.parameters: (final long userId)
focal_class.return: void
focal_class.signature: void logoutUser(final long userId)
focal_class.class_method_signature: AccountManagerImpl.authenticateUser(final String username, final String password, final Long domainId, final InetAddress loginIpAddress, final Map<String, Object[]> requestParameters)
focal_class.full_signature: @Override public UserAccount authenticateUser(final String username, final String password, final Long domainId, final InetAddress loginIpAddress, final Map<String, Object[]> requestParameters)
focal_class.identifier: authenticateUser
focal_class.modifiers: @Override public
focal_class.parameters: (final String username, final String password, final Long domainId, final InetAddress loginIpAddress, final Map<String, Object[]> requestParameters)
focal_class.return: UserAccount
focal_class.signature: UserAccount authenticateUser(final String username, final String password, final Long domainId, final InetAddress loginIpAddress, final Map<String, Object[]> requestParameters)
focal_class.class_method_signature: AccountManagerImpl.getUserAccount(final String username, final String password, final Long domainId, final Map<String, Object[]> requestParameters)
focal_class.full_signature: private UserAccount getUserAccount(final String username, final String password, final Long domainId, final Map<String, Object[]> requestParameters)
focal_class.identifier: getUserAccount
focal_class.modifiers: private
focal_class.parameters: (final String username, final String password, final Long domainId, final Map<String, Object[]> requestParameters)
focal_class.return: UserAccount
focal_class.signature: UserAccount getUserAccount(final String username, final String password, final Long domainId, final Map<String, Object[]> requestParameters)
focal_class.class_method_signature: AccountManagerImpl.findUserByApiKey(final String apiKey)
focal_class.full_signature: @Override public Pair<User, Account> findUserByApiKey(final String apiKey)
focal_class.identifier: findUserByApiKey
focal_class.modifiers: @Override public
focal_class.parameters: (final String apiKey)
focal_class.return: Pair<User, Account>
focal_class.signature: Pair<User, Account> findUserByApiKey(final String apiKey)
focal_class.class_method_signature: AccountManagerImpl.createApiKeyAndSecretKey(final RegisterCmd cmd)
focal_class.full_signature: @Override @DB @ActionEvent(eventType = EventTypes.EVENT_REGISTER_FOR_SECRET_API_KEY, eventDescription = "register for the developer API keys") public String[] createApiKeyAndSecretKey(final RegisterCmd cmd)
focal_class.identifier: createApiKeyAndSecretKey
focal_class.modifiers: @Override @DB @ActionEvent(eventType = EventTypes.EVENT_REGISTER_FOR_SECRET_API_KEY, eventDescription = "register for the developer API keys") public
focal_class.parameters: (final RegisterCmd cmd)
focal_class.return: String[]
focal_class.signature: String[] createApiKeyAndSecretKey(final RegisterCmd cmd)
focal_class.class_method_signature: AccountManagerImpl.createApiKeyAndSecretKey(final long userId)
focal_class.full_signature: @Override @DB @ActionEvent(eventType = EventTypes.EVENT_REGISTER_FOR_SECRET_API_KEY, eventDescription = "register for the developer API keys") public String[] createApiKeyAndSecretKey(final long userId)
focal_class.identifier: createApiKeyAndSecretKey
focal_class.modifiers: @Override @DB @ActionEvent(eventType = EventTypes.EVENT_REGISTER_FOR_SECRET_API_KEY, eventDescription = "register for the developer API keys") public
focal_class.parameters: (final long userId)
focal_class.return: String[]
focal_class.signature: String[] createApiKeyAndSecretKey(final long userId)
focal_class.class_method_signature: AccountManagerImpl.createUserApiKey(final long userId)
focal_class.full_signature: private String createUserApiKey(final long userId)
focal_class.identifier: createUserApiKey
focal_class.modifiers: private
focal_class.parameters: (final long userId)
focal_class.return: String
focal_class.signature: String createUserApiKey(final long userId)
focal_class.class_method_signature: AccountManagerImpl.createUserSecretKey(final long userId)
focal_class.full_signature: private String createUserSecretKey(final long userId)
focal_class.identifier: createUserSecretKey
focal_class.modifiers: private
focal_class.parameters: (final long userId)
focal_class.return: String
focal_class.signature: String createUserSecretKey(final long userId)
focal_class.class_method_signature: AccountManagerImpl.buildACLSearchBuilder(final SearchBuilder<? extends ControlledEntity> sb,
                                        final Long domainId, final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.full_signature: @Override public void buildACLSearchBuilder(final SearchBuilder<? extends ControlledEntity> sb,
                                        final Long domainId, final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.identifier: buildACLSearchBuilder
focal_class.modifiers: @Override public
focal_class.parameters: (final SearchBuilder<? extends ControlledEntity> sb,
                                        final Long domainId, final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.return: void
focal_class.signature: void buildACLSearchBuilder(final SearchBuilder<? extends ControlledEntity> sb,
                                        final Long domainId, final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.class_method_signature: AccountManagerImpl.buildACLSearchCriteria(final SearchCriteria<? extends ControlledEntity> sc,
                                         final Long domainId, final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.full_signature: @Override public void buildACLSearchCriteria(final SearchCriteria<? extends ControlledEntity> sc,
                                         final Long domainId, final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.identifier: buildACLSearchCriteria
focal_class.modifiers: @Override public
focal_class.parameters: (final SearchCriteria<? extends ControlledEntity> sc,
                                         final Long domainId, final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.return: void
focal_class.signature: void buildACLSearchCriteria(final SearchCriteria<? extends ControlledEntity> sc,
                                         final Long domainId, final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.class_method_signature: AccountManagerImpl.buildACLSearchParameters(final Account caller, final Long id, final String accountName, final Long projectId, final List<Long> permittedAccounts,
                                           final Ternary<Long, Boolean, ListProjectResourcesCriteria> domainIdRecursiveListProject, final boolean listAll, final boolean forProjectInvitation)
focal_class.full_signature: @Override public void buildACLSearchParameters(final Account caller, final Long id, final String accountName, final Long projectId, final List<Long> permittedAccounts,
                                           final Ternary<Long, Boolean, ListProjectResourcesCriteria> domainIdRecursiveListProject, final boolean listAll, final boolean forProjectInvitation)
focal_class.identifier: buildACLSearchParameters
focal_class.modifiers: @Override public
focal_class.parameters: (final Account caller, final Long id, final String accountName, final Long projectId, final List<Long> permittedAccounts,
                                           final Ternary<Long, Boolean, ListProjectResourcesCriteria> domainIdRecursiveListProject, final boolean listAll, final boolean forProjectInvitation)
focal_class.return: void
focal_class.signature: void buildACLSearchParameters(final Account caller, final Long id, final String accountName, final Long projectId, final List<Long> permittedAccounts,
                                           final Ternary<Long, Boolean, ListProjectResourcesCriteria> domainIdRecursiveListProject, final boolean listAll, final boolean forProjectInvitation)
focal_class.class_method_signature: AccountManagerImpl.buildACLViewSearchBuilder(final SearchBuilder<? extends ControlledViewEntity> sb, final Long domainId,
                                            final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.full_signature: @Override public void buildACLViewSearchBuilder(final SearchBuilder<? extends ControlledViewEntity> sb, final Long domainId,
                                            final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.identifier: buildACLViewSearchBuilder
focal_class.modifiers: @Override public
focal_class.parameters: (final SearchBuilder<? extends ControlledViewEntity> sb, final Long domainId,
                                            final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.return: void
focal_class.signature: void buildACLViewSearchBuilder(final SearchBuilder<? extends ControlledViewEntity> sb, final Long domainId,
                                            final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.class_method_signature: AccountManagerImpl.buildACLViewSearchCriteria(final SearchCriteria<? extends ControlledViewEntity> sc,
                                             final Long domainId, final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.full_signature: @Override public void buildACLViewSearchCriteria(final SearchCriteria<? extends ControlledViewEntity> sc,
                                             final Long domainId, final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.identifier: buildACLViewSearchCriteria
focal_class.modifiers: @Override public
focal_class.parameters: (final SearchCriteria<? extends ControlledViewEntity> sc,
                                             final Long domainId, final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.return: void
focal_class.signature: void buildACLViewSearchCriteria(final SearchCriteria<? extends ControlledViewEntity> sc,
                                             final Long domainId, final boolean isRecursive, final List<Long> permittedAccounts, final ListProjectResourcesCriteria listProjectResourcesCriteria)
focal_class.class_method_signature: AccountManagerImpl.getUserByApiKey(final String apiKey)
focal_class.full_signature: @Override public UserAccount getUserByApiKey(final String apiKey)
focal_class.identifier: getUserByApiKey
focal_class.modifiers: @Override public
focal_class.parameters: (final String apiKey)
focal_class.return: UserAccount
focal_class.signature: UserAccount getUserByApiKey(final String apiKey)
focal_class.class_method_signature: AccountManagerImpl.listAclGroupsByAccount(final Long accountId)
focal_class.full_signature: @Override public List<String> listAclGroupsByAccount(final Long accountId)
focal_class.identifier: listAclGroupsByAccount
focal_class.modifiers: @Override public
focal_class.parameters: (final Long accountId)
focal_class.return: List<String>
focal_class.signature: List<String> listAclGroupsByAccount(final Long accountId)
focal_class.class_method_signature: AccountManagerImpl.finalyzeAccountId(final String accountName, final Long domainId, final Long projectId, final boolean enabledOnly)
focal_class.full_signature: @Override public Long finalyzeAccountId(final String accountName, final Long domainId, final Long projectId, final boolean enabledOnly)
focal_class.identifier: finalyzeAccountId
focal_class.modifiers: @Override public
focal_class.parameters: (final String accountName, final Long domainId, final Long projectId, final boolean enabledOnly)
focal_class.return: Long
focal_class.signature: Long finalyzeAccountId(final String accountName, final Long domainId, final Long projectId, final boolean enabledOnly)
focal_class.class_method_signature: AccountManagerImpl.getUserAccountById(final Long userId)
focal_class.full_signature: @Override public UserAccount getUserAccountById(final Long userId)
focal_class.identifier: getUserAccountById
focal_class.modifiers: @Override public
focal_class.parameters: (final Long userId)
focal_class.return: UserAccount
focal_class.signature: UserAccount getUserAccountById(final Long userId)
focal_class.class_method_signature: AccountManagerImpl.checkAccess(final Account account, final ServiceOffering so)
focal_class.full_signature: @Override public void checkAccess(final Account account, final ServiceOffering so)
focal_class.identifier: checkAccess
focal_class.modifiers: @Override public
focal_class.parameters: (final Account account, final ServiceOffering so)
focal_class.return: void
focal_class.signature: void checkAccess(final Account account, final ServiceOffering so)
focal_class.class_method_signature: AccountManagerImpl.checkAccess(final Account account, final DiskOffering dof)
focal_class.full_signature: @Override public void checkAccess(final Account account, final DiskOffering dof)
focal_class.identifier: checkAccess
focal_class.modifiers: @Override public
focal_class.parameters: (final Account account, final DiskOffering dof)
focal_class.return: void
focal_class.signature: void checkAccess(final Account account, final DiskOffering dof)
focal_class.superclass: extends ManagerBase
focal_method.body: @Override
      @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_DELETE, eventDescription = "deleting account", async = true)
      // This method deletes the account
      public boolean deleteUserAccount(final long accountId) {
  
          final CallContext ctx = CallContext.current();
          final long callerUserId = ctx.getCallingUserId();
          final Account caller = ctx.getCallingAccount();
  
          // If the user is a System user, return an error. We do not allow this
          final AccountVO account = _accountDao.findById(accountId);
  
          if (account == null || account.getRemoved() != null) {
              if (account != null) {
                  s_logger.info("The account:" + account.getAccountName() + " is already removed");
              }
              return true;
          }
  
          // don't allow removing Project account
          if (account == null || account.getType() == Account.ACCOUNT_TYPE_PROJECT) {
              throw new InvalidParameterValueException("The specified account does not exist in the system");
          }
  
          checkAccess(caller, null, true, account);
  
          // don't allow to delete default account (system and admin)
          if (account.isDefault()) {
              throw new InvalidParameterValueException("The account is default and can't be removed");
          }
  
          // Account that manages project(s) can't be removed
          final List<Long> managedProjectIds = _projectAccountDao.listAdministratedProjectIds(accountId);
          if (!managedProjectIds.isEmpty()) {
              final StringBuilder projectIds = new StringBuilder();
              for (final Long projectId : managedProjectIds) {
                  projectIds.append(projectId + ", ");
              }
  
              throw new InvalidParameterValueException("The account id=" + accountId + " manages project(s) with ids " + projectIds + "and can't be removed");
          }
  
          CallContext.current().putContextParameter(Account.class, account.getUuid());
  
          return deleteAccount(account, callerUserId, caller);
      }
focal_method.class_method_signature: AccountManagerImpl.deleteUserAccount(final long accountId)
focal_method.full_signature: @Override @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_DELETE, eventDescription = "deleting account", async = true) // This method deletes the account public boolean deleteUserAccount(final long accountId)
focal_method.identifier: deleteUserAccount
focal_method.invocations: current getCallingUserId getCallingAccount findById getRemoved info getAccountName getType checkAccess isDefault listAdministratedProjectIds isEmpty append putContextParameter current getUuid deleteAccount
focal_method.modifiers: @Override @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_DELETE, eventDescription = "deleting account", async = true) // This method deletes the account public
focal_method.parameters: (final long accountId)
focal_method.return: boolean
focal_method.signature: boolean deleteUserAccount(final long accountId)