Package com.soffid.iam.service
Class CustomObjectServiceBase
- java.lang.Object
-
- com.soffid.iam.service.CustomObjectServiceBase
-
- All Implemented Interfaces:
com.soffid.iam.service.CustomObjectService
- Direct Known Subclasses:
CustomObjectServiceImpl
public abstract class CustomObjectServiceBase extends Object implements com.soffid.iam.service.CustomObjectService
Spring Service base class for
see com.soffid.iam.service.CustomObjectServicecom.soffid.iam.service.CustomObjectService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description CustomObjectServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.CustomObjectcreateCustomObject(com.soffid.iam.api.CustomObject obj)voiddeleteCustomObject(com.soffid.iam.api.CustomObject obj)Collection<com.soffid.iam.api.CustomObject>findCustomObjectByJsonQuery(String objectType, String query)com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject>findCustomObjectByJsonQueryAsync(String objectType, String query)Collection<com.soffid.iam.api.CustomObject>findCustomObjectByText(String objectType, String query)Collection<com.soffid.iam.api.CustomObject>findCustomObjectByTextAndFilter(String objectType, String text, String filter)com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject>findCustomObjectByTextAndFilterAsync(String objectType, String text, String filter)com.soffid.iam.api.PagedResult<com.soffid.iam.api.CustomObject>findCustomObjectByTextAndJsonQuery(String text, String filter, Integer start, Integer end)com.soffid.iam.api.PagedResult<com.soffid.iam.api.CustomObject>findCustomObjectByTextAndJsonQuery(String objectType, String text, String filter, Integer start, Integer end)com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject>findCustomObjectByTextAndJsonQueryAsync(String text, String filter)com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject>findCustomObjectByTextAndJsonQueryAsync(String objectType, String text, String filter)com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject>findCustomObjectByTextAsync(String objectType, String query)com.soffid.iam.api.CustomObjectfindCustomObjectByTypeAndName(String objectType, String name)Collection<String>findCustomObjectNames(String objectType)com.soffid.iam.service.AsyncRunnerServicegetAsyncRunnerService()Gets reference toasyncRunnerService.AttributeValidationServicegetAttributeValidationService()Gets reference toattributeValidationService.AuditEntityDaogetAuditEntityDao()Gets reference toauditoriaEntityDao.CustomObjectAttributeEntityDaogetCustomObjectAttributeEntityDao()Gets reference tocustomObjectAttributeEntityDao.CustomObjectEntityDaogetCustomObjectEntityDao()Gets reference tocustomObjectEntityDao.CustomObjectTypeEntityDaogetCustomObjectTypeEntityDao()Gets reference tocustomObjectTypeEntityDao.MetaDataEntityDaogetMetaDataEntityDao()Gets reference totipusDadaEntityDao.protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.TaskEntityDaogetTaskEntityDao()Gets reference totasqueEntityDao.protected abstract com.soffid.iam.api.CustomObjecthandleCreateCustomObject(com.soffid.iam.api.CustomObject obj)protected abstract voidhandleDeleteCustomObject(com.soffid.iam.api.CustomObject obj)protected abstract Collection<com.soffid.iam.api.CustomObject>handleFindCustomObjectByJsonQuery(String objectType, String query)protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject>handleFindCustomObjectByJsonQueryAsync(String objectType, String query)protected abstract Collection<com.soffid.iam.api.CustomObject>handleFindCustomObjectByText(String objectType, String query)protected abstract Collection<com.soffid.iam.api.CustomObject>handleFindCustomObjectByTextAndFilter(String objectType, String text, String filter)protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject>handleFindCustomObjectByTextAndFilterAsync(String objectType, String text, String filter)protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.CustomObject>handleFindCustomObjectByTextAndJsonQuery(String text, String filter, Integer start, Integer end)protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.CustomObject>handleFindCustomObjectByTextAndJsonQuery(String objectType, String text, String filter, Integer start, Integer end)protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject>handleFindCustomObjectByTextAndJsonQueryAsync(String text, String filter)protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject>handleFindCustomObjectByTextAndJsonQueryAsync(String objectType, String text, String filter)protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject>handleFindCustomObjectByTextAsync(String objectType, String query)protected abstract com.soffid.iam.api.CustomObjecthandleFindCustomObjectByTypeAndName(String objectType, String name)protected abstract Collection<String>handleFindCustomObjectNames(String objectType)protected abstract com.soffid.iam.api.CustomObjecthandleUpdateCustomObject(com.soffid.iam.api.CustomObject obj)voidsetAsyncRunnerService(com.soffid.iam.service.AsyncRunnerService asyncRunnerService)Sets reference toasyncRunnerService.voidsetAttributeValidationService(AttributeValidationService attributeValidationService)Sets reference toattributeValidationService.voidsetAuditEntityDao(AuditEntityDao auditoriaEntityDao)Sets reference toauditoriaEntityDao.voidsetCustomObjectAttributeEntityDao(CustomObjectAttributeEntityDao customObjectAttributeEntityDao)Sets reference tocustomObjectAttributeEntityDao.voidsetCustomObjectEntityDao(CustomObjectEntityDao customObjectEntityDao)Sets reference tocustomObjectEntityDao.voidsetCustomObjectTypeEntityDao(CustomObjectTypeEntityDao customObjectTypeEntityDao)Sets reference tocustomObjectTypeEntityDao.voidsetMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)Sets reference totipusDadaEntityDao.voidsetTaskEntityDao(TaskEntityDao tasqueEntityDao)Sets reference totasqueEntityDao.com.soffid.iam.api.CustomObjectupdateCustomObject(com.soffid.iam.api.CustomObject obj)
-
-
-
Method Detail
-
setAsyncRunnerService
public void setAsyncRunnerService(com.soffid.iam.service.AsyncRunnerService asyncRunnerService)
Sets reference toasyncRunnerService.
-
getAsyncRunnerService
public com.soffid.iam.service.AsyncRunnerService getAsyncRunnerService()
Gets reference toasyncRunnerService.
-
setAttributeValidationService
public void setAttributeValidationService(AttributeValidationService attributeValidationService)
Sets reference toattributeValidationService.
-
getAttributeValidationService
public AttributeValidationService getAttributeValidationService()
Gets reference toattributeValidationService.
-
setAuditEntityDao
public void setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao.
-
getAuditEntityDao
public AuditEntityDao getAuditEntityDao()
Gets reference toauditoriaEntityDao.
-
setCustomObjectAttributeEntityDao
public void setCustomObjectAttributeEntityDao(CustomObjectAttributeEntityDao customObjectAttributeEntityDao)
Sets reference tocustomObjectAttributeEntityDao.
-
getCustomObjectAttributeEntityDao
public CustomObjectAttributeEntityDao getCustomObjectAttributeEntityDao()
Gets reference tocustomObjectAttributeEntityDao.
-
setCustomObjectEntityDao
public void setCustomObjectEntityDao(CustomObjectEntityDao customObjectEntityDao)
Sets reference tocustomObjectEntityDao.
-
getCustomObjectEntityDao
public CustomObjectEntityDao getCustomObjectEntityDao()
Gets reference tocustomObjectEntityDao.
-
setCustomObjectTypeEntityDao
public void setCustomObjectTypeEntityDao(CustomObjectTypeEntityDao customObjectTypeEntityDao)
Sets reference tocustomObjectTypeEntityDao.
-
getCustomObjectTypeEntityDao
public CustomObjectTypeEntityDao getCustomObjectTypeEntityDao()
Gets reference tocustomObjectTypeEntityDao.
-
setTaskEntityDao
public void setTaskEntityDao(TaskEntityDao tasqueEntityDao)
Sets reference totasqueEntityDao.
-
getTaskEntityDao
public TaskEntityDao getTaskEntityDao()
Gets reference totasqueEntityDao.
-
setMetaDataEntityDao
public void setMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)
Sets reference totipusDadaEntityDao.
-
getMetaDataEntityDao
public MetaDataEntityDao getMetaDataEntityDao()
Gets reference totipusDadaEntityDao.
-
findCustomObjectByJsonQueryAsync
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> findCustomObjectByJsonQueryAsync(String objectType, String query) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findCustomObjectByJsonQueryAsyncin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindCustomObjectByJsonQueryAsync
protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> handleFindCustomObjectByJsonQueryAsync(String objectType, String query) throws Exception
- Throws:
Exception
-
findCustomObjectByTextAndFilterAsync
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> findCustomObjectByTextAndFilterAsync(String objectType, String text, String filter) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findCustomObjectByTextAndFilterAsyncin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindCustomObjectByTextAndFilterAsync
protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> handleFindCustomObjectByTextAndFilterAsync(String objectType, String text, String filter) throws Exception
- Throws:
Exception
-
findCustomObjectByTextAndJsonQueryAsync
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> findCustomObjectByTextAndJsonQueryAsync(String text, String filter) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findCustomObjectByTextAndJsonQueryAsyncin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindCustomObjectByTextAndJsonQueryAsync
protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> handleFindCustomObjectByTextAndJsonQueryAsync(String text, String filter) throws Exception
- Throws:
Exception
-
findCustomObjectByTextAndJsonQueryAsync
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> findCustomObjectByTextAndJsonQueryAsync(String objectType, String text, String filter) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findCustomObjectByTextAndJsonQueryAsyncin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindCustomObjectByTextAndJsonQueryAsync
protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> handleFindCustomObjectByTextAndJsonQueryAsync(String objectType, String text, String filter) throws Exception
- Throws:
Exception
-
findCustomObjectByTextAsync
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> findCustomObjectByTextAsync(String objectType, String query) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findCustomObjectByTextAsyncin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindCustomObjectByTextAsync
protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> handleFindCustomObjectByTextAsync(String objectType, String query) throws Exception
- Throws:
Exception
-
createCustomObject
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.CustomObject createCustomObject(com.soffid.iam.api.CustomObject obj) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createCustomObjectin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreateCustomObject
protected abstract com.soffid.iam.api.CustomObject handleCreateCustomObject(com.soffid.iam.api.CustomObject obj) throws Exception- Throws:
Exception
-
findCustomObjectByTypeAndName
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.CustomObject findCustomObjectByTypeAndName(String objectType, String name) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findCustomObjectByTypeAndNamein interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindCustomObjectByTypeAndName
protected abstract com.soffid.iam.api.CustomObject handleFindCustomObjectByTypeAndName(String objectType, String name) throws Exception
- Throws:
Exception
-
updateCustomObject
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.CustomObject updateCustomObject(com.soffid.iam.api.CustomObject obj) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateCustomObjectin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateCustomObject
protected abstract com.soffid.iam.api.CustomObject handleUpdateCustomObject(com.soffid.iam.api.CustomObject obj) throws Exception- Throws:
Exception
-
findCustomObjectByTextAndJsonQuery
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PagedResult<com.soffid.iam.api.CustomObject> findCustomObjectByTextAndJsonQuery(String text, String filter, Integer start, Integer end) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findCustomObjectByTextAndJsonQueryin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindCustomObjectByTextAndJsonQuery
protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.CustomObject> handleFindCustomObjectByTextAndJsonQuery(String text, String filter, Integer start, Integer end) throws Exception
- Throws:
Exception
-
findCustomObjectByTextAndJsonQuery
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PagedResult<com.soffid.iam.api.CustomObject> findCustomObjectByTextAndJsonQuery(String objectType, String text, String filter, Integer start, Integer end) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findCustomObjectByTextAndJsonQueryin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindCustomObjectByTextAndJsonQuery
protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.CustomObject> handleFindCustomObjectByTextAndJsonQuery(String objectType, String text, String filter, Integer start, Integer end) throws Exception
- Throws:
Exception
-
findCustomObjectByJsonQuery
@Transactional(rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.CustomObject> findCustomObjectByJsonQuery(String objectType, String query) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findCustomObjectByJsonQueryin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindCustomObjectByJsonQuery
protected abstract Collection<com.soffid.iam.api.CustomObject> handleFindCustomObjectByJsonQuery(String objectType, String query) throws Exception
- Throws:
Exception
-
findCustomObjectByText
@Transactional(rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.CustomObject> findCustomObjectByText(String objectType, String query) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findCustomObjectByTextin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindCustomObjectByText
protected abstract Collection<com.soffid.iam.api.CustomObject> handleFindCustomObjectByText(String objectType, String query) throws Exception
- Throws:
Exception
-
findCustomObjectByTextAndFilter
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.CustomObject> findCustomObjectByTextAndFilter(String objectType, String text, String filter) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findCustomObjectByTextAndFilterin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindCustomObjectByTextAndFilter
protected abstract Collection<com.soffid.iam.api.CustomObject> handleFindCustomObjectByTextAndFilter(String objectType, String text, String filter) throws Exception
- Throws:
Exception
-
findCustomObjectNames
@Transactional(isolation=DEFAULT, propagation=REQUIRED, readOnly=true) public Collection<String> findCustomObjectNames(String objectType) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findCustomObjectNamesin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindCustomObjectNames
protected abstract Collection<String> handleFindCustomObjectNames(String objectType) throws Exception
- Throws:
Exception
-
deleteCustomObject
@Transactional(rollbackFor=java.lang.Exception.class) public void deleteCustomObject(com.soffid.iam.api.CustomObject obj) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
deleteCustomObjectin interfacecom.soffid.iam.service.CustomObjectService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDeleteCustomObject
protected abstract void handleDeleteCustomObject(com.soffid.iam.api.CustomObject obj) throws Exception- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-