Package es.caib.seycon.ng.servei
Class SelfServiceBaseProxy
- java.lang.Object
-
- es.caib.seycon.ng.servei.SelfServiceBaseProxy
-
- All Implemented Interfaces:
es.caib.seycon.ng.servei.SelfService
public class SelfServiceBaseProxy 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 SelfServiceBaseProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckCanSetAccountPassword(es.caib.seycon.ng.comu.Account account)voidcheckinHPAccount(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.DadaUsuaricreateSharedAccountData(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.PuntEntradafindRoot()Collection<es.caib.seycon.ng.comu.UsuariGrup>findUsuariGrupsByCodiUsuari()es.caib.seycon.ng.comu.PasswordgenerateAccountTemporaryPassword(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.AccountgetAccountById(long id)StringgetClientHost()es.caib.seycon.ng.comu.UsuarigetCurrentUsuari()es.caib.seycon.ng.comu.TipusDadagetDataTypeDescription(String systemName, String attName)es.caib.seycon.ng.comu.DispatchergetDispatcherInformation(String dispatcherCode)protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.com.soffid.iam.service.SelfServicegetSelfService()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()es.caib.seycon.ng.comu.EstatContrasenyapasswordsStatus(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.PasswordqueryAccountPassword(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.PasswordqueryAccountPasswordBypassPolicy(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.PasswordqueryAccountSshKey(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.PasswordqueryAccountSshKeyBypassPolicy(es.caib.seycon.ng.comu.Account account)StringqueryOtherAffectedAccounts(es.caib.seycon.ng.comu.Account account)voidsetAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password)booleansetHPAccountPassword(es.caib.seycon.ng.comu.Account account, es.caib.seycon.ng.comu.Password password, Date untilDate, boolean force)voidsetSelfService(com.soffid.iam.service.SelfService selfService)Sets reference toselfService.es.caib.seycon.ng.comu.AccountupdateSharedAccount(es.caib.seycon.ng.comu.Account account)es.caib.seycon.ng.comu.DadaUsuariupdateSharedAccountData(es.caib.seycon.ng.comu.DadaUsuari data)es.caib.seycon.ng.comu.DadaUsuariupdateUserAttribute(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:
setHPAccountPasswordin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
getAccountByIdin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
updateSharedAccountin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
createSharedAccountDatain interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
updateSharedAccountDatain interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
updateUserAttributein interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
getDispatcherInformationin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
passwordsStatusin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
generateAccountTemporaryPasswordin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
queryAccountPasswordin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
queryAccountPasswordBypassPolicyin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
queryAccountSshKeyin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
queryAccountSshKeyBypassPolicyin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
findRootin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
getDataTypeDescriptionin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
getCurrentUsuariin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
getClientHostin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
queryOtherAffectedAccountsin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
findChildrenin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
findEntryPointsin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
findRolAccountsin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
findUsuariGrupsByCodiUsuariin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
getUserAccountsin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
getUserAttributesin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
getAccountAttributesin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
getSharedAccountsin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
checkCanSetAccountPasswordin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
checkinHPAccountin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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:
setAccountPasswordin interfacees.caib.seycon.ng.servei.SelfService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-