Class RoleEntryBase
- Namespace
- SWConfigDataClientLib.Proxies.Security
- Assembly
- IpPbxCDSClientLib.dll
<CDSClientLib.EntryBaseSummary>
public class RoleEntryBase : SUpdateObject
- Inheritance
-
RoleEntryBase
- Derived
- Inherited Members
Remarks
Thread Safety: safe
Constructors
RoleEntryBase()
public RoleEntryBase()
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
Description
(Max length is 256.)
public virtual string Description { get; set; }
Property Value
Remarks
Thread Safety: safe
DisplayName
(Max length is 100.)
public virtual string DisplayName { get; set; }
Property Value
Remarks
Thread Safety: safe
Hidden
public virtual bool Hidden { get; set; }
Property Value
Remarks
Thread Safety: safe
IsDescriptionNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsDescriptionNull { get; }
Property Value
Remarks
Thread Safety: safe
IsDisplayNameNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsDisplayNameNull { get; }
Property Value
Remarks
Thread Safety: safe
IsHiddenNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsHiddenNull { get; }
Property Value
Remarks
Thread Safety: safe
IsNameNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsNameNull { get; }
Property Value
Remarks
Thread Safety: safe
IsRoleIDNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsRoleIDNull { get; }
Property Value
Remarks
Thread Safety: safe
Name
(Max length is 30.)
public virtual string Name { get; set; }
Property Value
Remarks
Thread Safety: safe
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
RoleID
public virtual int RoleID { get; }
Property Value
Remarks
Thread Safety: safe
RoleMemberEntryCollection
Collection of simple configuration items. (RoleMemberEntry)
public virtual RoleMemberEntryCollection RoleMemberEntryCollection { get; }
Property Value
Remarks
Thread Safety: safe
Methods
ApplyData(RoleEntry)
Applies all data from the Entry object item.
public virtual void ApplyData(RoleEntry entry)
Parameters
entry
RoleEntry
Remarks
Thread Safety: safe
Clone()
Clones the Entry item. The cloned entry is unattached and can not be used for updating.
public virtual RoleEntry Clone()
Returns
- RoleEntry
Cloned entry of type RoleEntryBase.
Remarks
Thread Safety: safe
Dispose()
Dispose
public virtual void Dispose()
Remarks
Thread Safety: safe
SetDefaultValues()
Sets all item attributes to default value.
public virtual void SetDefaultValues()
Remarks
Thread Safety: safe
SetDescriptionNull()
Set item attribute to Null value (DBNull).
public virtual void SetDescriptionNull()
Remarks
Thread Safety: safe
SetDisplayNameNull()
Set item attribute to Null value (DBNull).
public virtual void SetDisplayNameNull()
Remarks
Thread Safety: safe
SetHiddenNull()
Set item attribute to Null value (DBNull).
public virtual void SetHiddenNull()
Remarks
Thread Safety: safe
ToString()
Returns the string representation of the item.
public override string ToString()
Returns
- string
String representation of the item.
Remarks
Thread Safety: safe
Update(bool)
Update data. Retrieves current user data from database or stores them into the database.
public override void Update(bool validateAndSave)
Parameters
validateAndSave
boolif false retrieves data from database. If true save data to database. If the database operation failed the entry will be reinitiated from database.
Remarks
This is a remote method.
ValidateNotNullMembers()
Checks if all attributes have valid values. For example an unset attribtue which doesn't allow null value will cause an Exception.
public virtual void ValidateNotNullMembers()
Remarks
Thread Safety: safe
Verbose()
Returns a string containing alle item attributes. This method can be used for trcaing and debugging.
public virtual string Verbose()
Returns
- string
String containig all item attributes with names and values
Remarks
Thread Safety: safe