Package com.soffid.iam.service.impl
Class AttributeValidationServiceBase
- java.lang.Object
-
- com.soffid.iam.service.impl.AttributeValidationServiceBase
-
- All Implemented Interfaces:
AttributeValidationService
- Direct Known Subclasses:
AttributeValidationServiceImpl
public abstract class AttributeValidationServiceBase extends Object implements AttributeValidationService
Spring Service base class for
see com.soffid.iam.service.impl.AttributeValidationServicecom.soffid.iam.service.impl.AttributeValidationService, provides access to all services and entities referenced by this service.
-
-
Field Summary
-
Fields inherited from interface com.soffid.iam.service.impl.AttributeValidationService
SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description AttributeValidationServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description CustomObjectEntityDaogetCustomObjectEntityDao()Gets reference tocustomObjectEntityDao.GroupEntityDaogetGroupEntityDao()Gets reference togrupEntityDao.HostEntityDaogetHostEntityDao()Gets reference tomaquinaEntityDao.InformationSystemEntityDaogetInformationSystemEntityDao()Gets reference toaplicacioEntityDao.NetworkEntityDaogetNetworkEntityDao()Gets reference toxarxaEntityDao.protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.UserEntityDaogetUserEntityDao()Gets reference tousuariEntityDao.UserTypeEntityDaogetUserTypeEntityDao()Gets reference totipusUsuariEntityDao.protected abstract voidhandleValidate(AccountMetadataEntity metadata, Object value)protected abstract voidhandleValidate(MetaDataEntity metadata, Object value)voidsetCustomObjectEntityDao(CustomObjectEntityDao customObjectEntityDao)Sets reference tocustomObjectEntityDao.voidsetGroupEntityDao(GroupEntityDao grupEntityDao)Sets reference togrupEntityDao.voidsetHostEntityDao(HostEntityDao maquinaEntityDao)Sets reference tomaquinaEntityDao.voidsetInformationSystemEntityDao(InformationSystemEntityDao aplicacioEntityDao)Sets reference toaplicacioEntityDao.voidsetNetworkEntityDao(NetworkEntityDao xarxaEntityDao)Sets reference toxarxaEntityDao.voidsetUserEntityDao(UserEntityDao usuariEntityDao)Sets reference tousuariEntityDao.voidsetUserTypeEntityDao(UserTypeEntityDao tipusUsuariEntityDao)Sets reference totipusUsuariEntityDao.voidvalidate(AccountMetadataEntity metadata, Object value)Operation validatevoidvalidate(MetaDataEntity metadata, Object value)Operation validate
-
-
-
Method Detail
-
setInformationSystemEntityDao
public void setInformationSystemEntityDao(InformationSystemEntityDao aplicacioEntityDao)
Sets reference toaplicacioEntityDao.
-
getInformationSystemEntityDao
public InformationSystemEntityDao getInformationSystemEntityDao()
Gets reference toaplicacioEntityDao.
-
setCustomObjectEntityDao
public void setCustomObjectEntityDao(CustomObjectEntityDao customObjectEntityDao)
Sets reference tocustomObjectEntityDao.
-
getCustomObjectEntityDao
public CustomObjectEntityDao getCustomObjectEntityDao()
Gets reference tocustomObjectEntityDao.
-
setGroupEntityDao
public void setGroupEntityDao(GroupEntityDao grupEntityDao)
Sets reference togrupEntityDao.
-
getGroupEntityDao
public GroupEntityDao getGroupEntityDao()
Gets reference togrupEntityDao.
-
setHostEntityDao
public void setHostEntityDao(HostEntityDao maquinaEntityDao)
Sets reference tomaquinaEntityDao.
-
getHostEntityDao
public HostEntityDao getHostEntityDao()
Gets reference tomaquinaEntityDao.
-
setUserTypeEntityDao
public void setUserTypeEntityDao(UserTypeEntityDao tipusUsuariEntityDao)
Sets reference totipusUsuariEntityDao.
-
getUserTypeEntityDao
public UserTypeEntityDao getUserTypeEntityDao()
Gets reference totipusUsuariEntityDao.
-
setUserEntityDao
public void setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao.
-
getUserEntityDao
public UserEntityDao getUserEntityDao()
Gets reference tousuariEntityDao.
-
setNetworkEntityDao
public void setNetworkEntityDao(NetworkEntityDao xarxaEntityDao)
Sets reference toxarxaEntityDao.
-
getNetworkEntityDao
public NetworkEntityDao getNetworkEntityDao()
Gets reference toxarxaEntityDao.
-
validate
@Transactional(rollbackFor=java.lang.Exception.class) public void validate(AccountMetadataEntity metadata, Object value) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:AttributeValidationServiceOperation validate- Specified by:
validatein interfaceAttributeValidationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleValidate
protected abstract void handleValidate(AccountMetadataEntity metadata, Object value) throws Exception
- Throws:
Exception
-
validate
@Transactional(rollbackFor=java.lang.Exception.class) public void validate(MetaDataEntity metadata, Object value) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:AttributeValidationServiceOperation validate- Specified by:
validatein interfaceAttributeValidationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleValidate
protected abstract void handleValidate(MetaDataEntity metadata, Object value) throws Exception
- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-