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:
Derek Hulley
2009-09-04 00:34:28 +00:00
parent 4f60e2608d
commit 034027961d
26 changed files with 843 additions and 212 deletions

View File

@@ -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)