Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

ZENApp.Data.Incident

persistent class ZENApp.Data.Incident extends %Library.Persistent, %Library.Populate

SQL Table Name: ZENApp_Data.Incident

This represents a customer support incident with the sample HelpDesk application.

Property Inventory

Method Inventory

Properties

property AssignedTo as Employee;
Employee to whom the incident is assigned.
Property methods: AssignedToGet(), AssignedToGetObject(), AssignedToGetObjectId(), AssignedToGetStored(), AssignedToGetSwizzled(), AssignedToIsValid(), AssignedToNewObject(), AssignedToSet(), AssignedToSetObject(), AssignedToSetObjectId(), AssignedToUnSwizzle()
property Comments as %String (MAXLEN = 5000, POPSPEC = ".MakeComment()");
Comments related to this incident.
Property methods: CommentsDisplayToLogical(), CommentsGet(), CommentsGetStored(), CommentsIsValid(), CommentsLogicalToDisplay(), CommentsLogicalToOdbc(), CommentsNormalize(), CommentsSet()
property CreateDate as %Date (FORMAT = 3, POPSPEC = ".MakeDate()");
Date on which this incident happened.
Property methods: CreateDateDisplayToLogical(), CreateDateGet(), CreateDateGetStored(), CreateDateIsValid(), CreateDateLogicalToDisplay(), CreateDateLogicalToOdbc(), CreateDateNormalize(), CreateDateOdbcToLogical(), CreateDateSet()
property Customer as Customer;
Customer who logged the incident.
Property methods: CustomerGet(), CustomerGetObject(), CustomerGetObjectId(), CustomerGetStored(), CustomerGetSwizzled(), CustomerIsValid(), CustomerNewObject(), CustomerSet(), CustomerSetObject(), CustomerSetObjectId(), CustomerUnSwizzle()
property Priority as Priority;
Priority of this incident.
Property methods: PriorityGet(), PriorityGetObject(), PriorityGetObjectId(), PriorityGetStored(), PriorityGetSwizzled(), PriorityIsValid(), PriorityNewObject(), PrioritySet(), PrioritySetObject(), PrioritySetObjectId(), PriorityUnSwizzle()

Methods

classmethod BuildData()
Build sample data for the application
method MakeComment() as %String
Return random comment for data population.
method MakeDate() as %Date
Return random date for data population.

Indexes

index ($Incident on ) [Extent, Type = bitmap];
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (IdxAssignedTo on AssignedTo) [Type = bitmap];
index (IdxCustomer on Customer) [Type = bitmap];
index (IdxDate on CreateDate) [Type = bitmap];
index (IdxPriority on Priority) [Type = bitmap];

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (ZENApp.Data.Incident)

^ZENApp.Data.IncidentD(ID)
=
%%CLASSNAME
CreateDate
Customer
Priority
AssignedTo
Comments
FeedbackOpens in a new tab