public abstract class CPLNoteActionsProvider extends Object implements WidgetExtension<CPLNoteActionsProvider,CPLNoteActionsProviderManagement>
ChronologicalPostListWidget which allows adding or replacing actions of
a note. This extensions just provides the names of the actions. Additionally message keys for the
actions which adhere to the following naming conventions must be provided and exposed to
JavaScript:
DEFAULT_ORDER_VALUE| Constructor and Description |
|---|
CPLNoteActionsProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
addNoteActions(Map<String,String> requestParameters,
NoteData data,
List<String> actions)
Add the names of the actions which should be available for the given note.
|
Class<CPLNoteActionsProviderManagement> |
getManagementType() |
public abstract boolean addNoteActions(Map<String,String> requestParameters, NoteData data, List<String> actions)
requestParameters - the parameters of the current request (e.g. full or partial widget refresh)data - object holding details of the noteactions - the list to add the actions to. The names of the actions must only contain ASCII
alphanumeric characters.public Class<CPLNoteActionsProviderManagement> getManagementType()
getManagementType in interface WidgetExtension<CPLNoteActionsProvider,CPLNoteActionsProviderManagement>Copyright © 2019 Communote team. All rights reserved.