public class BlogSiteEnumerator extends AbstractLogEnabled implements Serviceable, Enumerator
| Modifier and Type | Field and Description |
|---|---|
protected SiteManager |
_siteManager
The site manager.
|
static String |
BLOG_SITE_TYPE
The blog site type.
|
| Constructor and Description |
|---|
BlogSiteEnumerator() |
| Modifier and Type | Method and Description |
|---|---|
Map<Object,I18nizableText> |
getEntries()
Provides the enumerated values with their optional label.
|
I18nizableText |
getEntry(String value)
Retrieves a single label from a value.
|
void |
service(ServiceManager manager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationpublic static final String BLOG_SITE_TYPE
protected SiteManager _siteManager
public BlogSiteEnumerator()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic Map<Object,I18nizableText> getEntries() throws Exception
EnumeratorgetEntries in interface EnumeratorException - if an error occurs.public I18nizableText getEntry(String value) throws Exception
EnumeratorgetEntry in interface Enumeratorvalue - the value.null if not found.Exception - if an error occurs.