|
||||||||||
| 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.ui.OwLayout
com.wewebu.ow.server.dmsdialogs.views.OwObjectClassView
public class OwObjectClassView
View Module to select the document class of a new document.
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 | |
|---|---|
class |
OwObjectClassView.OwObjectClassTreeViewViewWithStyle
overwrite the object tree view to use own styles |
static interface |
OwObjectClassView.OwObjectClassViewListner
Event listener for select event. |
| Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwLayout |
|---|
OwLayout.OwDispatchRegion |
| Field Summary | |
|---|---|
protected int |
m_iNextButtonIndex
index of the next button in the menu |
protected OwObjectClassView.OwObjectClassViewListner |
m_listner
event listener for select event |
protected OwSubMenuView |
m_MenuView
Menu for buttons in the view |
protected OwObjectClassPreviewView |
m_ObjectClassPreview
View to display the class description as Preview |
protected OwResource |
m_resource
network resource to get the classes from |
protected String |
m_TreeItemStyle
overwritten TreeItemStyle for the treeview or null to use default |
protected String |
m_TreeSelectedItemStyle
overwritten TreeItemSelectedStyle for the treeview or null to use default |
protected OwObjectClassView.OwObjectClassTreeViewViewWithStyle |
m_TreeView
tree view module to display the OwObject structure |
static int |
MENU_REGION
region of the tree view |
static int |
PREVIEW_REGION
region of the tree view |
static int |
TREE_REGION
region of the tree view |
| Fields inherited from class com.wewebu.ow.server.ui.OwLayout |
|---|
m_Regions |
| 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 | |
|---|---|
OwObjectClassView(OwResource resource_p,
int iObjectType_p)
construct a doc class view to select document classes |
|
OwObjectClassView(OwResource resource_p,
int iObjectType_p,
OwObjectClassSelectionCfg classSelectionCfg)
|
|
OwObjectClassView(OwResource resource_p,
int iObjectType_p,
String strParentObjectClass_p)
Deprecated. this will be removed in the future. Please use OwObjectClassView(OwResource, int, OwObjectClassSelectionCfg) instead. |
|
| Method Summary | |
|---|---|
String |
getFormName()
get the form used for the edit fields |
protected OwLocation |
getLocation()
The current location, containing the current resource. Only initialized if setObjectClassProcessor(OwObjectClassProcessor) is called with non-null parameter. |
protected void |
init()
init the target after the context is set. |
boolean |
isValidated()
check if view has validated its data and the next view can be enabled |
void |
navigateToClass(OwObjectClass objectClass_p)
navigates to the given class object NOTE: the tree must have been initialized with navigateClasses already. |
void |
onNext(javax.servlet.http.HttpServletRequest request_p,
Object oReason_p)
event called when user clicked Lock button in menu |
protected void |
onRender(Writer w_p)
called when the view should create its HTML content to be displayed |
void |
onTreeViewNavigateFolder(OwTreeView.OwTreeViewNode node_p)
event called when a user navigates through the tree (using plus minus icon), but does not open a folder |
void |
onTreeViewOpenFolder(OwTreeView.OwTreeViewNode node_p)
event called when a user opens a folder to display its document contents overridden from OwObjectTreeView.OwObjectTreeViewEventListner |
void |
setEventListner(OwObjectClassView.OwObjectClassViewListner listner_p)
set event listener |
void |
setItemStyle(String strStyle_p)
set the style for the tree item |
void |
setNextActivateView(OwView nextView_p)
set the view that is next to this view, displays a next button to activate |
void |
setObjectClassProcessor(OwObjectClassProcessor objectClassProcessor)
set object class processor |
void |
setPrevActivateView(OwView prevView_p)
set the view that is prev to this view, displays a prev button to activate |
void |
setSelectedItemStyle(String strStyle_p)
set the style for the selected tree item |
| Methods inherited from class com.wewebu.ow.server.ui.OwLayout |
|---|
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion, renderRegion |
| Methods inherited from class com.wewebu.ow.server.ui.OwView |
|---|
activate, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, 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 |
| Field Detail |
|---|
protected String m_TreeItemStyle
protected String m_TreeSelectedItemStyle
protected OwObjectClassView.OwObjectClassViewListner m_listner
protected OwSubMenuView m_MenuView
protected OwObjectClassPreviewView m_ObjectClassPreview
public static final int TREE_REGION
public static final int MENU_REGION
public static final int PREVIEW_REGION
protected int m_iNextButtonIndex
protected OwObjectClassView.OwObjectClassTreeViewViewWithStyle m_TreeView
protected OwResource m_resource
| Constructor Detail |
|---|
public OwObjectClassView(OwResource resource_p,
int iObjectType_p,
String strParentObjectClass_p)
OwObjectClassView(OwResource, int, OwObjectClassSelectionCfg) instead.
resource_p - the OwResource to get the classes fromiObjectType_p - int object to browse forstrParentObjectClass_p - String name of class to start from or null to start browsing from root
public OwObjectClassView(OwResource resource_p,
int iObjectType_p,
OwObjectClassSelectionCfg classSelectionCfg)
resource_p - iObjectType_p - classSelectionCfg -
public OwObjectClassView(OwResource resource_p,
int iObjectType_p)
resource_p - the OwResource to get the classes fromiObjectType_p - int object to browse for| Method Detail |
|---|
public void setSelectedItemStyle(String strStyle_p)
public void setItemStyle(String strStyle_p)
public void setObjectClassProcessor(OwObjectClassProcessor objectClassProcessor)
objectClassProcessor - OwObjectClassProcessorprotected OwLocation getLocation()
setObjectClassProcessor(OwObjectClassProcessor) is called with non-null parameter.
public void setEventListner(OwObjectClassView.OwObjectClassViewListner listner_p)
public String getFormName()
getFormName in class OwView
protected void init()
throws Exception
init in class OwViewException
public void navigateToClass(OwObjectClass objectClass_p)
throws Exception
objectClass_p - OwObjectClass
Exception
public void onTreeViewNavigateFolder(OwTreeView.OwTreeViewNode node_p)
throws Exception
OwTreeView.OwTreeViewEventListner
onTreeViewNavigateFolder in interface OwTreeView.OwTreeViewEventListnernode_p - the node which triggered the event - the node which is
opened (+) or closed (-)
Exception
public void onTreeViewOpenFolder(OwTreeView.OwTreeViewNode node_p)
throws Exception
onTreeViewOpenFolder in interface OwTreeView.OwTreeViewEventListnernode_p - the node which triggered the event - the opened folder
node
Exception
public void setNextActivateView(OwView nextView_p)
throws Exception
setNextActivateView in interface OwMultipanelnextView_p - OwView
Exception
public void onNext(javax.servlet.http.HttpServletRequest request_p,
Object oReason_p)
throws Exception
oReason_p - Optional reason object submitted in addMenuItemrequest_p - HttpServletRequest
Exception
protected void onRender(Writer w_p)
throws Exception
onRender in class OwVieww_p - Writer object to write HTML to
Exception
public boolean isValidated()
throws Exception
isValidated in interface OwMultipanelException
public void setPrevActivateView(OwView prevView_p)
throws Exception
setPrevActivateView in interface OwMultipanelprevView_p - OwView
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||