CustomPublicStatusInfoProvider

This class manages the product status lookup table. Methods work with PublicStatusInfo class objects, replaced by object in method headers. Provider implements following methods:

 

object GetPublicStatusInfo(int publicStatusId) Returns the PublicStatusInfo object with given ID.
object GetPublicStatusInfo(string publicStatusName) Returns the PublicStatusInfo object with given name.
void SetPublicStatusInfo(object publicStatus) Updates/inserts the publis status record with data from given PublisStatusInfo object. If StatusID is set, updates, else inserts a new record.
void DeletePublicStatusInfo(int publicStatusId) Deletes specified public status record.
DataSet GetStatuses(object status) Returns the DataSet of all the public statuses with given status.
bool CheckDependencies(int publicStatusId) Returns true if some objects depend on given status.

 

See database reference or PublicStatusInfo class definition for the PublicStatusInfo object details.