Mercurial > hg > openmind
diff src/main/java/org/mpi/openmind/cache/WrapperService.java @ 58:153a0232270b
cleanup and better comments.
author | casties |
---|---|
date | Fri, 09 Dec 2016 21:19:21 +0100 |
parents | b7a8db041f68 |
children | 58659e865279 |
line wrap: on
line diff
--- a/src/main/java/org/mpi/openmind/cache/WrapperService.java Thu Dec 08 15:39:26 2016 +0100 +++ b/src/main/java/org/mpi/openmind/cache/WrapperService.java Fri Dec 09 21:19:21 2016 +0100 @@ -421,13 +421,13 @@ } /** - * Returns a list of attributes by objectClass of the entity, the att Name - * and its value. + * Returns a sorted list of attributes by def (=objectClass) of the entity, the att Name + * and its (normalized) value. * * @param def * @param attName * @param attValue - * sub string and ignores case sensitive. + * case insensitive sub string match. * @param maxResults * @return */ @@ -470,6 +470,16 @@ return list; } + /** + * Returns a list of attributes by def (=objectClass) of the entity, the att Name + * and its (normalized) value. + * + * @param def + * @param attName + * @param attValue + * @param maxResults + * @return + */ private List<Attribute> getAttributesByDefByAttName0(String def, String attName, String attValue, int maxResults) { List<Attribute> list = new ArrayList<Attribute>();