Revision 4776
Added by daigle over 15 years ago
OrganizationUtil.java | ||
---|---|---|
53 | 53 |
Vector<String> shortOrgNames = new Vector<String>(); |
54 | 54 |
Vector<String> longOrgNames = null; |
55 | 55 |
|
56 |
longOrgNames = PropertyService.getPropertyNamesByGroup("organization.org");
|
|
56 |
longOrgNames = PropertyService.getPropertyNamesByGroup("organization.name");
|
|
57 | 57 |
|
58 | 58 |
for (String longName : longOrgNames) { |
59 |
shortOrgNames.add(longName.substring(17));
|
|
59 |
shortOrgNames.add(longName.substring(18));
|
|
60 | 60 |
} |
61 | 61 |
return shortOrgNames; |
62 | 62 |
} |
Also available in: Unified diff
Get the organization list from org.name.<orgname>= property. Add these values back into metacat.properties.