Class RestDefaultDisplayServiceImpl
java.lang.Object
ch.tocco.nice2.rest.entity.impl.resources.entities.RestDefaultDisplayServiceImpl
- All Implemented Interfaces:
RestDefaultDisplayService
@Component
public class RestDefaultDisplayServiceImpl
extends Object
implements RestDefaultDisplayService
-
Constructor Summary
ConstructorDescriptionRestDefaultDisplayServiceImpl
(Context context, DefaultDisplayService defaultDisplayService, DataModel dataModel) -
Method Summary
Modifier and TypeMethodDescriptiongetDisplays
(EntityIdArgumentBean entities, @Nullable String type, boolean ignoreFallback) getDisplayValue
(Entity entity, @Nullable String type, boolean ignoreFallback) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.rest.entity.api.RestDefaultDisplayService
getDisplays, getDisplays, getDisplayValue
-
Constructor Details
-
RestDefaultDisplayServiceImpl
public RestDefaultDisplayServiceImpl(Context context, DefaultDisplayService defaultDisplayService, DataModel dataModel)
-
-
Method Details
-
getDisplayValue
public DisplayBean.DisplayValue getDisplayValue(Entity entity, @Nullable @Nullable String type, boolean ignoreFallback) - Specified by:
getDisplayValue
in interfaceRestDefaultDisplayService
-
getDisplays
public DisplayResultBean getDisplays(EntityIdArgumentBean entities, @Nullable @Nullable String type, boolean ignoreFallback) - Specified by:
getDisplays
in interfaceRestDefaultDisplayService
-