mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Audit queries
- Any combination of application (e.g. RM, repo, etc), user and time - TODO: Extend queries to support finding audit entries by arbitrary audited values - TODO: Full map retrieval in single query git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16086 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -408,6 +408,11 @@ public abstract class AbstractPropertyValueDAOImpl implements PropertyValueDAO
|
||||
// 'alf_prop_string_value' accessors
|
||||
//================================
|
||||
|
||||
public Pair<String, Long> getPropertyStringCaseSensitiveSearchParameters(String value)
|
||||
{
|
||||
return CrcHelper.getStringCrcPair(value, 16, false, true);
|
||||
}
|
||||
|
||||
public Pair<Long, String> getPropertyStringValueById(Long id)
|
||||
{
|
||||
if (id == null)
|
||||
@@ -449,7 +454,7 @@ public abstract class AbstractPropertyValueDAOImpl implements PropertyValueDAO
|
||||
{
|
||||
public Pair<String, Long> getValueKey(String value)
|
||||
{
|
||||
return CrcHelper.getStringCrcPair(value, 128, true, true);
|
||||
return getPropertyStringCaseSensitiveSearchParameters(value);
|
||||
}
|
||||
|
||||
public Pair<Long, String> createValue(String value)
|
||||
|
Reference in New Issue
Block a user