web2ldap  1.7.7
About: web2ldap is a full-featured web-based LDAPv3 client.
  Fossies Dox: web2ldap-1.7.7.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

web2ldap.app.schema.syntaxes.SelectList Class Reference
Inheritance diagram for web2ldap.app.schema.syntaxes.SelectList:
[legend]
Collaboration diagram for web2ldap.app.schema.syntaxes.SelectList:
[legend]

Public Member Functions

Dict[str, strget_attr_value_dict (self)
 
str display (self, vidx, links)
 
web_forms.Field input_field (self)
 
str display (self, vidx, links)
 
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.LDAPSyntax
def __init__ (self, app, Optional[str] dn, SubSchema schema, Optional[str] attrType, Optional[bytes] attr_value, entry=None)
 
def dn (self)
 
def av_u (self)
 
bytes sanitize (self, bytes attr_value)
 
List[bytes] transmute (self, List[bytes] attr_values)
 
def validate (self, bytes attr_value)
 
str value_button (self, command, row, mode, link_text=None)
 
str form_value (self)
 
def input_fields (self)
 
web_forms.Field input_field (self)
 
str display (self, vidx, links)
 

Static Public Attributes

 str
 
 bool
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.DirectoryString
 str
 
string html_tmpl = '{av}'
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.LDAPSyntax
 str
 
 int
 
 bool
 

Private Member Functions

def _sorted_select_options (self)
 
bool _validate (self, bytes attr_value)
 

Detailed Description

Base class for dictionary based select lists which
should not be used directly

Definition at line 1802 of file syntaxes.py.

Member Function Documentation

◆ _sorted_select_options()

◆ _validate()

bool web2ldap.app.schema.syntaxes.SelectList._validate (   self,
bytes  attr_value 
)
private
check the syntax of attr_value

Implementors can overload this method to apply arbitrary syntax checks.

Reimplemented from web2ldap.app.schema.syntaxes.DirectoryString.

Reimplemented in web2ldap.app.plugins.aedir.AEGroupMember, web2ldap.app.plugins.aedir.AEMemberUid, web2ldap.app.plugins.aedir.AEPerson, web2ldap.app.plugins.aedir.AEUserMailaddress, web2ldap.app.plugins.aedir.AEPersonMailaddress, web2ldap.app.plugins.aedir.AEStatus, web2ldap.app.plugins.nis.GidNumber, web2ldap.app.plugins.nis.MemberUID, web2ldap.app.plugins.pgpkeysrv.OtherPgpCertID, web2ldap.app.plugins.ppolicy.PwdAttribute, web2ldap.app.schema.syntaxes.DynamicValueSelectList, web2ldap.app.schema.syntaxes.DynamicDNSelectList, and web2ldap.app.schema.syntaxes.Boolean.

Definition at line 1850 of file syntaxes.py.

References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.activedirectory.CountryCode.get_attr_value_dict(), web2ldap.app.plugins.aedir.AEGroupMember.get_attr_value_dict(), web2ldap.app.plugins.aedir.AEUserMailaddress.get_attr_value_dict(), web2ldap.app.schema.syntaxes.SelectList.get_attr_value_dict(), web2ldap.app.schema.syntaxes.PropertiesSelectList.get_attr_value_dict(), web2ldap.app.schema.syntaxes.DynamicValueSelectList.get_attr_value_dict(), web2ldap.app.schema.syntaxes.Boolean.get_attr_value_dict(), and web2ldap.app.schema.syntaxes.CountryString.get_attr_value_dict().

Referenced by web2ldap.app.schema.syntaxes.Image.sanitize(), and web2ldap.app.schema.syntaxes.LDAPSyntax.validate().

◆ display()

str web2ldap.app.schema.syntaxes.SelectList.display (   self,
  vidx,
  links 
)

Reimplemented from web2ldap.app.schema.syntaxes.DirectoryString.

Reimplemented in web2ldap.app.plugins.activedirectory.ObjectVersion, web2ldap.app.plugins.activedirectory.ClassSchemaLDAPName, web2ldap.app.plugins.activedirectory.AttributeSchemaLDAPName, web2ldap.app.plugins.aedir.AEMemberUid, web2ldap.app.plugins.aedir.AEGroupDN, web2ldap.app.plugins.aedir.AEUserMailaddress, web2ldap.app.plugins.aedir.AEStatus, web2ldap.app.plugins.apple.UUIDReference, web2ldap.app.plugins.dns.ResourceRecord, web2ldap.app.plugins.nis.GidNumber, web2ldap.app.plugins.nis.MemberUID, web2ldap.app.schema.syntaxes.DynamicValueSelectList, web2ldap.app.schema.syntaxes.DynamicDNSelectList, and web2ldap.app.schema.syntaxes.Boolean.

Definition at line 1854 of file syntaxes.py.

References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.activedirectory.Interval.av_u, web2ldap.app.schema.syntaxes.LDAPSyntax.av_u(), web2ldap.app.schema.syntaxes.SelectList.bool, web2ldap.app.plugins.activedirectory.CountryCode.get_attr_value_dict(), web2ldap.app.plugins.aedir.AEGroupMember.get_attr_value_dict(), web2ldap.app.plugins.aedir.AEUserMailaddress.get_attr_value_dict(), web2ldap.app.schema.syntaxes.SelectList.get_attr_value_dict(), web2ldap.app.schema.syntaxes.PropertiesSelectList.get_attr_value_dict(), web2ldap.app.schema.syntaxes.DynamicValueSelectList.get_attr_value_dict(), web2ldap.app.schema.syntaxes.Boolean.get_attr_value_dict(), and web2ldap.app.schema.syntaxes.CountryString.get_attr_value_dict().

◆ get_attr_value_dict()

◆ input_field()

web_forms.Field web2ldap.app.schema.syntaxes.SelectList.input_field (   self)

Reimplemented from web2ldap.app.schema.syntaxes.LDAPSyntax.

Reimplemented in web2ldap.app.plugins.aedir.AEGIDNumber, web2ldap.app.plugins.aedir.AEMemberUid, web2ldap.app.plugins.aedir.AEUserMailaddress, web2ldap.app.plugins.aedir.AERFC822MailMember, web2ldap.app.plugins.apple.UUIDReference, web2ldap.app.plugins.nis.GidNumber, and web2ldap.app.plugins.nis.MemberUID.

Definition at line 1874 of file syntaxes.py.

References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.edirectory.OctetStringGUID._at, web2ldap.app.schema.syntaxes.LDAPSyntax._at, web2ldap.app.schema.syntaxes.SelectList._sorted_select_options(), web2ldap.app.plugins.aedir.AEChildClasses.desc, web2ldap.app.plugins.subentries.AdministrativeRole.desc, web2ldap.app.plugins.activedirectory.ObjectSID.form_value(), web2ldap.app.plugins.activedirectory.LogonHours.form_value(), web2ldap.app.plugins.aedir.AEGIDNumber.form_value(), web2ldap.app.plugins.aedir.AEUserUid.form_value(), web2ldap.app.plugins.aedir.AEMemberUid.form_value(), web2ldap.app.plugins.aedir.AEDerefAttribute.form_value(), web2ldap.app.plugins.aedir.AEUserMailaddress.form_value(), web2ldap.app.plugins.aedir.AEZonePrefixCommonName.form_value(), web2ldap.app.plugins.dhcp.DHCPRange.form_value(), web2ldap.app.plugins.dns.AssociatedDomain.form_value(), web2ldap.app.plugins.opends.OpenDSdsCfgAlternatebindDn.form_value(), web2ldap.app.plugins.openldap.OlcRootDN.form_value(), web2ldap.app.plugins.posixautogen.AutogenNumberMixIn.form_value(), web2ldap.app.plugins.posixautogen.AutogenUIDNumber.form_value(), web2ldap.app.plugins.posixautogen.AutogenGIDNumber.form_value(), web2ldap.app.plugins.samba.SambaSID.form_value(), web2ldap.app.plugins.ucs.UniventionLDAPACLData.form_value(), web2ldap.app.schema.syntaxes.LDAPSyntax.form_value(), web2ldap.app.schema.syntaxes.GeneralizedTime.form_value(), web2ldap.app.schema.syntaxes.NullTerminatedDirectoryString.form_value(), web2ldap.app.schema.syntaxes.OctetString.form_value(), web2ldap.app.schema.syntaxes.MultilineText.form_value(), web2ldap.app.schema.syntaxes.Timespan.form_value(), web2ldap.app.schema.syntaxes.BitArrayInteger.form_value(), web2ldap.app.schema.syntaxes.DNSDomain.form_value(), web2ldap.app.schema.syntaxes.RFC822Address.form_value(), web2ldap.app.schema.syntaxes.ComposedAttribute.form_value(), web2ldap.app.plugins.activedirectory.CountryCode.get_attr_value_dict(), web2ldap.app.plugins.aedir.AEGroupMember.get_attr_value_dict(), web2ldap.app.plugins.aedir.AEUserMailaddress.get_attr_value_dict(), web2ldap.app.schema.syntaxes.SelectList.get_attr_value_dict(), web2ldap.app.schema.syntaxes.PropertiesSelectList.get_attr_value_dict(), web2ldap.app.schema.syntaxes.DynamicValueSelectList.get_attr_value_dict(), web2ldap.app.schema.syntaxes.Boolean.get_attr_value_dict(), web2ldap.app.schema.syntaxes.CountryString.get_attr_value_dict(), web2ldap.app.plugins.aedir.AERootDynamicDNSelectList.input_fallback, web2ldap.app.plugins.aedir.AEGroupMember.input_fallback, web2ldap.app.plugins.aedir.AEMailGroupMember.input_fallback, web2ldap.app.plugins.aedir.AESameZoneObject.input_fallback, web2ldap.app.plugins.aedir.AEUserMailaddress.input_fallback, web2ldap.app.plugins.aedir.AEPersonMailaddress.input_fallback, web2ldap.app.plugins.aedir.AEOathHOTPToken.input_fallback, and web2ldap.app.plugins.aedir.AERemoteHostAEHost.input_fallback.

Referenced by web2ldap.app.schema.syntaxes.LDAPSyntax.input_fields().

Member Data Documentation

◆ bool

web2ldap.app.schema.syntaxes.SelectList.bool
static

Definition at line 1809 of file syntaxes.py.

Referenced by web2ldap.app.schema.syntaxes.SelectList.display().

◆ str

web2ldap.app.schema.syntaxes.SelectList.str
static

Definition at line 1807 of file syntaxes.py.


The documentation for this class was generated from the following file: