}
public SelectItem[] getArchitectures() {
Subject subject = EnterpriseFacesContextUtility.getSubject();
ContentManagerLocal contentManager = LookupUtil.getContentManager();
List<Architecture> architectures = contentManager.findArchitectures(subject);
SelectItem[] items = new SelectItem[architectures.size()];
int itemCounter = 0;
for (Architecture arch : architectures) {
SelectItem item = new SelectItem(arch.getId(), arch.getName());