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 OwBPMVirtualQueueobj_p - OwObject work item to check forpublic com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer getQueueFolder()
getQueueFolder in interface OwBPMVirtualQueuepublic boolean canResubmit()
throws Exception
canResubmit in interface OwBPMVirtualQueueExceptionprotected 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 OwBPMVirtualQueueExceptionpublic com.wewebu.ow.server.field.OwSort getSort()
throws Exception
getSort in interface OwBPMVirtualQueueExceptionpublic com.wewebu.ow.server.dmsdialogs.views.OwObjectListView.OwFilter getObjectListFilter()
throws Exception
getObjectListFilter in interface OwBPMVirtualQueueExceptionpublic List getColumnInfo() throws Exception
getColumnInfo in interface OwBPMVirtualQueueExceptionpublic String getName() throws Exception
getName in interface OwBPMVirtualQueueExceptionpublic int getItemCount(int context_p)
throws Exception
getItemCount in interface OwBPMVirtualQueuecontext_p - int on of OwStatusContextDefinitions.STATUS_CONTEXT_...Exception,OwStatusContextExceptionExceptionpublic String getDisplayName() throws Exception
getDisplayName in interface OwBPMVirtualQueueExceptionpublic com.wewebu.ow.server.field.OwSearchTemplate getSearchTemplate()
throws Exception
getSearchTemplate in interface OwBPMVirtualQueueExceptionpublic String getIcon() throws Exception
getIcon in interface OwBPMVirtualQueueExceptionpublic void toggleResubmitFilter()
toggleResubmitFilter in interface OwBPMVirtualQueuepublic boolean isResubmitFilter()
isResubmitFilter in interface OwBPMVirtualQueuepublic void toggleFilter()
toggleFilter in interface OwBPMVirtualQueuepublic void enableFilter(boolean fEnable_p)
enableFilter in interface OwBPMVirtualQueuepublic boolean isFilter()
isFilter in interface OwBPMVirtualQueuepublic boolean isHideIfEmpty()
OwBPMVirtualQueueisHideIfEmpty in interface OwBPMVirtualQueueCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.