Class Reference
Cache for UNIX 2018.1.3
InterSystems: The power behind what matters   
Documentation  Search
Private  Storage  

persistent class %BI.BlogPost extends %Persistent, %BI.Adaptor, %XML.Adaptor

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
8 2


Summary

Properties
Blog Category Comment DateTime PostMessage
PostUser SubCategory Title

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 %OnAfterSave %OnBeforeAddToSync
%OnDelete %OnDetermineClass %Open %OpenId
%OriginalNamespace %PackageName %PhysicalAddress %PurgeIndices
%Reload %RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack
%Save %SaveDirect %SaveIndices %SerializeObject
%SetModified %SortBegin %SortEnd %SyncObjectIn
%SyncTransport %UnlockExtent %UnlockId %ValidateIndices
%ValidateObject DrillDownData DrillDownList HiDebug
HiRebuild ListData ListHeader SaveAIData
SelectBuild SimQueryData SpeedOnAfterSave SpeedOnDelete
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType
zzBuild zzBuildDebug zzBuildOne zzBuildProcess
zzCompress zzDeleteAllIdx zzDeleteCondition zzFastRebuild
zzInitProc zzQBuildOne zzSBuild zzSBuildProcess
zzTime zzTimeRanges


Properties

• relationship Blog as %BI.Blog [ Inverse = Post,Cardinality = parent ];
• property Category as %String(TRUNCATE=1);
• relationship Comment as %BI.BlogComment [ Inverse = Post,Cardinality = children ];
• property DateTime as %String(MAXLEN=100,TRUNCATE=1);
• property PostMessage as %String(MAXLEN=25000,TRUNCATE=1);
• property PostUser as %String(MAXLEN=250,TRUNCATE=1);
• property SubCategory as %String(TRUNCATE=1);
• property Title as %String(MAXLEN=250,TRUNCATE=1);

Queries

• query ByBlogId(BlogID)
SQL Query :
SELECT ID,PostUser,DateTime,Title,PostMessage,Category FROM BlogPost WHERE Blog->ID=:BlogID
• query ListAll()
SQL Query :
SELECT Category FROM BlogPost


Copyright © 1997-2020, InterSystems Corporation