Skip to main content

%MFT.ItemInfo

persistent class %MFT.ItemInfo extends %Library.Persistent, %XML.Adaptor

SQL Table Name: %MFT.ItemInfo

%MFT.ItemInfo is a detailed description of a file or folder. Note: Even though this class is in IRISLIB, the storage is in the namespace which creates the instance.

Property Inventory

Method Inventory

Properties

property Container as %String (MAXLEN = 2048);
The path of the containing folder. This path may not be available for some services. In that case a relative path is returned.Container may not be available under certain circumstances.
Property methods: ContainerDisplayToLogical(), ContainerGet(), ContainerGetStored(), ContainerIsValid(), ContainerLogicalToDisplay(), ContainerLogicalToOdbc(), ContainerNormalize(), ContainerSet()
property Details as %String);
Details As %DynamicObject is the service specific dynamic object containing specialized information for this service converted to JSON.
Property methods: DetailsDisplayToLogical(), DetailsGet(), DetailsGetStored(), DetailsIsValid(), DetailsLogicalToDisplay(), DetailsLogicalToOdbc(), DetailsNormalize(), DetailsSet()
property ItemId as %String;
The internal item id for this item.
Property methods: ItemIdDisplayToLogical(), ItemIdGet(), ItemIdGetStored(), ItemIdIsValid(), ItemIdLogicalToDisplay(), ItemIdLogicalToOdbc(), ItemIdNormalize(), ItemIdSet()
property Modified as %TimeStamp;
Modified As %DateTime is the creation time of the item in UTC.
Property methods: ModifiedDisplayToLogical(), ModifiedGet(), ModifiedGetStored(), ModifiedIsValid(), ModifiedLogicalToDisplay(), ModifiedLogicalToXSD(), ModifiedNormalize(), ModifiedOdbcToLogical(), ModifiedSet(), ModifiedXSDToLogical()
property ModifiedBy as %String (MAXLEN = 300);
The internal id of the user that last modified the item. The GetUsername method must be called to retrieve the external username.
Property methods: ModifiedByDisplayToLogical(), ModifiedByGet(), ModifiedByGetStored(), ModifiedByIsValid(), ModifiedByLogicalToDisplay(), ModifiedByLogicalToOdbc(), ModifiedByNormalize(), ModifiedBySet()
property Name as %String (MAXLEN = 256);
The name of the file or folder item.
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Type as %Integer;
The type of the item: $$$MFTfile or $$$MFTfolder.
Property methods: TypeDisplayToLogical(), TypeGet(), TypeGetStored(), TypeIsValid(), TypeLogicalToDisplay(), TypeNormalize(), TypeSet(), TypeXSDToLogical()

Methods

method GetPath(trailingSlash As %Boolean = 1) as %String
Get path of this item

Indexes

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

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (%MFT.ItemInfo)

^MFT.ItemInfoD(ID)
=
%%CLASSNAME
Name
Container
Type
ItemId
Modified
ModifiedBy
Details
FeedbackOpens in a new tab