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.DynamicValueSelectList Class Reference
Inheritance diagram for web2ldap.app.schema.syntaxes.DynamicValueSelectList:
[legend]
Collaboration diagram for web2ldap.app.schema.syntaxes.DynamicValueSelectList:
[legend]

Public Member Functions

def __init__ (self, app, str dn, schema, str attrType, bytes attr_value, entry=None)
 
str display (self, vidx, links)
 
Dict[str, strget_attr_value_dict (self)
 
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.SelectList
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)
 

Public Attributes

 lu_obj
 
 min_len
 

Static Public Attributes

 str
 
tuple ignored_errors
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.SelectList
 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 _filterstr (self)
 
def _search_ref (self, str attr_value)
 
bool _validate (self, bytes attr_value)
 
str _search_root (self)
 

Detailed Description

Plugin base class for attribute value select lists of LDAP syntax DirectoryString
constructed and validated by internal LDAP search.

Definition at line 1917 of file syntaxes.py.

Constructor & Destructor Documentation

◆ __init__()

def web2ldap.app.schema.syntaxes.DynamicValueSelectList.__init__ (   self,
  app,
str  dn,
  schema,
str  attrType,
bytes  attr_value,
  entry = None 
)

Member Function Documentation

◆ _filterstr()

◆ _search_ref()

◆ _search_root()

◆ _validate()

◆ display()

◆ get_attr_value_dict()

Dict[str, str] web2ldap.app.schema.syntaxes.DynamicValueSelectList.get_attr_value_dict (   self)

Reimplemented from web2ldap.app.schema.syntaxes.SelectList.

Reimplemented in web2ldap.app.plugins.aedir.AEGroupMember.

Definition at line 2041 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.aedir.AENwDevice._filterstr(), web2ldap.app.plugins.aedir.AEGroupMember._filterstr(), web2ldap.app.plugins.aedir.AESrvGroup._filterstr(), web2ldap.app.plugins.aedir.AEProxyFor._filterstr(), web2ldap.app.plugins.aedir.AEPerson._filterstr(), web2ldap.app.plugins.aedir.AEPersonMailaddress._filterstr(), web2ldap.app.plugins.aedir.AEOathHOTPToken._filterstr(), web2ldap.app.schema.syntaxes.DynamicValueSelectList._filterstr(), web2ldap.app.plugins.aedir.AERootDynamicDNSelectList._search_root(), web2ldap.app.plugins.aedir.AENwDevice._search_root(), web2ldap.app.plugins.aedir.AESameZoneObject._search_root(), web2ldap.app.schema.syntaxes.DynamicValueSelectList._search_root(), web2ldap.app.schema.syntaxes.DynamicValueSelectList.ignored_errors, web2ldap.app.schema.syntaxes.DynamicValueSelectList.lu_obj, and web2ldap.app.plugins.sudoers.SudoUserGroup.value_prefix.

Referenced by web2ldap.app.schema.syntaxes.SelectList._sorted_select_options(), web2ldap.app.plugins.aedir.AEPersonMailaddress._validate(), web2ldap.app.schema.syntaxes.SelectList._validate(), web2ldap.app.schema.syntaxes.SelectList.display(), and web2ldap.app.schema.syntaxes.SelectList.input_field().

Member Data Documentation

◆ ignored_errors

tuple web2ldap.app.schema.syntaxes.DynamicValueSelectList.ignored_errors
static
Initial value:
= (
ldap0.NO_SUCH_OBJECT,
ldap0.SIZELIMIT_EXCEEDED,
ldap0.TIMELIMIT_EXCEEDED,
ldap0.PARTIAL_RESULTS,
ldap0.INSUFFICIENT_ACCESS,
ldap0.CONSTRAINT_VIOLATION,
ldap0.REFERRAL,
)

Definition at line 1926 of file syntaxes.py.

Referenced by web2ldap.app.plugins.aedir.AEGroupMember.get_attr_value_dict(), and web2ldap.app.schema.syntaxes.DynamicValueSelectList.get_attr_value_dict().

◆ lu_obj

◆ min_len

web2ldap.app.schema.syntaxes.DynamicValueSelectList.min_len

◆ str

web2ldap.app.schema.syntaxes.DynamicValueSelectList.str
static

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