Support 'alf_prop_string_value'

- Simple ID-string table
 - Non-unique and case-sensitive, but with re-use of entries as far as possible


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15430 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2009-07-27 13:55:08 +00:00
parent e7e001ed69
commit fc2e47a119
10 changed files with 477 additions and 53 deletions

View File

@@ -34,9 +34,33 @@ import org.alfresco.util.Pair;
*/
public interface PropertyValueDAO
{
Pair<Long, Class<?>> getPropertyClass(Class<?> clazz);
/**
* <b>alf_prop_class</b> accessor
*/
Pair<Long, Class<?>> getPropertyClass(Long id);
Pair<Long, Class<?>> getOrCreatePropertyClass(Class<?> clazz);
/**
* <b>alf_prop_class</b> accessor
*/
Pair<Long, Class<?>> getPropertyClass(Class<?> value);
/**
* <b>alf_prop_class</b> accessor
*/
Pair<Long, Class<?>> getOrCreatePropertyClass(Class<?> value);
/**
* <b>alf_prop_string_value</b> accessor
*/
Pair<Long, String> getPropertyStringValue(Long id);
/**
* <b>alf_prop_string_value</b> accessor
*/
Pair<Long, String> getPropertyStringValue(String value);
/**
* <b>alf_prop_string_value</b> accessor
*/
Pair<Long, String> getOrCreatePropertyStringValue(String value);
}