/** * Returns the project manager group name.<p> * * @return the projects manager group name * * @deprecated use {@link #getGroupManagersName(CmsObject)} instead */ public String getManagerGroupName() { return getManagerGroupId().toString(); }
/** * Returns the project manager group name.<p> * * @param cms the current cms context * * @return the projects manager group name */ public String getGroupManagersName(CmsObject cms) { try { return CmsPrincipal.readPrincipalIncludingHistory(cms, getManagerGroupId()).getName(); } catch (CmsException e) { return getManagerGroupId().toString(); } }
/** * Returns the project manager group name.<p> * * @param cms the current cms context * * @return the projects manager group name */ public String getGroupManagersName(CmsObject cms) { try { return CmsPrincipal.readPrincipalIncludingHistory(cms, getManagerGroupId()).getName(); } catch (CmsException e) { return getManagerGroupId().toString(); } }
while (itGroups.hasNext()) { CmsGroup group = (CmsGroup)itGroups.next(); if (project.getManagerGroupId().equals(group.getId())) { found = true; break;
while (itGroups.hasNext()) { CmsGroup group = itGroups.next(); if (project.getManagerGroupId().equals(group.getId())) { found = true; break;
/** * @see org.opencms.file.CmsProject#clone() */ @Override public Object clone() { return new CmsHistoryProject( m_publishTag, getUuid(), getName(), getDescription(), getOwnerId(), getGroupId(), getManagerGroupId(), getDateCreated(), getType(), m_datePublished, m_userPublished, m_projectResources); }
/** * @see org.opencms.file.CmsProject#clone() */ @Override public Object clone() { return new CmsHistoryProject( m_publishTag, getUuid(), getName(), getDescription(), getOwnerId(), getGroupId(), getManagerGroupId(), getDateCreated(), getType(), m_datePublished, m_userPublished, m_projectResources); }
cms.readUser(project.getOwnerId()).getName()); item.getItemProperty(CmsProjectsTable.PROP_MANAGER).setValue( cms.readGroup(project.getManagerGroupId()).getSimpleName()); item.getItemProperty(CmsProjectsTable.PROP_USER).setValue( cms.readGroup(project.getGroupId()).getSimpleName());