public class OwLaunchableWorkflowSelectionView extends OwView
A view that renders a list of selectable workflow descriptions.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Modifier and Type | Class and Description |
|---|---|
static interface |
OwLaunchableWorkflowSelectionView.OwWorkflowSelectionListener
Selection listener interface.
|
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTargetEMPTY_STRING| Constructor and Description |
|---|
OwLaunchableWorkflowSelectionView(Collection workflowDescriptions_p)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSelectionListener(OwLaunchableWorkflowSelectionView.OwWorkflowSelectionListener listener_p)
Registers a selection listener with this view.
|
String |
createRowLinkURL(int rowIndex_p) |
protected void |
fireDescriptionSelected(OwWorkflowDescription description_p)
Fires the
OwLaunchableWorkflowSelectionView.OwWorkflowSelectionListener.descriptionSelected(OwWorkflowDescription)
of all registered listeners for a given description. |
int |
getWorkflowDescriptionCount()
Return the amount of descriptions.
|
String |
getWorkflowDescriptionName(int i_p)
Return the name of the workflow description,
where all HTML/XML tags are escaped.
|
List |
getWorkflowDescriptions() |
boolean |
hasWorkflowDescrptions()
Return if there are available workflow descriptions.
|
protected void |
onRender(Writer w_p)
called when the view should create its HTML content to be displayed
|
void |
onRowClick(javax.servlet.http.HttpServletRequest request_p) |
void |
removeSelectionListener(OwLaunchableWorkflowSelectionView.OwWorkflowSelectionListener listener_p)
Unregisters a selection listener from this view.
|
void |
renderTableCaption(Writer w_p) |
activate, addView, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, init, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributesattach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTargetpublic OwLaunchableWorkflowSelectionView(Collection workflowDescriptions_p)
workflowDescriptions_p - a collection of OwWorkflowDescriptionsprotected void onRender(Writer w_p) throws Exception
OwViewpublic final List getWorkflowDescriptions()
public String createRowLinkURL(int rowIndex_p)
rowIndex_p - public String getWorkflowDescriptionName(int i_p)
i_p - int index of workflow descriptionpublic int getWorkflowDescriptionCount()
public boolean hasWorkflowDescrptions()
public void onRowClick(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - Exceptionpublic void addSelectionListener(OwLaunchableWorkflowSelectionView.OwWorkflowSelectionListener listener_p)
listener_p - public void removeSelectionListener(OwLaunchableWorkflowSelectionView.OwWorkflowSelectionListener listener_p)
listener_p - protected void fireDescriptionSelected(OwWorkflowDescription description_p)
OwLaunchableWorkflowSelectionView.OwWorkflowSelectionListener.descriptionSelected(OwWorkflowDescription)
of all registered listeners for a given description.description_p - Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.