Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

Wasabi.Data.Employee

persistent class Wasabi.Data.Employee extends Wasabi.Data.Person

SQL Table Name: Wasabi_Data.Employee

Property Inventory

Method Inventory

Properties

property Active as %Boolean [ InitialExpression = 1 ];
Property methods: ActiveDisplayToLogical(), ActiveGet(), ActiveGetStored(), ActiveIsValid(), ActiveLogicalToDisplay(), ActiveNormalize(), ActiveSet()
property Email as Wasabi.Common.DT.Email;
Property methods: EmailDisplayToLogical(), EmailGet(), EmailGetStored(), EmailIsValid(), EmailLogicalToDisplay(), EmailLogicalToOdbc(), EmailNormalize(), EmailSet()
property HireDate as %Date;
Property methods: HireDateDisplayToLogical(), HireDateGet(), HireDateGetStored(), HireDateIsValid(), HireDateLogicalToDisplay(), HireDateLogicalToOdbc(), HireDateNormalize(), HireDateOdbcToLogical(), HireDateSet()
property Jobs as list of Wasabi.Data.Job;
Property methods: JobsBuildValueArray(), JobsCollectionToDisplay(), JobsCollectionToOdbc(), JobsDisplayToCollection(), JobsGet(), JobsGetObject(), JobsGetObjectId(), JobsGetStored(), JobsGetSwizzled(), JobsIsValid(), JobsOdbcToCollection(), JobsSet(), JobsSetObject(), JobsSetObjectId()
property Location as Wasabi.Data.AddressPersistent;
Property methods: LocationGet(), LocationGetObject(), LocationGetObjectId(), LocationGetStored(), LocationGetSwizzled(), LocationIsValid(), LocationNewObject(), LocationSet(), LocationSetObject(), LocationSetObjectId(), LocationUnSwizzle()
property Manager as Wasabi.Data.Employee;
Property methods: ManagerGet(), ManagerGetObject(), ManagerGetObjectId(), ManagerGetStored(), ManagerGetSwizzled(), ManagerIsValid(), ManagerNewObject(), ManagerSet(), ManagerSetObject(), ManagerSetObjectId(), ManagerUnSwizzle()
property Picture as %Stream.GlobalBinary;
Property methods: PictureDelete(), PictureGet(), PictureGetObject(), PictureGetObjectId(), PictureGetStored(), PictureGetSwizzled(), PictureIsValid(), PictureNewObject(), PictureOid(), PictureOpen(), PictureSet(), PictureSetObject(), PictureSetObjectId(), PictureUnSwizzle()
property SSN as %String [ Required ];
Property methods: SSNDisplayToLogical(), SSNGet(), SSNGetStored(), SSNIsValid(), SSNLogicalToDisplay(), SSNLogicalToOdbc(), SSNNormalize(), SSNSet()
property SeparationDate as %Date;
Property methods: SeparationDateDisplayToLogical(), SeparationDateGet(), SeparationDateGetStored(), SeparationDateIsValid(), SeparationDateLogicalToDisplay(), SeparationDateLogicalToOdbc(), SeparationDateNormalize(), SeparationDateOdbcToLogical(), SeparationDateSet()

Methods

classmethod Add(employee As Wasabi.Person.API.Person)
method CopyFrom(employee As Wasabi.Person.API.Employee)
classmethod GetMatches(lastname As %String = "", firstname As %String = "") as %ResultSet.SQL
classmethod GetOne(id As %String) as Wasabi.Person.API.Person
classmethod Terminate(employee As Wasabi.Person.API.Employee)
classmethod Update(employee As Wasabi.Person.API.Person)

Indexes

index (SSNIndex on SSN) [Unique];
Index methods: SSNIndexCheck(), SSNIndexCheckUnique(), SSNIndexDelete(), SSNIndexExists(), SSNIndexOpen(), SSNIndexSQLCheckUnique(), SSNIndexSQLExists(), SSNIndexSQLFindPKeyByConstraint(), SSNIndexSQLFindRowIDByConstraint()

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: CacheStorage (Wasabi.Data.Person)

^Wasabi.Data.PersonD(ID,"Addresses",n)
=
Addresses(n)

Storage Model: CacheStorage (Wasabi.Data.Person)

^Wasabi.Data.PersonD(ID)
=
%%CLASSNAME
LastName
FirstName
MiddleInitial
DOB
Title
Suffix
Gender
UserName
Password
PhoneNumberSerials

Storage Model: CacheStorage (Wasabi.Data.Employee)

^Wasabi.Data.PersonD(ID,"Employee")
=
SSN
Jobs
Manager
HireDate
SeparationDate
Location
Email
Picture
Active

Subclasses

FeedbackOpens in a new tab