Class SubstitutedNumberEntry
- Namespace
- SWConfigDataClientLib.Proxies.Groups
- Assembly
- IpPbxCDSClientLib.dll
<CDSClientLib.SubEntrySummary>
public class SubstitutedNumberEntry : SObject
- Inheritance
-
SubstitutedNumberEntry
- Inherited Members
Remarks
Thread Safety: safe
Constructors
SubstitutedNumberEntry()
public SubstitutedNumberEntry()
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
GroupID
public virtual int GroupID { get; set; }
Property Value
Remarks
Thread Safety: safe
InternalNumberID
public virtual int InternalNumberID { get; set; }
Property Value
Remarks
Thread Safety: safe
IsGroupIDNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsGroupIDNull { get; }
Property Value
Remarks
Thread Safety: safe
IsInternalNumberIDNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsInternalNumberIDNull { get; }
Property Value
Remarks
Thread Safety: safe
IsSubstitutedNumberIDNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsSubstitutedNumberIDNull { get; }
Property Value
Remarks
Thread Safety: safe
ParentEntry
The parent entry.
public virtual GroupEntry ParentEntry { get; }
Property Value
Remarks
Thread Safety: safe
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
SubstitutedNumberID
public virtual int SubstitutedNumberID { get; }
Property Value
Remarks
Thread Safety: safe
Methods
ApplyData(SubstitutedNumberEntry)
Applies all data from the Entry object item.
public virtual void ApplyData(SubstitutedNumberEntry entry)
Parameters
entry
SubstitutedNumberEntry
Remarks
Thread Safety: safe
Clone()
Clones the Entry item. The cloned entry is unattached and can not be used for updating.
public virtual SubstitutedNumberEntry Clone()
Returns
- SubstitutedNumberEntry
Cloned entry of type SubstitutedNumberEntry.
Remarks
Thread Safety: safe
Dispose()
Dispose
public virtual void Dispose()
Remarks
Thread Safety: safe
GetInternalNumber(InternalNumbersWithOwnersViewPrimaryCollection)
Retrieves the internal number of this number.
public string GetInternalNumber(InternalNumbersWithOwnersViewPrimaryCollection view)
Parameters
view
InternalNumbersWithOwnersViewPrimaryCollectionCollection of internal numbers with owner information
Returns
- string
The internal number. If the given view is not containing the internal number an empty string will be returned
GetOwnerName(InternalNumbersWithOwnersViewPrimaryCollection)
Retrieves the name of the owner of the number.
public string GetOwnerName(InternalNumbersWithOwnersViewPrimaryCollection view)
Parameters
view
InternalNumbersWithOwnersViewPrimaryCollectionCollection of internal numbers with owner information
Returns
- string
The name of the owner. If the given view is not containing the internal number an empty string will be returned
GetPublicNumberList(InternalNumbersWithOwnersViewPrimaryCollection)
Retrieves the list of public number.
public string GetPublicNumberList(InternalNumbersWithOwnersViewPrimaryCollection view)
Parameters
view
InternalNumbersWithOwnersViewPrimaryCollectionCollection of internal numbers with owner information
Returns
- string
The list of public numbers sperated by ','. If the given view is not containing the internal number an empty string will be returned
IsOwnerGroup(InternalNumbersWithOwnersViewPrimaryCollection)
Returns true if the owner of the number is a group.
public bool IsOwnerGroup(InternalNumbersWithOwnersViewPrimaryCollection view)
Parameters
view
InternalNumbersWithOwnersViewPrimaryCollectionCollection of internal numbers with owner information
Returns
- bool
True/False. If the given view is not containing the internal number the value false will be returned
SetDefaultValues()
Sets all item attributes to default value.
public virtual void SetDefaultValues()
Remarks
Thread Safety: safe
SetGroupIDNull()
Set item attribute to Null value (DBNull).
public virtual void SetGroupIDNull()
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
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