- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
lstCmsObject = OpenCms.getOrgUnitManager().getGroups(obj, "/", true);
for (int i = 0; i < lstCmsObject.size(); i++)
{
lstUnits.add(new Units(lstCmsObject.get(i).getDisplayName(obj, Locale.US).replaceAll("Users from ","").replaceAll("[a-zA-Z]*","").replaceAll("[(/)]+",""),lstCmsObject.get(i).getOuFqn()));
}
for (int i = 0; i < lstCmsObject.size(); i++) {
for (int j = 0; j < lstCmsObject.size(); j++) {
if (lstUnits.get(i).GetName().compareTo(lstUnits.get(j).GetName())<0) {
Collections.swap(lstUnits, i, j);
}
}
}