LdapGroupValues.javaprojectforge-business/src/main/java/org/projectforge/business/ldap/LdapGroupValues.java containing Java code for the LDAP Integration layer.Package: org.projectforge.business.ldap
Classes: LdapGroupValues
Implements: Serializable
Methods (4): isValuesEmpty, isPosixValuesEmpty, getGidNumber, setGidNumber
Fields (2): serialVersionUID, gidNumber
Imports: 3 packages
package org.projectforge.business.ldap;
import org.projectforge.framework.persistence.user.entities.GroupDO;
import org.projectforge.framework.xmlstream.XmlObject;
import java.io.Serializable;
/**
* Bean used for serialization and deserialization of the ldap values as xml string in {@link GroupDO#getLdapValues()} ConfigXML
* (config.xml).
* @author Kai Reinhard (k.reinhard@micromata.de)
*/
@XmlObject(alias = "values")
public class LdapGroupValues implements Serializable
{
private static final long serialVersionUID = 812898869519604597L;
private Integer gidNumber = null;
public boolean isValuesEmpty()
{
return isPosixValuesEmpty();
}
public boolean isPosixValuesEmpty()
{
return getGidNumber() == null;
}
public Integer getGidNumber()
{
return gidNumber;
}
public LdapGroupValues setGidNumber(final Integer gidNumber)
{
this.gidNumber = gidNumber;
return this;
}
}
868d6abb7 2025 -> 2026 63081666f Source file headers: 2024-> 2025. b6092df09 Copyright 2023 -> 2024 ab45d51fa Copyright 2001-2022 -> 2001-2023. 5f7ef41b8 Copyright 2021 -> 2022