public class OwBPMQueue extends Object implements OwBPMVirtualQueue
Workdesk BPM Plugin.
A BPM queue wrapper.
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
Constructor and Description |
---|
OwBPMQueue(OwBPMDocument doc_p,
com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer queueFolder_p,
Collection rulelist_p)
creates a wrapper for the given queue name
|
OwBPMQueue(OwBPMDocument doc_p,
com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer queueFolder_p,
Collection rulelist_p,
boolean hideIfEmpty) |
Modifier and Type | Method and Description |
---|---|
String |
applyRules(com.wewebu.ow.server.ecm.OwObject obj_p)
check if the rules apply to this object so it should be displayed with a color
|
boolean |
canResubmit()
check if resubmission is supported by the queue
|
void |
enableFilter(boolean fEnable_p)
switch filter on or off
|
List |
getColumnInfo()
get the column info for the child list columns
|
protected com.wewebu.ow.server.app.OwMainAppContext |
getContext()
get the context
|
String |
getDisplayName()
get the name of the queue
|
String |
getIcon()
get the path / URL to the icon for the queue
|
int |
getItemCount(int context_p)
get the number of items in the queue
|
String |
getName()
get the name of the queue
|
com.wewebu.ow.server.dmsdialogs.views.OwObjectListView.OwFilter |
getObjectListFilter()
get the filter setting
|
com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer |
getQueueFolder()
the folder object from the repository
|
com.wewebu.ow.server.field.OwSearchTemplate |
getSearchTemplate()
get the search template for the queue
|
com.wewebu.ow.server.field.OwSort |
getSort()
the sort object to use for this queue
|
com.wewebu.ow.server.ecm.OwObjectCollection |
getWorkItems(com.wewebu.ow.server.field.OwSearchNode filterNode_p)
get the workitems from the queue
|
boolean |
isFilter()
check if filter is enabled
|
boolean |
isHideIfEmpty()
Tells if this queue should be hidden if empty.
|
boolean |
isResubmitFilter()
check if resubmission filter is on
|
void |
toggleFilter()
switch filter on or off
|
void |
toggleResubmitFilter()
switch resubmission view on or off
|
public OwBPMQueue(OwBPMDocument doc_p, com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer queueFolder_p, Collection rulelist_p)
doc_p
- queueFolder_p
- rulelist_p
- Collection of OwPriorityRule or null of no rules are definedpublic OwBPMQueue(OwBPMDocument doc_p, com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer queueFolder_p, Collection rulelist_p, boolean hideIfEmpty)
public String applyRules(com.wewebu.ow.server.ecm.OwObject obj_p)
applyRules
in interface OwBPMVirtualQueue
obj_p
- OwObject work item to check forpublic com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer getQueueFolder()
getQueueFolder
in interface OwBPMVirtualQueue
public boolean canResubmit() throws Exception
canResubmit
in interface OwBPMVirtualQueue
Exception
protected com.wewebu.ow.server.app.OwMainAppContext getContext()
public com.wewebu.ow.server.ecm.OwObjectCollection getWorkItems(com.wewebu.ow.server.field.OwSearchNode filterNode_p) throws Exception
getWorkItems
in interface OwBPMVirtualQueue
Exception
public com.wewebu.ow.server.field.OwSort getSort() throws Exception
getSort
in interface OwBPMVirtualQueue
Exception
public com.wewebu.ow.server.dmsdialogs.views.OwObjectListView.OwFilter getObjectListFilter() throws Exception
getObjectListFilter
in interface OwBPMVirtualQueue
Exception
public List getColumnInfo() throws Exception
getColumnInfo
in interface OwBPMVirtualQueue
Exception
public String getName() throws Exception
getName
in interface OwBPMVirtualQueue
Exception
public int getItemCount(int context_p) throws Exception
getItemCount
in interface OwBPMVirtualQueue
context_p
- int on of OwStatusContextDefinitions.STATUS_CONTEXT_...Exception,OwStatusContextException
Exception
public String getDisplayName() throws Exception
getDisplayName
in interface OwBPMVirtualQueue
Exception
public com.wewebu.ow.server.field.OwSearchTemplate getSearchTemplate() throws Exception
getSearchTemplate
in interface OwBPMVirtualQueue
Exception
public String getIcon() throws Exception
getIcon
in interface OwBPMVirtualQueue
Exception
public void toggleResubmitFilter()
toggleResubmitFilter
in interface OwBPMVirtualQueue
public boolean isResubmitFilter()
isResubmitFilter
in interface OwBPMVirtualQueue
public void toggleFilter()
toggleFilter
in interface OwBPMVirtualQueue
public void enableFilter(boolean fEnable_p)
enableFilter
in interface OwBPMVirtualQueue
public boolean isFilter()
isFilter
in interface OwBPMVirtualQueue
public boolean isHideIfEmpty()
OwBPMVirtualQueue
isHideIfEmpty
in interface OwBPMVirtualQueue
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.