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 CustomObjectEntityDao
getCustomObjectEntityDao()
Gets reference tocustomObjectEntityDao
.GroupEntityDao
getGroupEntityDao()
Gets reference togrupEntityDao
.HostEntityDao
getHostEntityDao()
Gets reference tomaquinaEntityDao
.InformationSystemEntityDao
getInformationSystemEntityDao()
Gets reference toaplicacioEntityDao
.NetworkEntityDao
getNetworkEntityDao()
Gets reference toxarxaEntityDao
.protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.UserEntityDao
getUserEntityDao()
Gets reference tousuariEntityDao
.UserTypeEntityDao
getUserTypeEntityDao()
Gets reference totipusUsuariEntityDao
.protected abstract void
handleValidate(AccountMetadataEntity metadata, Object value)
protected abstract void
handleValidate(MetaDataEntity metadata, Object value)
void
setCustomObjectEntityDao(CustomObjectEntityDao customObjectEntityDao)
Sets reference tocustomObjectEntityDao
.void
setGroupEntityDao(GroupEntityDao grupEntityDao)
Sets reference togrupEntityDao
.void
setHostEntityDao(HostEntityDao maquinaEntityDao)
Sets reference tomaquinaEntityDao
.void
setInformationSystemEntityDao(InformationSystemEntityDao aplicacioEntityDao)
Sets reference toaplicacioEntityDao
.void
setNetworkEntityDao(NetworkEntityDao xarxaEntityDao)
Sets reference toxarxaEntityDao
.void
setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao
.void
setUserTypeEntityDao(UserTypeEntityDao tipusUsuariEntityDao)
Sets reference totipusUsuariEntityDao
.void
validate(AccountMetadataEntity metadata, Object value)
Operation validatevoid
validate(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:AttributeValidationService
Operation validate- Specified by:
validate
in 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:AttributeValidationService
Operation validate- Specified by:
validate
in 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 currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-