Skip to main content

Ens.StreamContainer

persistent class Ens.StreamContainer extends %Library.Persistent, Ens.Util.MessageBodyMethods, %XML.Adaptor

SQL Table Name: Ens.StreamContainer

This class is a persistent object that transparently encapsulates any type of persistable stream object

Property Inventory

Method Inventory

Properties

property Attributes as array of %String);
An array of strings containing any attribute values
Property methods: AttributesBuildValueArray(), AttributesCollectionToDisplay(), AttributesCollectionToOdbc(), AttributesDisplayToCollection(), AttributesDisplayToLogical(), AttributesGet(), AttributesGetObject(), AttributesGetObjectId(), AttributesGetStored(), AttributesGetSwizzled(), AttributesIsValid(), AttributesLogicalToDisplay(), AttributesLogicalToOdbc(), AttributesNormalize(), AttributesOdbcToCollection(), AttributesSet(), AttributesSetObject(), AttributesSetObjectId()
property OriginalFilename as %String);
Property methods: OriginalFilenameDisplayToLogical(), OriginalFilenameGet(), OriginalFilenameGetStored(), OriginalFilenameIsValid(), OriginalFilenameLogicalToDisplay(), OriginalFilenameLogicalToOdbc(), OriginalFilenameNormalize(), OriginalFilenameSet()
property Stream as %Stream.Object [ Calculated , Transient ];
Property methods: StreamDelete()
property Type as %String (MAXLEN = 2) [ ReadOnly ];
Property methods: TypeDisplayToLogical(), TypeGet(), TypeGetStored(), TypeIsValid(), TypeLogicalToDisplay(), TypeLogicalToOdbc(), TypeNormalize()

Methods

method SetAttributes(ByRef pAttributes)
Set values into the Attributes array property Pass in an array object, a COS array, a COS array reference, a %AbstractStream with its own Attributes to copy from, a %Net.HttpResponse object with its own Headers to copy from, or a string of the form 'a=1,b=2,c=3'.
method StreamGet() as %Stream.Object
method StreamSet(pInput As %Stream.Object) as %Status

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Triggers

trigger OnDelete (BEFORE event DELETE);

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (Ens.StreamContainer)

^Ens.StreamContainerD(ID,"Attributes",n)
=
Attributes(n)

Storage Model: CacheStorage (Ens.StreamContainer)

^Ens.StreamContainerD(ID)
=
%%CLASSNAME
OriginalFilename
StreamFB
StreamFC
StreamGB
StreamGC
Type
StreamCF
StreamBF
StreamCG
StreamBG
FileCharEncodingTable
CharEncodingTable

Subclasses

FeedbackOpens in a new tab