Package es.caib.seycon.ng.servei
Class SelfServiceBase
- java.lang.Object
-
- es.caib.seycon.ng.servei.SelfServiceBase
-
- All Implemented Interfaces:
es.caib.seycon.ng.servei.SelfService
public abstract class SelfServiceBase extends Object implements es.caib.seycon.ng.servei.SelfService
Spring Service base class for
see es.caib.seycon.ng.servei.SelfServicees.caib.seycon.ng.servei.SelfService
, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description SelfServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
checkCanSetAccountPassword(es.caib.seycon.ng.comu.Account account)
void
checkinHPAccount(es.caib.seycon.ng.comu.Account account)
es.caib.seycon.ng.comu.DadaUsuari
createSharedAccountData(es.caib.seycon.ng.comu.DadaUsuari data)
Collection<es.caib.seycon.ng.comu.PuntEntrada>
findChildren(es.caib.seycon.ng.comu.PuntEntrada puntEntrada)
Collection<es.caib.seycon.ng.comu.PuntEntrada>
findEntryPoints(String name)
Collection<es.caib.seycon.ng.comu.RolAccount>
findRolAccounts()
es.caib.seycon.ng.comu.PuntEntrada
findRoot()
Collection<es.caib.seycon.ng.comu.UsuariGrup>
findUsuariGrupsByCodiUsuari()
es.caib.seycon.ng.comu.Password
generateAccountTemporaryPassword(es.caib.seycon.ng.comu.Account account)
List<es.caib.seycon.ng.comu.DadaUsuari>
getAccountAttributes(es.caib.seycon.ng.comu.Account acc)
es.caib.seycon.ng.comu.Account
getAccountById(long id)
String
getClientHost()
es.caib.seycon.ng.comu.Usuari
getCurrentUsuari()
es.caib.seycon.ng.comu.TipusDada
getDataTypeDescription(String systemName, String attName)
es.caib.seycon.ng.comu.Dispatcher
getDispatcherInformation(String dispatcherCode)
protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.com.soffid.iam.service.SelfService
getSelfService()
Gets reference toselfService
.List<es.caib.seycon.ng.comu.Account>
getSharedAccounts(String filter)
Collection<es.caib.seycon.ng.comu.Account>
getUserAccounts()
Collection<es.caib.seycon.ng.comu.DadaUsuari>
getUserAttributes()
protected abstract void
handleCheckCanSetAccountPassword(es.caib.seycon.ng.comu.Account account)
protected abstract void
handleCheckinHPAccount(es.caib.seycon.ng.comu.Account account)
protected abstract es.caib.seycon.ng.comu.DadaUsuari
handleCreateSharedAccountData(es.caib.seycon.ng.comu.DadaUsuari data)
protected abstract Collection<es.caib.seycon.ng.comu.PuntEntrada>
handleFindChildren(es.caib.seycon.ng.comu.PuntEntrada puntEntrada)
protected abstract Collection<es.caib.seycon.ng.comu.PuntEntrada>
handleFindEntryPoints(String name)
protected abstract Collection<es.caib.seycon.ng.comu.RolAccount>
handleFindRolAccounts()
protected abstract es.caib.seycon.ng.comu.PuntEntrada
handleFindRoot()
protected abstract Collection<es.caib.seycon.ng.comu.UsuariGrup>
handleFindUsuariGrupsByCodiUsuari()
protected abstract es.caib.seycon.ng.comu.Password
handleGenerateAccountTemporaryPassword(es.caib.seycon.ng.comu.Account account)
protected abstract List<es.caib.seycon.ng.comu.DadaUsuari>
handleGetAccountAttributes(es.caib.seycon.ng.comu.Account acc)
protected abstract es.caib.seycon.ng.comu.Account
handleGetAccountById(long id)
protected abstract String
handleGetClientHost()
protected abstract es.caib.seycon.ng.comu.Usuari
handleGetCurrentUsuari()
protected abstract es.caib.seycon.ng.comu.TipusDada
handleGetDataTypeDescription(String systemName, String attName)
protected abstract es.caib.seycon.ng.comu.Dispatcher
handleGetDispatcherInformation(String dispatcherCode)
protected abstract List<es.caib.seycon.ng.comu.Account>
handleGetSharedAccounts(String filter)
protected abstract Collection<es.caib.seycon.ng.comu.Account>
handleGetUserAccounts()
protected abstract Collection<es.caib.seycon.ng.comu.DadaUsuari>
handleGetUserAttributes()
protected abstract es.caib.seycon.ng.comu.EstatContrasenya
handlePasswordsStatus(es.caib.seycon.ng.comu.Account account)
protected abstract es.caib.seycon.ng.comu.Password
handleQueryAccountPassword(es.caib.seycon.ng.comu.Account account)
protected abstract es.caib.seycon.ng.comu.Password
handleQueryAccountPasswordBypassPolicy(es.caib.seycon.ng.comu.Account account)
protected abstract es.caib.seycon.ng.comu.Password
handleQueryAccountSshKey(es.caib.seycon.ng.comu.Account account)
protected abstract es.caib.seycon.ng.comu.Password
handleQueryAccountSshKeyBypassPolicy(es.caib.seycon.ng.comu.Account account)
protected abstract String
handleQueryOtherAffectedAccounts(es.caib.seycon.ng.comu.Account account)
protected abstract void
handleSetAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password)
protected abstract boolean
handleSetHPAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, Date untilDate, boolean force)
protected abstract es.caib.seycon.ng.comu.Account
handleUpdateSharedAccount(es.caib.seycon.ng.comu.Account account)
protected abstract es.caib.seycon.ng.comu.DadaUsuari
handleUpdateSharedAccountData(es.caib.seycon.ng.comu.DadaUsuari data)
protected abstract es.caib.seycon.ng.comu.DadaUsuari
handleUpdateUserAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute)
es.caib.seycon.ng.comu.EstatContrasenya
passwordsStatus(es.caib.seycon.ng.comu.Account account)
es.caib.seycon.ng.comu.Password
queryAccountPassword(es.caib.seycon.ng.comu.Account account)
es.caib.seycon.ng.comu.Password
queryAccountPasswordBypassPolicy(es.caib.seycon.ng.comu.Account account)
es.caib.seycon.ng.comu.Password
queryAccountSshKey(es.caib.seycon.ng.comu.Account account)
es.caib.seycon.ng.comu.Password
queryAccountSshKeyBypassPolicy(es.caib.seycon.ng.comu.Account account)
String
queryOtherAffectedAccounts(es.caib.seycon.ng.comu.Account account)
void
setAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password)
boolean
setHPAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, Date untilDate, boolean force)
void
setSelfService(com.soffid.iam.service.SelfService selfService)
Sets reference toselfService
.es.caib.seycon.ng.comu.Account
updateSharedAccount(es.caib.seycon.ng.comu.Account account)
es.caib.seycon.ng.comu.DadaUsuari
updateSharedAccountData(es.caib.seycon.ng.comu.DadaUsuari data)
es.caib.seycon.ng.comu.DadaUsuari
updateUserAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute)
-
-
-
Method Detail
-
setSelfService
public void setSelfService(com.soffid.iam.service.SelfService selfService)
Sets reference toselfService
.
-
getSelfService
public com.soffid.iam.service.SelfService getSelfService()
Gets reference toselfService
.
-
setHPAccountPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean setHPAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, Date untilDate, boolean force) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
setHPAccountPassword
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSetHPAccountPassword
protected abstract boolean handleSetHPAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, Date untilDate, boolean force) throws Exception
- Throws:
Exception
-
getAccountById
@Transactional(rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account getAccountById(long id) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getAccountById
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAccountById
protected abstract es.caib.seycon.ng.comu.Account handleGetAccountById(long id) throws Exception
- Throws:
Exception
-
updateSharedAccount
@Transactional(rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Account updateSharedAccount(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateSharedAccount
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateSharedAccount
protected abstract es.caib.seycon.ng.comu.Account handleUpdateSharedAccount(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
createSharedAccountData
@Transactional(rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.DadaUsuari createSharedAccountData(es.caib.seycon.ng.comu.DadaUsuari data) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createSharedAccountData
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreateSharedAccountData
protected abstract es.caib.seycon.ng.comu.DadaUsuari handleCreateSharedAccountData(es.caib.seycon.ng.comu.DadaUsuari data) throws Exception
- Throws:
Exception
-
updateSharedAccountData
@Transactional(rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.DadaUsuari updateSharedAccountData(es.caib.seycon.ng.comu.DadaUsuari data) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateSharedAccountData
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateSharedAccountData
protected abstract es.caib.seycon.ng.comu.DadaUsuari handleUpdateSharedAccountData(es.caib.seycon.ng.comu.DadaUsuari data) throws Exception
- Throws:
Exception
-
updateUserAttribute
@Transactional(rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.DadaUsuari updateUserAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateUserAttribute
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateUserAttribute
protected abstract es.caib.seycon.ng.comu.DadaUsuari handleUpdateUserAttribute(es.caib.seycon.ng.comu.DadaUsuari attribute) throws Exception
- Throws:
Exception
-
getDispatcherInformation
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Dispatcher getDispatcherInformation(String dispatcherCode) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getDispatcherInformation
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetDispatcherInformation
protected abstract es.caib.seycon.ng.comu.Dispatcher handleGetDispatcherInformation(String dispatcherCode) throws Exception
- Throws:
Exception
-
passwordsStatus
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.EstatContrasenya passwordsStatus(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
passwordsStatus
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handlePasswordsStatus
protected abstract es.caib.seycon.ng.comu.EstatContrasenya handlePasswordsStatus(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
generateAccountTemporaryPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Password generateAccountTemporaryPassword(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
generateAccountTemporaryPassword
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGenerateAccountTemporaryPassword
protected abstract es.caib.seycon.ng.comu.Password handleGenerateAccountTemporaryPassword(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
queryAccountPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Password queryAccountPassword(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
queryAccountPassword
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQueryAccountPassword
protected abstract es.caib.seycon.ng.comu.Password handleQueryAccountPassword(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
queryAccountPasswordBypassPolicy
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Password queryAccountPasswordBypassPolicy(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
queryAccountPasswordBypassPolicy
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQueryAccountPasswordBypassPolicy
protected abstract es.caib.seycon.ng.comu.Password handleQueryAccountPasswordBypassPolicy(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
queryAccountSshKey
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Password queryAccountSshKey(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
queryAccountSshKey
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQueryAccountSshKey
protected abstract es.caib.seycon.ng.comu.Password handleQueryAccountSshKey(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
queryAccountSshKeyBypassPolicy
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Password queryAccountSshKeyBypassPolicy(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
queryAccountSshKeyBypassPolicy
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQueryAccountSshKeyBypassPolicy
protected abstract es.caib.seycon.ng.comu.Password handleQueryAccountSshKeyBypassPolicy(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
findRoot
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.PuntEntrada findRoot() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findRoot
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindRoot
protected abstract es.caib.seycon.ng.comu.PuntEntrada handleFindRoot() throws Exception
- Throws:
Exception
-
getDataTypeDescription
@Transactional(rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.TipusDada getDataTypeDescription(String systemName, String attName) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getDataTypeDescription
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetDataTypeDescription
protected abstract es.caib.seycon.ng.comu.TipusDada handleGetDataTypeDescription(String systemName, String attName) throws Exception
- Throws:
Exception
-
getCurrentUsuari
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.Usuari getCurrentUsuari() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getCurrentUsuari
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetCurrentUsuari
protected abstract es.caib.seycon.ng.comu.Usuari handleGetCurrentUsuari() throws Exception
- Throws:
Exception
-
getClientHost
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public String getClientHost() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getClientHost
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetClientHost
protected abstract String handleGetClientHost() throws Exception
- Throws:
Exception
-
queryOtherAffectedAccounts
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public String queryOtherAffectedAccounts(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
queryOtherAffectedAccounts
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQueryOtherAffectedAccounts
protected abstract String handleQueryOtherAffectedAccounts(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
findChildren
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.PuntEntrada> findChildren(es.caib.seycon.ng.comu.PuntEntrada puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findChildren
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindChildren
protected abstract Collection<es.caib.seycon.ng.comu.PuntEntrada> handleFindChildren(es.caib.seycon.ng.comu.PuntEntrada puntEntrada) throws Exception
- Throws:
Exception
-
findEntryPoints
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.PuntEntrada> findEntryPoints(String name) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findEntryPoints
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindEntryPoints
protected abstract Collection<es.caib.seycon.ng.comu.PuntEntrada> handleFindEntryPoints(String name) throws Exception
- Throws:
Exception
-
findRolAccounts
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.RolAccount> findRolAccounts() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findRolAccounts
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindRolAccounts
protected abstract Collection<es.caib.seycon.ng.comu.RolAccount> handleFindRolAccounts() throws Exception
- Throws:
Exception
-
findUsuariGrupsByCodiUsuari
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.UsuariGrup> findUsuariGrupsByCodiUsuari() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findUsuariGrupsByCodiUsuari
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindUsuariGrupsByCodiUsuari
protected abstract Collection<es.caib.seycon.ng.comu.UsuariGrup> handleFindUsuariGrupsByCodiUsuari() throws Exception
- Throws:
Exception
-
getUserAccounts
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.Account> getUserAccounts() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getUserAccounts
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetUserAccounts
protected abstract Collection<es.caib.seycon.ng.comu.Account> handleGetUserAccounts() throws Exception
- Throws:
Exception
-
getUserAttributes
@Transactional(rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.DadaUsuari> getUserAttributes() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getUserAttributes
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetUserAttributes
protected abstract Collection<es.caib.seycon.ng.comu.DadaUsuari> handleGetUserAttributes() throws Exception
- Throws:
Exception
-
getAccountAttributes
@Transactional(rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.DadaUsuari> getAccountAttributes(es.caib.seycon.ng.comu.Account acc) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getAccountAttributes
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAccountAttributes
protected abstract List<es.caib.seycon.ng.comu.DadaUsuari> handleGetAccountAttributes(es.caib.seycon.ng.comu.Account acc) throws Exception
- Throws:
Exception
-
getSharedAccounts
@Transactional(rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.Account> getSharedAccounts(String filter) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getSharedAccounts
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetSharedAccounts
protected abstract List<es.caib.seycon.ng.comu.Account> handleGetSharedAccounts(String filter) throws Exception
- Throws:
Exception
-
checkCanSetAccountPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void checkCanSetAccountPassword(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
checkCanSetAccountPassword
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCheckCanSetAccountPassword
protected abstract void handleCheckCanSetAccountPassword(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
checkinHPAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void checkinHPAccount(es.caib.seycon.ng.comu.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
checkinHPAccount
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCheckinHPAccount
protected abstract void handleCheckinHPAccount(es.caib.seycon.ng.comu.Account account) throws Exception
- Throws:
Exception
-
setAccountPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void setAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
setAccountPassword
in interfacees.caib.seycon.ng.servei.SelfService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSetAccountPassword
protected abstract void handleSetAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password) throws Exception
- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-