public abstract class AbstractCustomization extends Object implements Customization<Object>
| Modifier and Type | Field and Description |
|---|---|
protected static CustomizationContextComparator |
comparator
.
|
ContentManagerRegistry |
registry
.
|
org.chromattic.api.ChromatticSession |
session
.
|
| Constructor and Description |
|---|
AbstractCustomization() |
| Modifier and Type | Method and Description |
|---|---|
Customization<Object> |
customize(Collection<CustomizationContext> contexts) |
protected Customization<Object> |
get(Collection<CustomizationContext> contexts,
boolean create) |
protected Customization<Object> |
get(Iterator<CustomizationContext> contexts,
boolean create) |
abstract CustomizationContext |
getContext() |
Set<CustomizationContext> |
getContexts() |
Customization<Object> |
getCustomization(Set<CustomizationContext> contexts) |
abstract AbstractCustomizationState |
getCustomizationState() |
abstract String |
getId() |
abstract AbstractCustomization |
getParent() |
Object |
getState() |
Object |
getVirtualState() |
abstract void |
setCustomizationState(AbstractCustomizationState customizationState) |
void |
setState(Object state) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getContent, getContentId, getTypeprotected static final CustomizationContextComparator comparator
public ContentManagerRegistry registry
public org.chromattic.api.ChromatticSession session
public abstract String getId()
getId in interface Customization<Object>public abstract AbstractCustomizationState getCustomizationState()
public abstract void setCustomizationState(AbstractCustomizationState customizationState)
public abstract CustomizationContext getContext()
getContext in interface Customization<Object>public abstract AbstractCustomization getParent()
getParent in interface Customization<Object>public Object getVirtualState()
getVirtualState in interface Customization<Object>public Object getState()
getState in interface Customization<Object>public void setState(Object state)
setState in interface Customization<Object>public Customization<Object> getCustomization(Set<CustomizationContext> contexts)
getCustomization in interface Customization<Object>public Customization<Object> customize(Collection<CustomizationContext> contexts)
customize in interface Customization<Object>public Set<CustomizationContext> getContexts()
getContexts in interface Customization<Object>protected final Customization<Object> get(Collection<CustomizationContext> contexts, boolean create)
protected final Customization<Object> get(Iterator<CustomizationContext> contexts, boolean create)
Copyright © 2025 JBoss by Red Hat. All Rights Reserved.