public class NodeRefRadixHasher extends Object implements NodeRefHasher
NodeRef
s where the first string is a
stored hash combination for NodeRef
store elements (protocol and id)
and the second is a radix 36 encoded NodeRef
id.Modifier and Type | Field and Description |
---|---|
static NodeRefRadixHasher |
RADIX_36_HASHER |
Constructor and Description |
---|
NodeRefRadixHasher() |
NodeRefRadixHasher(int radix) |
Modifier and Type | Method and Description |
---|---|
org.alfresco.util.Pair<String,String> |
hash(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
org.alfresco.service.cmr.repository.NodeRef |
lookup(org.alfresco.util.Pair<String,String> hash) |
public static final NodeRefRadixHasher RADIX_36_HASHER
public NodeRefRadixHasher()
public NodeRefRadixHasher(int radix)
public org.alfresco.util.Pair<String,String> hash(org.alfresco.service.cmr.repository.NodeRef nodeRef)
hash
in interface NodeRefHasher
public org.alfresco.service.cmr.repository.NodeRef lookup(org.alfresco.util.Pair<String,String> hash)
lookup
in interface NodeRefHasher
Copyright © 2005–2017 Alfresco Software. All rights reserved.