org.eclipse.higgins.user.idas.account
Class AccountService

java.lang.Object
  extended by org.eclipse.higgins.user.idas.account.AccountService
All Implemented Interfaces:
org.eclipse.higgins.configuration.api.IConfigurableComponent, org.eclipse.higgins.user.account.IUserAccountService

public class AccountService
extends Object
implements org.eclipse.higgins.user.account.IUserAccountService, org.eclipse.higgins.configuration.api.IConfigurableComponent


Constructor Summary
AccountService()
           
 
Method Summary
 void configure(Map mapGlobalSettings, String strComponentName, Map mapComponentSettings, org.eclipse.higgins.configuration.api.ISettingDescriptor componentDescriptor, org.eclipse.higgins.configuration.api.ISettingDescriptor globalDescriptor)
           
 org.eclipse.higgins.user.account.Account createAccount(Serializable userId, org.eclipse.higgins.user.account.Account account)
           
 void deleteAccount(Serializable userId)
           
 boolean existsAccount(String userLogin)
           
 org.eclipse.higgins.user.account.Account getAccount(Serializable userId)
           
 Serializable getAccountId(String userLogin)
           
 List getAccounts()
           
 org.eclipse.higgins.configuration.api.ISettingDescriptor getComponentDescriptor()
           
 org.eclipse.higgins.user.account.Account modifyAccount(org.eclipse.higgins.user.account.Account account)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountService

public AccountService()
Method Detail

getAccount

public org.eclipse.higgins.user.account.Account getAccount(Serializable userId)
                                                    throws org.eclipse.higgins.user.account.exception.UserAccountException
Specified by:
getAccount in interface org.eclipse.higgins.user.account.IUserAccountService
Throws:
org.eclipse.higgins.user.account.exception.UserAccountException

createAccount

public org.eclipse.higgins.user.account.Account createAccount(Serializable userId,
                                                              org.eclipse.higgins.user.account.Account account)
                                                       throws org.eclipse.higgins.user.account.exception.UserAccountException
Specified by:
createAccount in interface org.eclipse.higgins.user.account.IUserAccountService
Throws:
org.eclipse.higgins.user.account.exception.UserAccountException

deleteAccount

public void deleteAccount(Serializable userId)
                   throws org.eclipse.higgins.user.account.exception.UserAccountException
Specified by:
deleteAccount in interface org.eclipse.higgins.user.account.IUserAccountService
Throws:
org.eclipse.higgins.user.account.exception.UserAccountException

existsAccount

public boolean existsAccount(String userLogin)
                      throws org.eclipse.higgins.user.account.exception.UserAccountException
Specified by:
existsAccount in interface org.eclipse.higgins.user.account.IUserAccountService
Throws:
org.eclipse.higgins.user.account.exception.UserAccountException

getAccountId

public Serializable getAccountId(String userLogin)
                          throws org.eclipse.higgins.user.account.exception.UserAccountException
Specified by:
getAccountId in interface org.eclipse.higgins.user.account.IUserAccountService
Throws:
org.eclipse.higgins.user.account.exception.UserAccountException

getAccounts

public List getAccounts()
                 throws org.eclipse.higgins.user.account.exception.UserAccountException
Throws:
org.eclipse.higgins.user.account.exception.UserAccountException

modifyAccount

public org.eclipse.higgins.user.account.Account modifyAccount(org.eclipse.higgins.user.account.Account account)
                                                       throws org.eclipse.higgins.user.account.exception.UserAccountException
Specified by:
modifyAccount in interface org.eclipse.higgins.user.account.IUserAccountService
Throws:
org.eclipse.higgins.user.account.exception.UserAccountException

configure

public void configure(Map mapGlobalSettings,
                      String strComponentName,
                      Map mapComponentSettings,
                      org.eclipse.higgins.configuration.api.ISettingDescriptor componentDescriptor,
                      org.eclipse.higgins.configuration.api.ISettingDescriptor globalDescriptor)
               throws Exception
Specified by:
configure in interface org.eclipse.higgins.configuration.api.IConfigurableComponent
Throws:
Exception

getComponentDescriptor

public org.eclipse.higgins.configuration.api.ISettingDescriptor getComponentDescriptor()
Specified by:
getComponentDescriptor in interface org.eclipse.higgins.configuration.api.IConfigurableComponent