HS.Data.MimeTypes
persistent class HS.Data.MimeTypes extends %Library.Persistent, HS.Sync.BaseClass, %XML.Adaptor, %Library.GlobalIdentifier
SQL Table Name: HS_Data.MimeTypes
Property Inventory
Method Inventory
Parameters
parameter XMLIGNOREINVALIDTAG = 1;
If XMLIGNOREINVALIDTAG is set = 1, then unexpected elements will be ignored.
We use this to allow our web services to be extensible and to work across version boundaries.
With this set to one, we can, for instance, update the hub/registry to a new version, where some of the
xml messages have new properties, and have that communicate with a gateway running a previous version,
where the properties aren't there.
parameter XMLIGNORENULL = inputonly;
If XMLIGNORENULL is set = "inputonly", then both missing tags in the XML and empty
strings are input as "". Output of "" and $c(0) are for XMLIGNORENULL = 0:
$c(0) is output as an empty tag (i.e. <tag></tag>) and "" is output as no tag.
parameter XMLNAME = MimeTypes;
Inherited description: This parameter provides the default XMLNAME for the class. If it is
empty then the class name will be used to construct a default XML name.
The default XMLNAME is used as the top level tag
when exporting objects and the export context
did not provide an XML container name.
Properties
property Extension as %String (MAXLEN = 20);
Extension without the leading period (i.e. "xml" not ".xml")
Property methods: ExtensionDisplayToLogical(), ExtensionGet(), ExtensionGetStored(), ExtensionIsValid(), ExtensionLogicalToDisplay(), ExtensionLogicalToOdbc(), ExtensionNormalize(), ExtensionSet()
property MimeType as %String (MAXLEN = 255);
Mime type in lower case
Property methods: MimeTypeDisplayToLogical(), MimeTypeGet(), MimeTypeGetStored(), MimeTypeIsValid(), MimeTypeLogicalToDisplay(), MimeTypeLogicalToOdbc(), MimeTypeNormalize(), MimeTypeSet()
property Preferred as %Boolean;
Use preferred to deal with multiple extensions or mime types
Property methods: PreferredDisplayToLogical(), PreferredGet(), PreferredGetStored(), PreferredIsValid(), PreferredLogicalToDisplay(), PreferredLogicalToXSD(), PreferredNormalize(), PreferredSet(), PreferredXSDToLogical()
Methods
classmethod LoadDefaultValues(pFileName="") as %Status
Indexes
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %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()
- %InitExtentData()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %OverrideGuidAssignment()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- GetGlobalInfo()
- GetSQLTableName()
- SyncTables()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
Storage
Storage Model: Storage (HS.Data.MimeTypes)
^HS.Data.MimeTypesD(ID) |
= | %%CLASSNAME
Extension
MimeType
Preferred
|