Skip to main content

%MFT.ItemInfo

Class %MFT.ItemInfo Extends (%Persistent, %XML.Adaptor) [ System = 4 ]

%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.

Properties

Name

Property Name As %String(MAXLEN = 256);

The name of the file or folder item.

Container

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.

Type

Property Type As %Integer;

The type of the item: $$$MFTfile or $$$MFTfolder.

ItemId

Property ItemId As %String;

The internal item id for this item.

Modified

Property Modified As %TimeStamp;

Modified As %DateTime is the creation time of the item in UTC.

ModifiedBy

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.

Details

Property Details As %String(MAXLEN = "");

Details As %DynamicObject is the service specific dynamic object containing specialized information for this service converted to JSON.

Methods

GetPath

Method GetPath(trailingSlash As %Boolean = 1) As %String [ CodeMode = expression ]

Get path of this item