Interface AccountManagerService

  • All Known Implementing Classes:
    AccountManagerServiceImpl

    public interface AccountManagerService
    Author:
    Erik Paulsson Date: 7/17/13
    • Method Detail

      • subdomainAvailable

        @Secured("role:ROLE_USER, scope:ANY")
        boolean subdomainAvailable​(String subdomain)
        Checks to see if the subdomain is available.
        Returns:
        true if the subdomain is available, otherwise file.
      • findAccountsByUserId

        @Secured("role:ROLE_USER, scope:SELF_ID")
        Set<org.duracloud.account.db.model.AccountInfo> findAccountsByUserId​(Long userId)
        Parameters:
        userId -
        Returns:
        Returns the set of accounts loaded with the user's set of rights. If there are no accounts associated with the specified user, an empty set is returned.