Package com.soffid.iam.service.attribute
Class AttributePersister<ENTITY,ATTRIBUTEENTITY>
- java.lang.Object
-
- com.soffid.iam.service.attribute.AttributePersister<ENTITY,ATTRIBUTEENTITY>
-
public abstract class AttributePersister<ENTITY,ATTRIBUTEENTITY> extends Object
-
-
Constructor Summary
Constructors Constructor Description AttributePersister()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ATTRIBUTEENTITYcreateNewAttribute(ENTITY entity, MetaDataEntity metadata, Object value)protected abstract ATTRIBUTEENTITYfindAttributeEntity(LinkedList<ATTRIBUTEENTITY> entities, String key, Object o)protected abstract List<ATTRIBUTEENTITY>findAttributeEntityByNameAndValue(MetaDataEntity m, String v)protected abstract AttributeValidationServicegetAttributeValidationService()protected abstract Collection<ATTRIBUTEENTITY>getEntityAttributes(ENTITY entity)protected abstract MetaDataEntityDaogetMetaDataEntityDao()protected abstract StringgetMetadataScope()protected abstract voidremoveAttributes(Collection<ATTRIBUTEENTITY> entities)booleanupdateAttributes(Map<String,Object> attributes, ENTITY entity)protected abstract voidupdateEntity(ENTITY entity)
-
-
-
Method Detail
-
updateAttributes
public boolean updateAttributes(Map<String,Object> attributes, ENTITY entity) throws es.caib.seycon.ng.exception.InternalErrorException
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAttributeEntityByNameAndValue
protected abstract List<ATTRIBUTEENTITY> findAttributeEntityByNameAndValue(MetaDataEntity m, String v)
-
updateEntity
protected abstract void updateEntity(ENTITY entity)
-
removeAttributes
protected abstract void removeAttributes(Collection<ATTRIBUTEENTITY> entities)
-
getMetadataScope
protected abstract String getMetadataScope()
-
getEntityAttributes
protected abstract Collection<ATTRIBUTEENTITY> getEntityAttributes(ENTITY entity)
-
createNewAttribute
protected abstract ATTRIBUTEENTITY createNewAttribute(ENTITY entity, MetaDataEntity metadata, Object value)
-
findAttributeEntity
protected abstract ATTRIBUTEENTITY findAttributeEntity(LinkedList<ATTRIBUTEENTITY> entities, String key, Object o)
-
getMetaDataEntityDao
protected abstract MetaDataEntityDao getMetaDataEntityDao()
-
getAttributeValidationService
protected abstract AttributeValidationService getAttributeValidationService()
-
-