public abstract class GroupManager extends EntityManager
Modifier and Type | Field and Description |
---|---|
protected boolean |
create |
org.apache.directory.api.ldap.model.entry.Entry |
entry |
ItemValue<Group> |
group |
domainAliases
Constructor and Description |
---|
GroupManager(java.util.List<java.lang.String> domainAliases,
org.apache.directory.api.ldap.model.entry.Entry entry) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
entityEnhancerHooks() |
protected abstract Parameters |
getDirectoryParameters() |
protected abstract java.util.List<java.lang.String> |
getEmails() |
protected abstract java.lang.String |
getExternalId(ImportStatus importStatus) |
protected abstract LdapSearchCursor |
getGroupGroupMembers(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.lang.String memberDn) |
java.util.ArrayList<UuidMapper> |
getGroupGroupsMembersUuid(org.apache.directory.ldap.client.api.LdapConnection ldapCon) |
protected abstract LdapSearchCursor |
getGroupUserMembers(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.lang.String memberDn) |
java.util.ArrayList<UuidMapper> |
getGroupUsersMembersUuid(org.apache.directory.ldap.client.api.LdapConnection ldapCon) |
protected abstract java.util.Optional<UuidMapper> |
getGroupUuidMapper(org.apache.directory.api.ldap.model.entry.Entry memberEntry) |
java.util.ArrayList<UuidMapper> |
getMembershipUuid(org.apache.directory.ldap.client.api.LdapConnection ldapCon) |
protected abstract java.util.Optional<UuidMapper> |
getUserUuidMapper(org.apache.directory.api.ldap.model.entry.Entry memberEntry) |
protected abstract java.lang.String |
groupMemberAttribute() |
protected abstract java.lang.String |
groupMemberOfAttribute() |
protected void |
manageEmails(java.util.List<java.lang.String> groupEmails) |
protected abstract void |
manageInfos() |
protected abstract void |
setName(ImportStatus importStatus) |
void |
update(ImportStatus importStatus,
ItemValue<Group> currentGroup) |
void |
update(ItemValue<Group> currentGroup) |
getAttributesValues, getAttributeValue, getDefaultLocalEmail, getEmailLeftPart, getEmailRightParts, isLocalEmail, mergeEmailRightParts
protected boolean create
public final org.apache.directory.api.ldap.model.entry.Entry entry
public GroupManager(java.util.List<java.lang.String> domainAliases, org.apache.directory.api.ldap.model.entry.Entry entry)
protected abstract java.lang.String getExternalId(ImportStatus importStatus)
protected abstract void setName(ImportStatus importStatus)
protected abstract void manageInfos() throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
protected abstract java.util.List<java.lang.String> getEmails()
protected abstract void entityEnhancerHooks()
protected abstract Parameters getDirectoryParameters()
public void update(ItemValue<Group> currentGroup) throws ServerFault
ServerFault
public void update(ImportStatus importStatus, ItemValue<Group> currentGroup)
protected void manageEmails(java.util.List<java.lang.String> groupEmails)
public java.util.ArrayList<UuidMapper> getMembershipUuid(org.apache.directory.ldap.client.api.LdapConnection ldapCon) throws ServerFault
ServerFault
public java.util.ArrayList<UuidMapper> getGroupGroupsMembersUuid(org.apache.directory.ldap.client.api.LdapConnection ldapCon) throws ServerFault
ServerFault
public java.util.ArrayList<UuidMapper> getGroupUsersMembersUuid(org.apache.directory.ldap.client.api.LdapConnection ldapCon) throws ServerFault
ServerFault
protected abstract java.lang.String groupMemberOfAttribute()
protected abstract java.lang.String groupMemberAttribute()
protected abstract LdapSearchCursor getGroupGroupMembers(org.apache.directory.ldap.client.api.LdapConnection ldapCon, java.lang.String memberDn) throws org.apache.directory.api.ldap.model.exception.LdapInvalidDnException, org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
org.apache.directory.api.ldap.model.exception.LdapException
protected abstract LdapSearchCursor getGroupUserMembers(org.apache.directory.ldap.client.api.LdapConnection ldapCon, java.lang.String memberDn) throws org.apache.directory.api.ldap.model.exception.LdapInvalidDnException, org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
org.apache.directory.api.ldap.model.exception.LdapException
protected abstract java.util.Optional<UuidMapper> getGroupUuidMapper(org.apache.directory.api.ldap.model.entry.Entry memberEntry)
protected abstract java.util.Optional<UuidMapper> getUserUuidMapper(org.apache.directory.api.ldap.model.entry.Entry memberEntry)
Copyright © 2021. All Rights Reserved.