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.CustomObject
createCustomObject(com.soffid.iam.api.CustomObject obj)
void
deleteCustomObject(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.CustomObject
findCustomObjectByTypeAndName(String objectType, String name)
Collection<String>
findCustomObjectNames(String objectType)
com.soffid.iam.service.AsyncRunnerService
getAsyncRunnerService()
Gets reference toasyncRunnerService
.AttributeValidationService
getAttributeValidationService()
Gets reference toattributeValidationService
.AuditEntityDao
getAuditEntityDao()
Gets reference toauditoriaEntityDao
.CustomObjectAttributeEntityDao
getCustomObjectAttributeEntityDao()
Gets reference tocustomObjectAttributeEntityDao
.CustomObjectEntityDao
getCustomObjectEntityDao()
Gets reference tocustomObjectEntityDao
.CustomObjectTypeEntityDao
getCustomObjectTypeEntityDao()
Gets reference tocustomObjectTypeEntityDao
.MetaDataEntityDao
getMetaDataEntityDao()
Gets reference totipusDadaEntityDao
.protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.TaskEntityDao
getTaskEntityDao()
Gets reference totasqueEntityDao
.protected abstract com.soffid.iam.api.CustomObject
handleCreateCustomObject(com.soffid.iam.api.CustomObject obj)
protected abstract void
handleDeleteCustomObject(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.CustomObject
handleFindCustomObjectByTypeAndName(String objectType, String name)
protected abstract Collection<String>
handleFindCustomObjectNames(String objectType)
protected abstract com.soffid.iam.api.CustomObject
handleUpdateCustomObject(com.soffid.iam.api.CustomObject obj)
void
setAsyncRunnerService(com.soffid.iam.service.AsyncRunnerService asyncRunnerService)
Sets reference toasyncRunnerService
.void
setAttributeValidationService(AttributeValidationService attributeValidationService)
Sets reference toattributeValidationService
.void
setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao
.void
setCustomObjectAttributeEntityDao(CustomObjectAttributeEntityDao customObjectAttributeEntityDao)
Sets reference tocustomObjectAttributeEntityDao
.void
setCustomObjectEntityDao(CustomObjectEntityDao customObjectEntityDao)
Sets reference tocustomObjectEntityDao
.void
setCustomObjectTypeEntityDao(CustomObjectTypeEntityDao customObjectTypeEntityDao)
Sets reference tocustomObjectTypeEntityDao
.void
setMetaDataEntityDao(MetaDataEntityDao tipusDadaEntityDao)
Sets reference totipusDadaEntityDao
.void
setTaskEntityDao(TaskEntityDao tasqueEntityDao)
Sets reference totasqueEntityDao
.com.soffid.iam.api.CustomObject
updateCustomObject(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:
findCustomObjectByJsonQueryAsync
in 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:
findCustomObjectByTextAndFilterAsync
in 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:
findCustomObjectByTextAndJsonQueryAsync
in 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:
findCustomObjectByTextAndJsonQueryAsync
in 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:
findCustomObjectByTextAsync
in 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:
createCustomObject
in 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:
findCustomObjectByTypeAndName
in 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:
updateCustomObject
in 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:
findCustomObjectByTextAndJsonQuery
in 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:
findCustomObjectByTextAndJsonQuery
in 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:
findCustomObjectByJsonQuery
in 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:
findCustomObjectByText
in 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:
findCustomObjectByTextAndFilter
in 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:
findCustomObjectNames
in 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:
deleteCustomObject
in 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 currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-