public class CreateNoteWidget extends AbstractWidget
METADATA_KEY_NO_CONTENT
PARAM_WIDGET_ID
Constructor and Description |
---|
CreateNoteWidget() |
Modifier and Type | Method and Description |
---|---|
String |
getAction() |
String |
getAttachmentsSessionAttributeName()
The name for the attachments session attribute.
|
String |
getAttachmentsSessionAttributeValue()
The value for the attachments session attribute.
|
String |
getNoteCreationData()
The note creation data as JSON object.
|
Long |
getTargetBlog()
Return the blog ID of target bolg of the note.
|
String |
getTile(String outputType)
Get the tile to be used for rendering
|
Object |
handleRequest()
Handle the request and return a result
|
protected void |
initParameters()
abstract method hook that initializes the widget's parameters
|
boolean |
isCommentAction()
Whether the widget is rendered for commenting a note.
|
boolean |
isCreateAction()
Whether the widget is rendered for creating a new note.
|
boolean |
isEditAction()
Whether the widget is rendered for editing a note.
|
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 getAction()
public String getAttachmentsSessionAttributeName()
public String getAttachmentsSessionAttributeValue()
public String getNoteCreationData()
public Long getTargetBlog()
public String getTile(String outputType)
outputType
- the output type (rss, dhtml ...) without any '.'Widget.getTile(String)
public Object handleRequest()
Widget
protected void initParameters()
initParameters
in class AbstractWidget
public boolean isCommentAction()
public boolean isCreateAction()
public boolean isEditAction()
Copyright © 2019 Communote team. All rights reserved.