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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
OwObjectListView.OwFilter(String sID_p)
create filter
|
Modifier and Type | Method and Description |
---|---|
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
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
protected static final String PERSIST_ENTRY_NAME_ATTR_NAME
protected static final String PERSIST_FILTER_NODE_NAME
protected String m_sID
public OwObjectListView.OwFilter(String sID_p)
public OwObjectListView.OwFilterEntry getFilterEntry(String strProperty_p) throws OwObjectNotFoundException
strProperty_p
- String filter propertyOwObjectNotFoundException
public OwSearchNode getFilterSearch() throws Exception
Exception
public void load(OwAttributeBagWriteable persistentAttributeBagWriteable_p) throws Exception
persistentAttributeBagWriteable_p
- OwAttributeBagWriteableException
public void save(OwAttributeBagWriteable persistentAttributeBagWriteable_p) throws Exception
persistentAttributeBagWriteable_p
- OwAttributeBagWriteableException
public void setActive(String strProperty_p, boolean fActive_p) throws OwObjectNotFoundException
OwObjectNotFoundException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.