com.wewebu.ow.server.dmsdialogs.views
Class OwObjectFiledRecordsView

java.lang.Object
  extended by com.wewebu.ow.server.ui.OwEventTarget
      extended by com.wewebu.ow.server.ui.OwView
          extended by com.wewebu.ow.server.dmsdialogs.views.OwObjectFiledRecordsView
All Implemented Interfaces:
OwBaseView, OwUpdateTarget

public class OwObjectFiledRecordsView
extends OwView

Displays the records (Folders) where the given document is filed in.

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


Field Summary
protected  Collection m_classNamesCollection
          collection of classnames to look for as parents
protected  OwObject m_object
          object to find the parents of
protected  List m_parentPathInfoList
          List containing OwEcmUtil.OwParentPathInfo items for each filed reference of the given object
protected static String QUERY_KEY_PATH_ITEM
          query key for the selected path item
 
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
OwObjectFiledRecordsView()
           
 
Method Summary
 String getFormName()
          get the form used for the edit fields
protected  void onActivate(int iIndex_p, Object oReason_p)
          activate the target from a navigation module.
protected  void onRender(Writer w_p)
          called when the view should create its HTML content to be displayed
 void onSelectPath(javax.servlet.http.HttpServletRequest request_p)
          called when user clicked a path link
 void setObjectRef(OwObject obj_p, Collection classNames_p)
          set the object to find the filed records for
 
Methods inherited from class com.wewebu.ow.server.ui.OwView
activate, addView, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormTarget, getIcon, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, init, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, 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
 

Field Detail

m_object

protected OwObject m_object
object to find the parents of


m_parentPathInfoList

protected List m_parentPathInfoList
List containing OwEcmUtil.OwParentPathInfo items for each filed reference of the given object


QUERY_KEY_PATH_ITEM

protected static final String QUERY_KEY_PATH_ITEM
query key for the selected path item

See Also:
Constant Field Values

m_classNamesCollection

protected Collection m_classNamesCollection
collection of classnames to look for as parents

Constructor Detail

OwObjectFiledRecordsView

public OwObjectFiledRecordsView()
Method Detail

onRender

protected void onRender(Writer w_p)
                 throws Exception
called when the view should create its HTML content to be displayed

Overrides:
onRender in class OwView
Parameters:
w_p - Writer object to write HTML to
Throws:
Exception

getFormName

public String getFormName()
get the form used for the edit fields

Overrides:
getFormName in class OwView
Returns:
String form name

onSelectPath

public void onSelectPath(javax.servlet.http.HttpServletRequest request_p)
                  throws Exception
called when user clicked a path link

Throws:
Exception

setObjectRef

public void setObjectRef(OwObject obj_p,
                         Collection classNames_p)
                  throws Exception
set the object to find the filed records for

Parameters:
obj_p - OwObject
classNames_p - Collection of parent class names to look for
Throws:
Exception

onActivate

protected void onActivate(int iIndex_p,
                          Object oReason_p)
                   throws Exception
activate the target from a navigation module. Called when menu item was pressed for this target.

Overrides:
onActivate in class OwView
Parameters:
iIndex_p - int tab index of Navigation
oReason_p - User Object which was submitted when target was attached to the navigation module
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.