public static class OwObjectListView.OwFilterEntry extends Object
Single filter setting.
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
Modifier and Type | Field and Description |
---|---|
protected static String |
PERSIST_ACTIVE_ATTR_NAME
DOM name for persistence see get/setPersistentNode()
|
protected static String |
PERSIST_NODE_NAME
DOM name for persistence see get/setPersistentNode()
|
Constructor and Description |
---|
OwObjectListView.OwFilterEntry(OwFieldDefinition info_p,
int iOperator_p) |
OwObjectListView.OwFilterEntry(OwFieldDefinition info_p,
OwFieldDefinitionProvider fieldDefinitionProvider_p,
String sResourceName_p,
int iOperator_p) |
Modifier and Type | Method and Description |
---|---|
Element |
getPersistentNode(Document doc_p)
get a XML node that persists the current state of the criteria
and that can be used with setPersistentNode() to recreate the state
|
OwSearchNode |
getSearchNode()
the search node this filter works with
|
boolean |
isActive()
get active flag
|
void |
setActive(boolean fActive_p)
enable / disable filter
|
void |
setOperator(int iOperator_p)
set the operator of the criteria
|
void |
setPersistentNode(Node entryNode_p)
set a XML node that persists the current state of the criteria
|
void |
toggle()
toggle active state
|
protected static final String PERSIST_ACTIVE_ATTR_NAME
protected static final String PERSIST_NODE_NAME
public OwObjectListView.OwFilterEntry(OwFieldDefinition info_p, int iOperator_p) throws Exception
info_p
- iOperator_p
- Exception
public OwObjectListView.OwFilterEntry(OwFieldDefinition info_p, OwFieldDefinitionProvider fieldDefinitionProvider_p, String sResourceName_p, int iOperator_p) throws Exception
info_p
- fieldDefinitionProvider_p
- sResourceName_p
- iOperator_p
- Exception
public Element getPersistentNode(Document doc_p) throws Exception
Exception
public OwSearchNode getSearchNode()
public boolean isActive()
public void setActive(boolean fActive_p)
public void setOperator(int iOperator_p) throws Exception
iOperator_p
- as defined in OwSearchOperator.CRIT_OP_...Exception
public void setPersistentNode(Node entryNode_p) throws Exception
Exception
public void toggle()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.