Package com.soffid.iam.service
Class VaultServiceBase
- java.lang.Object
-
- com.soffid.iam.service.VaultServiceBase
-
- All Implemented Interfaces:
com.soffid.iam.service.VaultService
- Direct Known Subclasses:
VaultServiceImpl
public abstract class VaultServiceBase extends Object implements com.soffid.iam.service.VaultService
Spring Service base class for
see com.soffid.iam.service.VaultServicecom.soffid.iam.service.VaultService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description VaultServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.AccountaddToFolder(com.soffid.iam.api.Account account)voidapplyFolderPermissions(com.soffid.iam.api.VaultFolderPermissions permissions)com.soffid.iam.api.VaultElementcreate(com.soffid.iam.api.VaultElement folder)com.soffid.iam.api.VaultFoldercreate(com.soffid.iam.api.VaultFolder folder)List<com.soffid.iam.api.Account>findAccounts(String filter)com.soffid.iam.api.VaultFolderfindFolder(long id)com.soffid.iam.api.PagedResult<com.soffid.iam.api.VaultFolder>findFolderByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)com.soffid.iam.api.AsyncList<com.soffid.iam.api.VaultFolder>findFolderByTextAndJsonQueryAsync(String text, String jsonQuery)List<com.soffid.iam.api.VaultFolder>findFolders(String filter)com.soffid.iam.api.VaultElementfindVaultElement(long id)List<com.soffid.iam.api.VaultElement>findVaultElementByText(String filter)AccountAccessEntityDaogetAccountAccessEntityDao()Gets reference toaccountAccessEntityDao.AccountEntityDaogetAccountEntityDao()Gets reference toaccountEntityDao.com.soffid.iam.service.AccountServicegetAccountService()Gets reference toaccountService.com.soffid.iam.service.AsyncRunnerServicegetAsyncRunnerService()Gets reference toasyncRunnerService.List<com.soffid.iam.api.VaultElement>getChildren(com.soffid.iam.api.VaultElement parent)List<com.soffid.iam.api.VaultFolder>getChildren(com.soffid.iam.api.VaultFolder parent)com.soffid.iam.api.VaultFolderPermissionsgetFolderPermissions(com.soffid.iam.api.VaultFolder folder)GroupEntityDaogetGroupEntityDao()Gets reference togrupEntityDao.com.soffid.iam.api.VaultFoldergetPersonalFolder()protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.List<com.soffid.iam.api.VaultFolder>getPublicRootFolders()RoleEntityDaogetRoleEntityDao()Gets reference torolEntityDao.List<com.soffid.iam.api.VaultFolder>getRootFolders()TaskEntityDaogetTaskEntityDao()Gets reference totasqueEntityDao.UserEntityDaogetUserEntityDao()Gets reference tousuariEntityDao.com.soffid.iam.service.UserServicegetUserService()Gets reference tousuariService.VaultFolderAccessEntityDaogetVaultFolderAccessEntityDao()Gets reference tovaultFolderAccessEntityDao.VaultFolderEntityDaogetVaultFolderEntityDao()Gets reference tovaultFolderEntityDao.protected abstract com.soffid.iam.api.AccounthandleAddToFolder(com.soffid.iam.api.Account account)protected abstract voidhandleApplyFolderPermissions(com.soffid.iam.api.VaultFolderPermissions permissions)protected abstract com.soffid.iam.api.VaultElementhandleCreate(com.soffid.iam.api.VaultElement folder)protected abstract com.soffid.iam.api.VaultFolderhandleCreate(com.soffid.iam.api.VaultFolder folder)protected abstract List<com.soffid.iam.api.Account>handleFindAccounts(String filter)protected abstract com.soffid.iam.api.VaultFolderhandleFindFolder(long id)protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.VaultFolder>handleFindFolderByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.VaultFolder>handleFindFolderByTextAndJsonQueryAsync(String text, String jsonQuery)protected abstract List<com.soffid.iam.api.VaultFolder>handleFindFolders(String filter)protected abstract com.soffid.iam.api.VaultElementhandleFindVaultElement(long id)protected abstract List<com.soffid.iam.api.VaultElement>handleFindVaultElementByText(String filter)protected abstract List<com.soffid.iam.api.VaultElement>handleGetChildren(com.soffid.iam.api.VaultElement parent)protected abstract List<com.soffid.iam.api.VaultFolder>handleGetChildren(com.soffid.iam.api.VaultFolder parent)protected abstract com.soffid.iam.api.VaultFolderPermissionshandleGetFolderPermissions(com.soffid.iam.api.VaultFolder folder)protected abstract com.soffid.iam.api.VaultFolderhandleGetPersonalFolder()protected abstract List<com.soffid.iam.api.VaultFolder>handleGetPublicRootFolders()protected abstract List<com.soffid.iam.api.VaultFolder>handleGetRootFolders()protected abstract List<com.soffid.iam.api.Account>handleList(com.soffid.iam.api.VaultFolder folder)protected abstract voidhandleRemove(com.soffid.iam.api.VaultElement folder)protected abstract voidhandleRemove(com.soffid.iam.api.VaultFolder folder)protected abstract com.soffid.iam.api.VaultElementhandleUpdate(com.soffid.iam.api.VaultElement folder)protected abstract com.soffid.iam.api.VaultFolderhandleUpdate(com.soffid.iam.api.VaultFolder folder)List<com.soffid.iam.api.Account>list(com.soffid.iam.api.VaultFolder folder)voidremove(com.soffid.iam.api.VaultElement folder)voidremove(com.soffid.iam.api.VaultFolder folder)voidsetAccountAccessEntityDao(AccountAccessEntityDao accountAccessEntityDao)Sets reference toaccountAccessEntityDao.voidsetAccountEntityDao(AccountEntityDao accountEntityDao)Sets reference toaccountEntityDao.voidsetAccountService(com.soffid.iam.service.AccountService accountService)Sets reference toaccountService.voidsetAsyncRunnerService(com.soffid.iam.service.AsyncRunnerService asyncRunnerService)Sets reference toasyncRunnerService.voidsetGroupEntityDao(GroupEntityDao grupEntityDao)Sets reference togrupEntityDao.voidsetRoleEntityDao(RoleEntityDao rolEntityDao)Sets reference torolEntityDao.voidsetTaskEntityDao(TaskEntityDao tasqueEntityDao)Sets reference totasqueEntityDao.voidsetUserEntityDao(UserEntityDao usuariEntityDao)Sets reference tousuariEntityDao.voidsetUserService(com.soffid.iam.service.UserService usuariService)Sets reference tousuariService.voidsetVaultFolderAccessEntityDao(VaultFolderAccessEntityDao vaultFolderAccessEntityDao)Sets reference tovaultFolderAccessEntityDao.voidsetVaultFolderEntityDao(VaultFolderEntityDao vaultFolderEntityDao)Sets reference tovaultFolderEntityDao.com.soffid.iam.api.VaultElementupdate(com.soffid.iam.api.VaultElement folder)com.soffid.iam.api.VaultFolderupdate(com.soffid.iam.api.VaultFolder folder)
-
-
-
Method Detail
-
setAccountAccessEntityDao
public void setAccountAccessEntityDao(AccountAccessEntityDao accountAccessEntityDao)
Sets reference toaccountAccessEntityDao.
-
getAccountAccessEntityDao
public AccountAccessEntityDao getAccountAccessEntityDao()
Gets reference toaccountAccessEntityDao.
-
setAccountEntityDao
public void setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao.
-
getAccountEntityDao
public AccountEntityDao getAccountEntityDao()
Gets reference toaccountEntityDao.
-
setAccountService
public void setAccountService(com.soffid.iam.service.AccountService accountService)
Sets reference toaccountService.
-
getAccountService
public com.soffid.iam.service.AccountService getAccountService()
Gets reference toaccountService.
-
setAsyncRunnerService
public void setAsyncRunnerService(com.soffid.iam.service.AsyncRunnerService asyncRunnerService)
Sets reference toasyncRunnerService.
-
getAsyncRunnerService
public com.soffid.iam.service.AsyncRunnerService getAsyncRunnerService()
Gets reference toasyncRunnerService.
-
setGroupEntityDao
public void setGroupEntityDao(GroupEntityDao grupEntityDao)
Sets reference togrupEntityDao.
-
getGroupEntityDao
public GroupEntityDao getGroupEntityDao()
Gets reference togrupEntityDao.
-
setRoleEntityDao
public void setRoleEntityDao(RoleEntityDao rolEntityDao)
Sets reference torolEntityDao.
-
getRoleEntityDao
public RoleEntityDao getRoleEntityDao()
Gets reference torolEntityDao.
-
setTaskEntityDao
public void setTaskEntityDao(TaskEntityDao tasqueEntityDao)
Sets reference totasqueEntityDao.
-
getTaskEntityDao
public TaskEntityDao getTaskEntityDao()
Gets reference totasqueEntityDao.
-
setUserEntityDao
public void setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao.
-
getUserEntityDao
public UserEntityDao getUserEntityDao()
Gets reference tousuariEntityDao.
-
setUserService
public void setUserService(com.soffid.iam.service.UserService usuariService)
Sets reference tousuariService.
-
getUserService
public com.soffid.iam.service.UserService getUserService()
Gets reference tousuariService.
-
setVaultFolderAccessEntityDao
public void setVaultFolderAccessEntityDao(VaultFolderAccessEntityDao vaultFolderAccessEntityDao)
Sets reference tovaultFolderAccessEntityDao.
-
getVaultFolderAccessEntityDao
public VaultFolderAccessEntityDao getVaultFolderAccessEntityDao()
Gets reference tovaultFolderAccessEntityDao.
-
setVaultFolderEntityDao
public void setVaultFolderEntityDao(VaultFolderEntityDao vaultFolderEntityDao)
Sets reference tovaultFolderEntityDao.
-
getVaultFolderEntityDao
public VaultFolderEntityDao getVaultFolderEntityDao()
Gets reference tovaultFolderEntityDao.
-
findFolderByTextAndJsonQueryAsync
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<com.soffid.iam.api.VaultFolder> findFolderByTextAndJsonQueryAsync(String text, String jsonQuery) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findFolderByTextAndJsonQueryAsyncin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindFolderByTextAndJsonQueryAsync
protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.VaultFolder> handleFindFolderByTextAndJsonQueryAsync(String text, String jsonQuery) throws Exception
- Throws:
Exception
-
findFolderByTextAndJsonQuery
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PagedResult<com.soffid.iam.api.VaultFolder> findFolderByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findFolderByTextAndJsonQueryin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindFolderByTextAndJsonQuery
protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.VaultFolder> handleFindFolderByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Throws:
Exception
-
create
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.VaultElement create(com.soffid.iam.api.VaultElement folder) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreate
protected abstract com.soffid.iam.api.VaultElement handleCreate(com.soffid.iam.api.VaultElement folder) throws Exception- Throws:
Exception
-
findVaultElement
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.VaultElement findVaultElement(long id) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findVaultElementin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindVaultElement
protected abstract com.soffid.iam.api.VaultElement handleFindVaultElement(long id) throws Exception- Throws:
Exception
-
update
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.VaultElement update(com.soffid.iam.api.VaultElement folder) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updatein interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdate
protected abstract com.soffid.iam.api.VaultElement handleUpdate(com.soffid.iam.api.VaultElement folder) throws Exception- Throws:
Exception
-
create
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.VaultFolder create(com.soffid.iam.api.VaultFolder folder) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreate
protected abstract com.soffid.iam.api.VaultFolder handleCreate(com.soffid.iam.api.VaultFolder folder) throws Exception- Throws:
Exception
-
findFolder
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.VaultFolder findFolder(long id) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findFolderin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindFolder
protected abstract com.soffid.iam.api.VaultFolder handleFindFolder(long id) throws Exception- Throws:
Exception
-
getPersonalFolder
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.VaultFolder getPersonalFolder() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getPersonalFolderin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetPersonalFolder
protected abstract com.soffid.iam.api.VaultFolder handleGetPersonalFolder() throws Exception- Throws:
Exception
-
update
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.VaultFolder update(com.soffid.iam.api.VaultFolder folder) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updatein interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdate
protected abstract com.soffid.iam.api.VaultFolder handleUpdate(com.soffid.iam.api.VaultFolder folder) throws Exception- Throws:
Exception
-
getFolderPermissions
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.VaultFolderPermissions getFolderPermissions(com.soffid.iam.api.VaultFolder folder) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getFolderPermissionsin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetFolderPermissions
protected abstract com.soffid.iam.api.VaultFolderPermissions handleGetFolderPermissions(com.soffid.iam.api.VaultFolder folder) throws Exception- Throws:
Exception
-
addToFolder
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.Account addToFolder(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
addToFolderin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleAddToFolder
protected abstract com.soffid.iam.api.Account handleAddToFolder(com.soffid.iam.api.Account account) throws Exception- Throws:
Exception
-
findAccounts
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.Account> findAccounts(String filter) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountsin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccounts
protected abstract List<com.soffid.iam.api.Account> handleFindAccounts(String filter) throws Exception
- Throws:
Exception
-
findFolders
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.VaultFolder> findFolders(String filter) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findFoldersin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindFolders
protected abstract List<com.soffid.iam.api.VaultFolder> handleFindFolders(String filter) throws Exception
- Throws:
Exception
-
findVaultElementByText
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.VaultElement> findVaultElementByText(String filter) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findVaultElementByTextin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindVaultElementByText
protected abstract List<com.soffid.iam.api.VaultElement> handleFindVaultElementByText(String filter) throws Exception
- Throws:
Exception
-
getChildren
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.VaultElement> getChildren(com.soffid.iam.api.VaultElement parent) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getChildrenin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetChildren
protected abstract List<com.soffid.iam.api.VaultElement> handleGetChildren(com.soffid.iam.api.VaultElement parent) throws Exception
- Throws:
Exception
-
getChildren
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.VaultFolder> getChildren(com.soffid.iam.api.VaultFolder parent) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getChildrenin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetChildren
protected abstract List<com.soffid.iam.api.VaultFolder> handleGetChildren(com.soffid.iam.api.VaultFolder parent) throws Exception
- Throws:
Exception
-
getPublicRootFolders
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.VaultFolder> getPublicRootFolders() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getPublicRootFoldersin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetPublicRootFolders
protected abstract List<com.soffid.iam.api.VaultFolder> handleGetPublicRootFolders() throws Exception
- Throws:
Exception
-
getRootFolders
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.VaultFolder> getRootFolders() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getRootFoldersin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetRootFolders
protected abstract List<com.soffid.iam.api.VaultFolder> handleGetRootFolders() throws Exception
- Throws:
Exception
-
list
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.Account> list(com.soffid.iam.api.VaultFolder folder) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
listin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleList
protected abstract List<com.soffid.iam.api.Account> handleList(com.soffid.iam.api.VaultFolder folder) throws Exception
- Throws:
Exception
-
applyFolderPermissions
@Transactional(rollbackFor=java.lang.Exception.class) public void applyFolderPermissions(com.soffid.iam.api.VaultFolderPermissions permissions) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
applyFolderPermissionsin interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleApplyFolderPermissions
protected abstract void handleApplyFolderPermissions(com.soffid.iam.api.VaultFolderPermissions permissions) throws Exception- Throws:
Exception
-
remove
@Transactional(rollbackFor=java.lang.Exception.class) public void remove(com.soffid.iam.api.VaultElement folder) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
removein interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRemove
protected abstract void handleRemove(com.soffid.iam.api.VaultElement folder) throws Exception- Throws:
Exception
-
remove
@Transactional(rollbackFor=java.lang.Exception.class) public void remove(com.soffid.iam.api.VaultFolder folder) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
removein interfacecom.soffid.iam.service.VaultService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRemove
protected abstract void handleRemove(com.soffid.iam.api.VaultFolder folder) throws Exception- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-