Added multi-select for property values

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2009-09-27 20:57:47 +00:00
parent fb895d06a8
commit ac71c4f7d7
7 changed files with 252 additions and 0 deletions

View File

@@ -215,6 +215,15 @@ public interface PropertyValueDAO
//================================
// 'alf_prop_root' accessors
//================================
/**
* A callback for handling return properties
*/
public interface PropertyFinderCallback
{
public void handleProperty(Long id, Serializable value);
}
/**
* Use for accessing non-unique, exploded properties; see interface comments.
* <p/>
@@ -225,6 +234,16 @@ public interface PropertyValueDAO
* @throws DataIntegrityViolationException if the ID is invalid
*/
Serializable getPropertyById(Long id);
/**
* Use for accessing non-unique, exploded properties; see interface comments.
* <p/>
* <b>alf_prop_root</b> accessor: get all properties based on the database IDs
*
* @param ids the IDs (may not be <tt>null</tt>; may be empty)
* @param callback the callback to handle the results
* @throws DataIntegrityViolationException if any of the the IDs are invalid
*/
void getPropertiesByIds(List<Long> ids, PropertyFinderCallback callback);
/**
* Use for accessing non-unique, exploded properties; see interface comments.
* <p/>