public abstract class EntityPrefCategoryInterface<ENTITY extends umun.iam.model.Meta,PREF extends EntityPref,ID extends EntityPrefId,MAPPED_ENTITY> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected EntityPrefCategory |
category |
protected EntityPrefService<ENTITY,PREF,ID> |
entityPrefService |
| Constructor and Description |
|---|
EntityPrefCategoryInterface() |
@Autowired protected EntityPrefService<ENTITY extends umun.iam.model.Meta,PREF extends EntityPref,ID extends EntityPrefId> entityPrefService
protected EntityPrefCategory category
public abstract String getRemoteHideKey()
protected abstract Boolean getRemoteHideDefault()
public abstract PrefDataType getDataType()
public abstract EntityPrefValidationInterface getCustomValidation()
public abstract String getGroup()
protected abstract String getCategoryName()
protected abstract String getCategoryDisplayName()
protected abstract String getEntityName()
protected abstract PREF createNewPref(CategoryPref<ENTITY> pref, EntityPrefCategory category, ENTITY entity)
protected abstract List<MAPPED_ENTITY> getAllEntitiesToMap(ENTITY entity)
protected abstract String getKey(MAPPED_ENTITY mappedEntity)
protected abstract String getDisplayName(MAPPED_ENTITY mappedEntity)
protected abstract String getNotFoundDefaultValue(ENTITY entity, String key, MAPPED_ENTITY mapped_ENTITY)
@EventListener public void startUp(org.springframework.context.event.ContextRefreshedEvent event)
public PREF readWithoutFail(ENTITY entity, MAPPED_ENTITY mappedEntity) throws umun.core.constants.ValidationException
umun.core.constants.ValidationExceptionpublic Object getMultiInputValue(ENTITY entity, MAPPED_ENTITY mapped_ENTITY, String optionKey, Object defaultValue)
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.