com.wewebu.ow.server.dmsdialogs.views
Class OwObjectListView.OwFilterEntry

java.lang.Object
  extended by com.wewebu.ow.server.dmsdialogs.views.OwObjectListView.OwFilterEntry
Enclosing class:
OwObjectListView

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


Field Summary
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 Summary
OwObjectListView.OwFilterEntry(OwFieldDefinition info_p, int iOperator_p)
           
OwObjectListView.OwFilterEntry(OwFieldDefinition info_p, OwFieldDefinitionProvider fieldDefinitionProvider_p, String sResourceName_p, int iOperator_p)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERSIST_NODE_NAME

protected static final String PERSIST_NODE_NAME
DOM name for persistence see get/setPersistentNode()

See Also:
Constant Field Values

PERSIST_ACTIVE_ATTR_NAME

protected static final String PERSIST_ACTIVE_ATTR_NAME
DOM name for persistence see get/setPersistentNode()

See Also:
Constant Field Values
Constructor Detail

OwObjectListView.OwFilterEntry

public OwObjectListView.OwFilterEntry(OwFieldDefinition info_p,
                                      OwFieldDefinitionProvider fieldDefinitionProvider_p,
                                      String sResourceName_p,
                                      int iOperator_p)
                               throws Exception
Parameters:
info_p -
fieldDefinitionProvider_p -
sResourceName_p -
iOperator_p -
Throws:
Exception

OwObjectListView.OwFilterEntry

public OwObjectListView.OwFilterEntry(OwFieldDefinition info_p,
                                      int iOperator_p)
                               throws Exception
Parameters:
info_p -
iOperator_p -
Throws:
Exception
Method Detail

setOperator

public void setOperator(int iOperator_p)
                 throws Exception
set the operator of the criteria

Parameters:
iOperator_p - as defined in OwSearchOperator.CRIT_OP_...
Throws:
Exception

isActive

public boolean isActive()
get active flag


toggle

public void toggle()
toggle active state


setActive

public void setActive(boolean fActive_p)
enable / disable filter


getSearchNode

public OwSearchNode getSearchNode()
the search node this filter works with


setPersistentNode

public void setPersistentNode(Node entryNode_p)
                       throws Exception
set a XML node that persists the current state of the criteria

Throws:
Exception

getPersistentNode

public Element getPersistentNode(Document doc_p)
                          throws Exception
get a XML node that persists the current state of the criteria and that can be used with setPersistentNode() to recreate the state

Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.