Ens.DTL.UI.DTLDocument
stream class Ens.DTL.UI.DTLDocument extends Ens.Util.AbstractDocument
Abstract Document used to load DTL diagrams into Studio.Property Inventory (Including Private)
Method Inventory (Including Private)
- Exists()
- ExportToXML()
- GetDTLStream()
- GetTransform()
- GetURL()
- ImportFromXML()
- Save()
- SaveDTLToClass()
Parameters
parameter DOCUMENTCLASS = Ens.DataTransformDTL;
If set, name of superclass used for documents of this type.
For example, Ens.DataTransformDTL
For example, Ens.DataTransformDTL
parameter EDITORURL = EnsPortal.DTLEditor.zen;
URL to use to get actual editor for Studio to display.
parameter EXTENSION = .dtl;
Inherited description: File extension used for this document (e.g., .dtl)
Properties (Including Private)
property ImportFlag as %Boolean [ Private , InitialExpression = 0 ];
Property methods: ImportFlagDisplayToLogical(), ImportFlagGet(), ImportFlagIsValid(), ImportFlagLogicalToDisplay(), ImportFlagNormalize(), ImportFlagSet()
Methods (Including Private)
Return 1 if the given DTL document exists and 0 if it does not.
Export this document to the current device in XML format
classmethod GetDTLStream(Output pStream As %Stream.Object, pClassName As %String, ByRef pDesc As %String) as %Status [ Language = objectscript ]
Find the DTL definition (as a stream) for the given
DTL class; return "" if not found.
Also returns Description for this class
Also returns Description for this class
classmethod GetTransform(Output pTransform As Ens.DTL.Transform, pClassName As %String) as %Status [ Language = objectscript ]
Get DTL info for a class
method ImportFromXML(stream As %RegisteredObject, flags As %String) as %Status [ Language = objectscript ]
Passed a stream containing the XML document, this method should insert this
into the current document. Once this is done the importer will call Save
on the document. This default handler in assumes the export ExportToXML()
just wrote the data in a CDATA structure
method Save() as %Status [ Language = objectscript ]
Deserialize the DTL Diagram and save it as a DTL class.
classmethod SaveDTLToClass(pClassName As %String, pDTL As %Stream.Object) as %Status [ Language = objectscript ]
Save the given DTL document to the specified class' XDATA block.
If class does not exist, create a new one
Inherited Members
Inherited Properties (Including Private)
- %Concurrency
- %Location
- AtEnd
- Attributes
- Code
- CompileTime
- Generated
- Id
- LastModified
- LineTerminator
- Locked
- Mode
- Name
- Size
- TimeStamp
- UpToDate
Inherited Methods (Including Private)
- %AcquireLock()
- %AddToSaveSet()
- %CheckUnique()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %Delete()
- %DeleteData()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GetLockReference()
- %GetParameter()
- %GetSerial()
- %GetSwizzleObject()
- %Id()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %LOBPrefetch()
- %LOBPrefetchInternal()
- %Load()
- %LoadData()
- %LocationSet()
- %LockStream()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %ObjectSize()
- %ObjectSizeInternal()
- %Oid()
- %OnAddToSaveSet()
- %OnAfterSave()
- %OnBeforeSave()
- %OnClose()
- %OnConstructClone()
- %OnDelete()
- %OnNew()
- %OnOpen()
- %OnReload()
- %OnRollBack()
- %OnValidateObject()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %ReleaseLock()
- %Reload()
- %RemoveFromSaveSet()
- %RollBack()
- %Save()
- %SaveData()
- %SerializeObject()
- %SetModified()
- %SetSerial()
- %UnlockStream()
- %ValidateObject()
- AtEndGet()
- AtEndSet()
- Clear()
- Compile()
- CompileDocument()
- CompileTime()
- CompileTimeGet()
- CopyFrom()
- CopyFromAndSave()
- Delete()
- DeleteAttribute()
- DeleteStream()
- FindAt()
- Flush()
- GetAttribute()
- GetAttributeList()
- GetCSPApp()
- GetClassName()
- GetOther()
- GetPrevious()
- GetStreamId()
- HasExtension()
- IODeleteStream()
- IOFlush()
- IOGetSize()
- IOGetStreamId()
- IOInit()
- IOMoveToEnd()
- IOOnClose()
- IOOnNew()
- IOOpenStream()
- IOReadData()
- IORewind()
- IOSaveStream()
- IOWriteData()
- InputFromDevice()
- IsCharacter()
- IsDefinedAttribute()
- IsEnabled()
- IsGenerated()
- IsMapped()
- IsNull()
- IsUpToDate()
- ItemList()
- LastModifiedGet()
- LineTerminatorSet()
- ListClose()
- ListExecute()
- ListFetch()
- Load()
- LocalizeDescription()
- Lock()
- LockName()
- MoveTo()
- MoveToEnd()
- NextAttribute()
- OpenStream()
- OutputToDevice()
- OutputToDeviceAt()
- Read()
- ReadLine()
- ReadLineIntoStream()
- ReadSQL()
- Rewind()
- SaveAs()
- SaveStream()
- Search()
- SearchRegex()
- SerializeToSyncSet()
- SetAttribute()
- SetAttributeList()
- SizeGet()
- StreamOIDIsNull()
- SyncStreamIn()
- TimeStamp()
- TimeStampGet()
- TranslateExportName()
- Unlock()
- UnlockName()
- UpToDateGet()
- Write()
- WriteLine()
- checkMatch()
- escapeCData()
- escapeCDataStream()
- unescapeCData()