public class AvailableContentTypesEnumerator extends ContentTypeEnumerator implements Contextualizable
ContentType
Modifier and Type | Field and Description |
---|---|
protected Context |
_context
The avalon context
|
protected ContentTypesAssignmentHandler |
_cTypeHandler
The content types assignment handler
|
protected boolean |
_includePrivate
True to include private content types
|
protected SiteManager |
_siteManager
The site manager
|
_allOption, _contentTypes, _cTypeExtPt, _excludeAbstract, _excludeMixin, _excludePrivate, _excludeReferenceTable, _mixinOnly, _strictContentTypes
Constructor and Description |
---|
AvailableContentTypesEnumerator() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration configuration) |
void |
contextualize(Context context) |
Map<Object,I18nizableText> |
getEntries()
Provides the enumerated values with their optional label.
|
void |
service(ServiceManager smanager) |
_handleAllOptionEntry, getConfiguration, getEntry, getMatchingContentTypes
protected ContentTypesAssignmentHandler _cTypeHandler
protected SiteManager _siteManager
protected boolean _includePrivate
public AvailableContentTypesEnumerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ContentTypeEnumerator
ServiceException
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
configure
in class ContentTypeEnumerator
ConfigurationException
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
public Map<Object,I18nizableText> getEntries() throws Exception
Enumerator
getEntries
in interface Enumerator
getEntries
in class ContentTypeEnumerator
Exception
- if an error occurs.