public abstract class DecoratorServiceSupport<I extends GlobalModelInitializer>
extends org.nuiton.decorator.DecoratorProvider
| Constructor and Description |
|---|
DecoratorServiceSupport(ReferentialLocaleConfig referentialLocaleConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract I |
createDecoratorServiceInitializer() |
<R extends DataDtoReference> |
getDataReferenceDecorator(Class<R> referenceType) |
<R extends DataDtoReference> |
getDataReferenceDecorator(Class<R> referenceType,
String context) |
<R extends DtoReference> |
getReferenceDecorator(Class<R> referenceType) |
ReferentialLocale |
getReferentialLocale() |
<T extends ReferentialDtoReference> |
getReferentialReferenceDecorator(Class<T> referenceType) |
protected abstract void |
init(I initializer) |
protected void |
loadDecorators() |
void |
setReferentialLocale(ReferentialLocale referentialLocale) |
clear, getDecorator, getDecorator, getDecoratorByType, getDecoratorByType, getDecoratorContext, getDecorators, registerDecorator, registerDecorator, registerJXPathDecorator, registerJXPathDecorator, registerMultiJXPathDecorator, registerMultiJXPathDecorator, registerPropertyDecorator, registerPropertyDecorator, reloadpublic DecoratorServiceSupport(ReferentialLocaleConfig referentialLocaleConfig)
protected abstract I createDecoratorServiceInitializer()
protected abstract void init(I initializer)
public ReferentialLocale getReferentialLocale()
public void setReferentialLocale(ReferentialLocale referentialLocale)
protected void loadDecorators()
loadDecorators in class org.nuiton.decorator.DecoratorProviderpublic <T extends ReferentialDtoReference> ReferentialReferenceDecorator<T> getReferentialReferenceDecorator(Class<T> referenceType)
public <R extends DataDtoReference> DataReferenceDecorator<R> getDataReferenceDecorator(Class<R> referenceType)
public <R extends DataDtoReference> DataReferenceDecorator<R> getDataReferenceDecorator(Class<R> referenceType, String context)
public <R extends DtoReference> org.nuiton.decorator.Decorator<R> getReferenceDecorator(Class<R> referenceType)
Copyright © 2017–2020 IRD. All rights reserved.