Class UserPrimaryCollection
- Namespace
- SWConfigDataClientLib.Proxies.IppbxServer
- Assembly
- IpPbxCDSClientLib.dll
Collection of primary configuration items. The primary configuration item is UserEntry. This class is generated.
[DefaultMember("Item")]
public class UserPrimaryCollection : SArrayListFacade
- Inheritance
-
UserPrimaryCollection
- Inherited Members
Constructors
UserPrimaryCollection()
standard constructor
public UserPrimaryCollection()
UserPrimaryCollection(bool)
public UserPrimaryCollection(bool sync)
Parameters
syncbool
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
this[int]
Get the item per index
public virtual UserEntry this[int Index] { get; set; }
Parameters
Indexint
Property Value
- UserEntry
UserEntry
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
Valid
True if is valid data object
public virtual bool Valid { get; }
Property Value
Methods
Add(UserEntry)
Adds the item to the collection.
public virtual void Add(UserEntry entry)
Parameters
entryUserEntryEntry to be added.
Remarks
The item will not be stored in database directly. To effect the database use the method update() of UserFacade.
Add(UserPrimaryCollection)
Adds the item to the collection.
public virtual void Add(UserPrimaryCollection Collection)
Parameters
CollectionUserPrimaryCollection
Remarks
The item will not be stored in database. To effect the database use members of .
ContainsEntryInLocalCollectionByAutoLoginPhone(string)
Checks is the item with AutoLoginPhone = key in collection.
public virtual bool ContainsEntryInLocalCollectionByAutoLoginPhone(string key)
Parameters
keystringAutoLoginPhone
Returns
- bool
Returns true if collection contains item with the given key.
ContainsEntryInLocalCollectionByH323Alias(string)
Checks is the item with H323Alias = key in collection.
public virtual bool ContainsEntryInLocalCollectionByH323Alias(string key)
Parameters
keystringH323Alias
Returns
- bool
Returns true if collection contains item with the given key.
ContainsEntryInLocalCollectionByLanPhonePin(string)
Checks is the item with LanPhonePin = key in collection.
public virtual bool ContainsEntryInLocalCollectionByLanPhonePin(string key)
Parameters
keystringLanPhonePin
Returns
- bool
Returns true if collection contains item with the given key.
ContainsEntryInLocalCollectionByLoginID(Guid)
Checks is the item with LoginID = key in collection.
public virtual bool ContainsEntryInLocalCollectionByLoginID(Guid key)
Parameters
keyGuidLoginID
Returns
- bool
Returns true if collection contains item with the given key.
ContainsEntryInLocalCollectionByName(string)
Checks is the item with Name = key in collection.
public virtual bool ContainsEntryInLocalCollectionByName(string key)
Parameters
keystringName
Returns
- bool
Returns true if collection contains item with the given key.
ContainsObjectByPrimaryKey(int)
Checks if the item, identified by the primary key, is in this collection.
Element of primary key.public virtual bool ContainsObjectByPrimaryKey(int UserID)
Parameters
UserIDint
Returns
- bool
True if entry is in collection, otherwise false.
CreateSortableFilterCollection()
Creates a sortable collection containing all current entries of this collection.
public virtual UserEntrySortableCollection CreateSortableFilterCollection()
Returns
- UserEntrySortableCollection
Sortable collection with optional filter methods.
GetEntryFromLocalCollectionByAutoLoginPhone(string)
Retrieves the item with AutoLoginPhone = key from this collection.
public virtual UserEntry GetEntryFromLocalCollectionByAutoLoginPhone(string key)
Parameters
keystringAutoLoginPhone
Returns
- UserEntry
Entry from collection
Exceptions
- Exception
Will be thrown if item is not in collection.
GetEntryFromLocalCollectionByH323Alias(string)
Retrieves the item with H323Alias = key from this collection.
public virtual UserEntry GetEntryFromLocalCollectionByH323Alias(string key)
Parameters
keystringH323Alias
Returns
- UserEntry
Entry from collection
Exceptions
- Exception
Will be thrown if item is not in collection.
GetEntryFromLocalCollectionByLanPhonePin(string)
Retrieves the item with LanPhonePin = key from this collection.
public virtual UserEntry GetEntryFromLocalCollectionByLanPhonePin(string key)
Parameters
keystringLanPhonePin
Returns
- UserEntry
Entry from collection
Exceptions
- Exception
Will be thrown if item is not in collection.
GetEntryFromLocalCollectionByLoginID(Guid)
Retrieves the item with LoginID = key from this collection.
public virtual UserEntry GetEntryFromLocalCollectionByLoginID(Guid key)
Parameters
keyGuidLoginID
Returns
- UserEntry
Entry from collection
Exceptions
- Exception
Will be thrown if item is not in collection.
GetEntryFromLocalCollectionByName(string)
Retrieves the item with Name = key from this collection.
public virtual UserEntry GetEntryFromLocalCollectionByName(string key)
Parameters
keystringName
Returns
- UserEntry
Entry from collection
Exceptions
- Exception
Will be thrown if item is not in collection.
GetObjectByPrimaryKey(int)
Gets the item identified by the primary key from this collection.
Primary key of item.public virtual UserEntry GetObjectByPrimaryKey(int UserID)
Parameters
UserIDint
Returns
- UserEntry
Entry
Remove(UserEntry)
Removes the item from the collection.
public virtual void Remove(UserEntry entry)
Parameters
entryUserEntryEntry to be removed.
Remarks
The item will not be deleted in database directly. To effect the database use update(true) of .