|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwView
com.wewebu.ow.server.dmsdialogs.views.OwLaunchableWorkflowSelectionView
public class OwLaunchableWorkflowSelectionView
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
| Nested Class Summary | |
|---|---|
static interface |
OwLaunchableWorkflowSelectionView.OwWorkflowSelectionListener
Selection listener interface. |
| Field Summary |
|---|
| Fields inherited from class com.wewebu.ow.server.ui.OwView |
|---|
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget |
| Fields inherited from interface com.wewebu.ow.server.ui.OwBaseView |
|---|
EMPTY_STRING |
| Constructor Summary | |
|---|---|
OwLaunchableWorkflowSelectionView(Collection workflowDescriptions_p)
Constructor |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class com.wewebu.ow.server.ui.OwView |
|---|
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, usesFormWithAttributes |
| Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
|---|
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwLaunchableWorkflowSelectionView(Collection workflowDescriptions_p)
workflowDescriptions_p - a collection of OwWorkflowDescriptions| Method Detail |
|---|
protected void onRender(Writer w_p)
throws Exception
OwView
onRender in class OwVieww_p - Writer object to write HTML to
Exceptionpublic final List getWorkflowDescriptions()
public String createRowLinkURL(int rowIndex_p)
rowIndex_p -
public String getWorkflowDescriptionName(int i_p)
i_p - int index of workflow description
public 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 -
public void renderTableCaption(Writer w_p)
throws Exception
w_p -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||