public class AboutBlogWidget extends AbstractWidget
METADATA_KEY_NO_CONTENT
PARAM_WIDGET_ID
Constructor and Description |
---|
AboutBlogWidget() |
Modifier and Type | Method and Description |
---|---|
String |
getBlogEmailAddress() |
String |
getBlogMailTo() |
Locale |
getCurrentUserLocale() |
String |
getTile(String outputType)
Get the tile to be used for rendering
|
TimeZone |
getTimeZone() |
String |
getTimeZoneId() |
Object |
handleRequest()
Handle the request and return a result
|
boolean |
hasAccess()
Whether the current user has access to the topic.
|
protected void |
initParameters()
abstract method hook that initializes the widget's parameters
|
boolean |
isCurrentUserFollowsBlog() |
boolean |
isRunningInSingleAddressMode() |
determineOutputType, getAttribute, getBooleanParameter, getGroupName, getIntParameter, getIntParameter, getLongArrayParameter, getLongParameter, getLongParameter, getParameter, getParameter, getParameterEscaped, getParameterEscaped, getParameters, getRequest, getResponse, getResponseMetadata, getStringArrayParameter, getViewIdentifier, getWidgetId, isSuccess, setAttribute, setGroupName, setParameter, setRequest, setResponse, setResponseMetadata, setSuccess
public String getBlogEmailAddress()
null
if the mail fetcher is disabled blogIdentifier is
null
or getCurrentEmailServerDomain() returns null
public String getBlogMailTo()
null
if the mail fetcher is not enabledpublic Locale getCurrentUserLocale()
public Object handleRequest()
public String getTile(String outputType)
outputType
- the output type (rss, dhtml ...) without any '.'public TimeZone getTimeZone()
public String getTimeZoneId()
public boolean hasAccess()
protected void initParameters()
initParameters
in class AbstractWidget
public boolean isCurrentUserFollowsBlog()
true
if the current user follows this blogpublic boolean isRunningInSingleAddressMode()
true
if single address mode is enabledCopyright © 2019 Communote team. All rights reserved.