/** * Sets the group Parent.<p> * * @param groupParent the group Parent to set */ public void setGroupParent(String groupParent) { m_groupParent = OpenCms.getImportExportManager().translateGroup(groupParent); }
/** * Sets the group Parent.<p> * * @param groupParent the group Parent to set */ public void setGroupParent(String groupParent) { m_groupParent = OpenCms.getImportExportManager().translateGroup(groupParent); }
/** * Sets the group Name.<p> * * @param groupName the name to set */ public void setGroupName(String groupName) { m_groupName = OpenCms.getImportExportManager().translateGroup(groupName); }
/** * Sets the group Name.<p> * * @param groupName the name to set */ public void setGroupName(String groupName) { m_groupName = OpenCms.getImportExportManager().translateGroup(groupName); }
/** * Sets the group Name.<p> * * @param groupName the name to set */ public void setGroupName(String groupName) { m_groupName = OpenCms.getImportExportManager().translateGroup(groupName); }
/** * Sets the group Parent.<p> * * @param groupParent the group Parent to set */ public void setGroupParent(String groupParent) { m_groupParent = OpenCms.getImportExportManager().translateGroup(groupParent); }
/** * Changes the access control for a given resource and a given principal(user/group). * * @param resourceName name of the resource * @param principalType the type of the principal (group or user) * @param principalName name of the principal * @param permissionString the permissions in the format ((+|-)(r|w|v|c|i))* * @throws CmsException if something goes wrong * @see CmsObject#chacc(String, String, String, String) */ public void chacc(String resourceName, String principalType, String principalName, String permissionString) throws CmsException { m_cms.lockResource(resourceName); if (I_CmsPrincipal.PRINCIPAL_GROUP.equalsIgnoreCase(principalType.trim())) { principalName = OpenCms.getImportExportManager().translateGroup(principalName); } else { principalName = OpenCms.getImportExportManager().translateUser(principalName); } m_cms.chacc(resourceName, principalType, principalName, permissionString); }
/** * Changes the access control for a given resource and a given principal(user/group). * * @param resourceName name of the resource * @param principalType the type of the principal (group or user) * @param principalName name of the principal * @param permissionString the permissions in the format ((+|-)(r|w|v|c|i))* * @throws CmsException if something goes wrong * @see CmsObject#chacc(String, String, String, String) */ public void chacc(String resourceName, String principalType, String principalName, String permissionString) throws CmsException { m_cms.lockResource(resourceName); if (I_CmsPrincipal.PRINCIPAL_GROUP.equalsIgnoreCase(principalType.trim())) { principalName = OpenCms.getImportExportManager().translateGroup(principalName); } else { principalName = OpenCms.getImportExportManager().translateUser(principalName); } m_cms.chacc(resourceName, principalType, principalName, permissionString); }
currentElement = (Element)groupNodes.get(i); name = getChildElementTextValue(currentElement, A_CmsImport.N_NAME); name = OpenCms.getImportExportManager().translateGroup(name); description = getChildElementTextValue(currentElement, A_CmsImport.N_DESCRIPTION); flags = getChildElementTextValue(currentElement, A_CmsImport.N_FLAGS); parentgroup = getChildElementTextValue(currentElement, A_CmsImport.N_PARENTGROUP); if ((parentgroup != null) && (parentgroup.length() > 0)) { parentgroup = OpenCms.getImportExportManager().translateGroup(parentgroup);
currentElement = (Element)groupNodes.get(i); name = getChildElementTextValue(currentElement, A_CmsImport.N_NAME); name = OpenCms.getImportExportManager().translateGroup(name); description = getChildElementTextValue(currentElement, A_CmsImport.N_DESCRIPTION); flags = getChildElementTextValue(currentElement, A_CmsImport.N_FLAGS); parentgroup = getChildElementTextValue(currentElement, A_CmsImport.N_PARENTGROUP); if ((parentgroup != null) && (parentgroup.length() > 0)) { parentgroup = OpenCms.getImportExportManager().translateGroup(parentgroup);
Element currentGroup = (Element)groupNodes.get(j); String userInGroup = getChildElementTextValue(currentGroup, A_CmsImport.N_NAME); userInGroup = OpenCms.getImportExportManager().translateGroup(userInGroup); userGroups.add(userInGroup);
return; groupName = OpenCms.getImportExportManager().translateGroup(groupName); try { String ouName = CmsOrganizationalUnit.getParentFqn(groupName);
Element currentGroup = (Element)groupNodes.get(j); String userInGroup = getChildElementTextValue(currentGroup, A_CmsImport.N_NAME); userInGroup = OpenCms.getImportExportManager().translateGroup(userInGroup); userGroups.add(userInGroup);
return; groupName = OpenCms.getImportExportManager().translateGroup(groupName); try { String ouName = CmsOrganizationalUnit.getParentFqn(groupName);
return; groupName = OpenCms.getImportExportManager().translateGroup(groupName); try { String ouName = CmsOrganizationalUnit.getParentFqn(groupName);
if (key.startsWith(I_CmsPrincipal.PRINCIPAL_GROUP)) { principal = OpenCms.getImportExportManager().translateGroup(principal); try { principalId = cms.readGroup(principal).getId();
String principal = acePrincipalId.substring(acePrincipalId.indexOf('.') + 1, acePrincipalId.length()); if (acePrincipalId.startsWith(I_CmsPrincipal.PRINCIPAL_GROUP)) { principal = OpenCms.getImportExportManager().translateGroup(principal); principalId = getCms().readGroup(principal).getId(); } else if (acePrincipalId.startsWith(I_CmsPrincipal.PRINCIPAL_USER)) {
String principal = acePrincipalId.substring(acePrincipalId.indexOf('.') + 1, acePrincipalId.length()); if (acePrincipalId.startsWith(I_CmsPrincipal.PRINCIPAL_GROUP)) { principal = OpenCms.getImportExportManager().translateGroup(principal); principalId = getCms().readGroup(principal).getId(); } else if (acePrincipalId.startsWith(I_CmsPrincipal.PRINCIPAL_USER)) {
String principal = acePrincipalId.substring(acePrincipalId.indexOf('.') + 1, acePrincipalId.length()); if (acePrincipalId.startsWith(I_CmsPrincipal.PRINCIPAL_GROUP)) { principal = OpenCms.getImportExportManager().translateGroup(principal); principalId = getCms().readGroup(principal).getId(); } else if (acePrincipalId.startsWith(I_CmsPrincipal.PRINCIPAL_USER)) {
principal = OpenCms.getImportExportManager().translateGroup(principal); try { CmsGroup group = cms.readGroup(principal);