Wasabi.Data.Customer
persistent class Wasabi.Data.Customer extends Wasabi.Data.Person
SQL Table Name: Wasabi_Data.Customer
Property Inventory
Method Inventory
Properties
property CompanyName as %String;
Property methods: CompanyNameDisplayToLogical(), CompanyNameGet(), CompanyNameGetStored(), CompanyNameIsValid(), CompanyNameLogicalToDisplay(), CompanyNameLogicalToOdbc(), CompanyNameNormalize(), CompanyNameSet()
property ContactEmailAddress as Wasabi.Common.DT.Email;
Property methods: ContactEmailAddressDisplayToLogical(), ContactEmailAddressGet(), ContactEmailAddressGetStored(), ContactEmailAddressIsValid(), ContactEmailAddressLogicalToDisplay(), ContactEmailAddressLogicalToOdbc(), ContactEmailAddressNormalize(), ContactEmailAddressSet()
property CustomerNumber as %Integer [ Required ];
Property methods: CustomerNumberDisplayToLogical(), CustomerNumberGet(), CustomerNumberGetStored(), CustomerNumberIsValid(), CustomerNumberLogicalToDisplay(), CustomerNumberNormalize(), CustomerNumberSet()
Methods
classmethod Add(cust As Wasabi.Person.API.Person)
method CopyFrom(cust As Wasabi.Person.API.Customer)
classmethod GetMatches(lastname As %String = "", firstname As %String = "") as %ResultSet.SQL
classmethod GetOne(id As %String) as Wasabi.Person.API.Person
classmethod Update(cust As Wasabi.Person.API.Person)
Indexes
index (CustomerNumberIndex on CustomerNumber) [Unique];
Index methods: CustomerNumberIndexCheck(), CustomerNumberIndexCheckUnique(), CustomerNumberIndexDelete(), CustomerNumberIndexExists(), CustomerNumberIndexOpen(), CustomerNumberIndexSQLCheckUnique(), CustomerNumberIndexSQLExists(), CustomerNumberIndexSQLFindPKeyByConstraint(), CustomerNumberIndexSQLFindRowIDByConstraint()
Inherited Members
Inherited Properties
- Addresses
- Age
- DOB
- FirstName
- FullName
- Gender
- LastName
- MiddleInitial
- Password
- PhoneNumberSerials
- Suffix
- Title
- UserName
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- CreateRandomAddress()
- CreateRandomPhoneNumberSerial()
- PasswordSet()
- Validate()
Storage
Gray indicates storage defined by superclasses.
Storage Model: CacheStorage (Wasabi.Data.Person)
^Wasabi.Data.PersonD(ID,"Addresses",n) | = | Addresses(n) |
^Wasabi.Data.PersonD(ID) | = | %%CLASSNAME
LastName
FirstName
MiddleInitial
DOB
Title
Suffix
Gender
UserName
Password
PhoneNumberSerials
|
^Wasabi.Data.PersonD(ID,"Customer") | = | CustomerNumber
CompanyName
ContactEmailAddress
|