private ImageType getImageType(String type) { ImageTypeCollection typeCollection = ims.admin.vo.lookups.LookupHelper.getImageType(this.domain.getLookupService()); for(int x = 0; x < typeCollection.size(); x++) { if (type != null && typeCollection.get(x).getText().toLowerCase().equals(type.toLowerCase()))//wdev-15203 return typeCollection.get(x); } return null; }