com.wewebu.ow.server.plug.owbpm
Class OwBPMDocument

java.lang.Object
  extended by com.wewebu.ow.server.ui.OwEventTarget
      extended by com.wewebu.ow.server.ui.OwDocument
          extended by com.wewebu.ow.server.app.OwMasterDocument
              extended by com.wewebu.ow.server.plug.owbpm.OwBPMDocument
All Implemented Interfaces:
com.wewebu.ow.server.util.OwAttributeBag, com.wewebu.ow.server.util.OwAttributeBagWriteable

public class OwBPMDocument
extends com.wewebu.ow.server.app.OwMasterDocument

Workdesk BPM Plugin.
Main 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


Field Summary
protected  com.wewebu.ow.server.ecm.bpm.OwWorkitemRepository m_bpmrepository
          the bpm repository
protected  List m_columnInfoList
          list of OwFieldColumnInfo to be used for the child list columns
protected  Map m_rulemap
          map of List of OwPriorityRule rules, keyed by container name
static String QUEUE_DELIMITER
          token that identifies a delimiter in configuration
static String SETTINGS_PARAM_COLUMN_INFO
          settings parameter name for the column info list for the node list view.
static String SETTINGS_PARAM_SORT
          settings parameter name for the sorting.
 
Fields inherited from class com.wewebu.ow.server.ui.OwDocument
m_ViewList
 
Constructor Summary
OwBPMDocument()
           
 
Method Summary
 com.wewebu.ow.server.ecm.bpm.OwWorkitemRepository getBpmRepository()
          the bpm repository
protected  List getColumnSortCriteria()
          Get the column sort criteria.
Column sort criteria can be defined via <ColumnSortCriteria> tag in owplugins.xml or Settings plugin.
Double defined properties will be filtered out.
protected  List getDefaultColumnInfo()
          get the default column info for the child list if no column info is defined in the opened folder
 int getMaxChildCount()
          get the maximum number of items to retrieve in a queue
 Map getRuleMap()
          map of List of OwStandardPriorityRule rules, keyed by container name
 Collection getWorkQueues()
          a collection of OwBPMVirtualQueue for each queue
 
Methods inherited from class com.wewebu.ow.server.app.OwMasterDocument
dispatch, getConfigNode, getConfiguration, getMasterView, getPersistentAttributeBagWriteable, getPlugin, getPluginID, getSafeSetting, init, onDispatch, setPlugin, setSafeSetting
 
Methods inherited from class com.wewebu.ow.server.ui.OwDocument
attachView, attributecount, clear, detachView, getAttribute, getAttribute, getAttributeNames, getSafeAttribute, hasAttribute, remove, save, setAttribute, update
 
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getFormName, getFormTarget, getID, onExternalRequest, onFormEvent, onRequest, setExternalFormTarget, updateExternalFormTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUEUE_DELIMITER

public static final String QUEUE_DELIMITER
token that identifies a delimiter in configuration

See Also:
Constant Field Values

SETTINGS_PARAM_COLUMN_INFO

public static final String SETTINGS_PARAM_COLUMN_INFO
settings parameter name for the column info list for the node list view.

See Also:
Constant Field Values

SETTINGS_PARAM_SORT

public static final String SETTINGS_PARAM_SORT
settings parameter name for the sorting.

See Also:
Constant Field Values

m_bpmrepository

protected com.wewebu.ow.server.ecm.bpm.OwWorkitemRepository m_bpmrepository
the bpm repository


m_columnInfoList

protected List m_columnInfoList
list of OwFieldColumnInfo to be used for the child list columns


m_rulemap

protected Map m_rulemap
map of List of OwPriorityRule rules, keyed by container name

Constructor Detail

OwBPMDocument

public OwBPMDocument()
Method Detail

getRuleMap

public Map getRuleMap()
               throws Exception
map of List of OwStandardPriorityRule rules, keyed by container name

Returns:
Map
Throws:
Exception

getDefaultColumnInfo

protected List getDefaultColumnInfo()
                             throws Exception
get the default column info for the child list if no column info is defined in the opened folder

Returns:
List of OwFieldColumnInfo
Throws:
Exception

getColumnSortCriteria

protected List getColumnSortCriteria()
                              throws Exception
Get the column sort criteria.
Column sort criteria can be defined via <ColumnSortCriteria> tag in owplugins.xml or Settings plugin.
Double defined properties will be filtered out.

Returns:
List of OwSortCriteria
Throws:
Exception

getWorkQueues

public Collection getWorkQueues()
                         throws Exception
a collection of OwBPMVirtualQueue for each queue

Returns:
Collection of OwBPMVirtualQueue or null for delimiter
Throws:
Exception, - OwConfigurationException
Exception

getBpmRepository

public com.wewebu.ow.server.ecm.bpm.OwWorkitemRepository getBpmRepository()
                                                                   throws Exception
the bpm repository

Throws:
Exception

getMaxChildCount

public int getMaxChildCount()
get the maximum number of items to retrieve in a queue



Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.