/** * Returns the projects user group name.<p> * * @return the projects user group name * * @deprecated use {@link #getGroupUsersName(CmsObject)} instead */ public String getGroupName() { return getGroupId().toString(); }
/** * Returns the projects user group name.<p> * * @param cms the current cms context * * @return the projects user group name */ public String getGroupUsersName(CmsObject cms) { try { return CmsPrincipal.readPrincipalIncludingHistory(cms, getGroupId()).getName(); } catch (CmsException e) { return getGroupId().toString(); } }
/** * Returns the projects user group name.<p> * * @param cms the current cms context * * @return the projects user group name */ public String getGroupUsersName(CmsObject cms) { try { return CmsPrincipal.readPrincipalIncludingHistory(cms, getGroupId()).getName(); } catch (CmsException e) { return getGroupId().toString(); } }
/** * @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.readGroup(project.getManagerGroupId()).getSimpleName()); item.getItemProperty(CmsProjectsTable.PROP_USER).setValue( cms.readGroup(project.getGroupId()).getSimpleName()); } catch (CmsException e) {