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

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by com.wewebu.ow.server.dmsdialogs.views.OwObjectListView.OwFilter
All Implemented Interfaces:
Serializable, Cloneable, Map
Enclosing class:
OwObjectListView

public static class OwObjectListView.OwFilter
extends HashMap

A map of filter settings.

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

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
protected  String m_sID
          ID of this filter for persistence
protected static String PERSIST_ENTRY_NAME_ATTR_NAME
          DOM name for
protected static String PERSIST_FILTER_NODE_NAME
          DOM name for persistence
 
Constructor Summary
OwObjectListView.OwFilter(String sID_p)
          create filter
 
Method Summary
 OwObjectListView.OwFilterEntry getFilterEntry(String strProperty_p)
          get a single filter setting
 OwSearchNode getFilterSearch()
          get the current filter search node to filter with
 void load(OwAttributeBagWriteable persistentAttributeBagWriteable_p)
          set this filter from the given attribute bag
 void save(OwAttributeBagWriteable persistentAttributeBagWriteable_p)
          persist this filter to the given attribute bag
 void setActive(String strProperty_p, boolean fActive_p)
          enable / disable filter
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

m_sID

protected String m_sID
ID of this filter for persistence


PERSIST_FILTER_NODE_NAME

protected static final String PERSIST_FILTER_NODE_NAME
DOM name for persistence

See Also:
Constant Field Values

PERSIST_ENTRY_NAME_ATTR_NAME

protected static final String PERSIST_ENTRY_NAME_ATTR_NAME
DOM name for

See Also:
Constant Field Values
Constructor Detail

OwObjectListView.OwFilter

public OwObjectListView.OwFilter(String sID_p)
create filter

Method Detail

setActive

public void setActive(String strProperty_p,
                      boolean fActive_p)
               throws OwObjectNotFoundException
enable / disable filter

Throws:
OwObjectNotFoundException

getFilterEntry

public OwObjectListView.OwFilterEntry getFilterEntry(String strProperty_p)
                                              throws OwObjectNotFoundException
get a single filter setting

Parameters:
strProperty_p - String filter property
Returns:
OwFilterEntry
Throws:
OwObjectNotFoundException

getFilterSearch

public OwSearchNode getFilterSearch()
                             throws Exception
get the current filter search node to filter with

Returns:
OwSearchNode or null if no filter is set
Throws:
Exception

save

public void save(OwAttributeBagWriteable persistentAttributeBagWriteable_p)
          throws Exception
persist this filter to the given attribute bag

Parameters:
persistentAttributeBagWriteable_p - OwAttributeBagWriteable
Throws:
Exception

load

public void load(OwAttributeBagWriteable persistentAttributeBagWriteable_p)
          throws Exception
set this filter from the given attribute bag

Parameters:
persistentAttributeBagWriteable_p - OwAttributeBagWriteable
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.