mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
. Added notion of NodeEventListeners to BrowseBean.
. Fix for AWC-519 - Date pickers now show 2 year values into the future by default - for "effectivity date" searches and similar git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2386 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -242,6 +242,18 @@ public class Node implements Serializable
|
||||
this.properties.addPropertyResolver(name, resolver);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns if a property resolver with a specific name has been applied to the Node
|
||||
*
|
||||
* @param name of property resolver to look for
|
||||
*
|
||||
* @return true if a resolver with the name is found, false otherwise
|
||||
*/
|
||||
public final boolean containsPropertyResolver(String name)
|
||||
{
|
||||
return this.properties.containsPropertyResolver(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines whether the given property name is held by this node
|
||||
*
|
||||
|
@@ -34,7 +34,7 @@ import org.apache.commons.logging.LogFactory;
|
||||
public final class QNameNodeMap<K,V> extends QNameMap implements Map, Cloneable
|
||||
{
|
||||
private Node parent = null;
|
||||
private Map<String, NodePropertyResolver> resolvers = new HashMap<String, NodePropertyResolver>(11, 1.0f);
|
||||
private Map<String, NodePropertyResolver> resolvers = new HashMap<String, NodePropertyResolver>(16, 1.0f);
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
@@ -61,6 +61,18 @@ public final class QNameNodeMap<K,V> extends QNameMap implements Map, Cloneable
|
||||
{
|
||||
this.resolvers.put(name, resolver);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns if a property resolver with a specific name has been applied to the map
|
||||
*
|
||||
* @param name of property resolver to look for
|
||||
*
|
||||
* @return true if a resolver with the name is found, false otherwise
|
||||
*/
|
||||
public boolean containsPropertyResolver(String name)
|
||||
{
|
||||
return this.resolvers.containsKey(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see java.util.Map#containsKey(java.lang.Object)
|
||||
|
Reference in New Issue
Block a user