Class TImageCollection

Unit

Declaration

type TImageCollection = class(TIDIObject)

Description

TImageCollection

Hierarchy

Overview

Fields

Public _Enumerated: Boolean;

Methods

Public procedure AfterConstruction; override;
Public procedure BeforeDestruction; override;
Public procedure BaseAssign (Source: TObject; AssignClasses: Boolean); override;
Public procedure BuildNewGUIDs;
Public procedure FillFromDataSet (ADataSet: TDBXOMDataSet); override;
Public procedure FetchAll;
Public function TopCollection: TImageCollection;
Public function HasImages (ARecursive: Boolean): Boolean;
Public function AddFolder ( AFolderName: WideString): TImageCollection; virtual;
Public function FindFileName (const AFileName: WideString; const AMediumType: TMediumType; const AMediumName: WideString; const AMediumSerial: Integer; const IncludePathName: Boolean = False; const Recursive: Boolean = False; const ACheckStacks: Boolean = False): TImageItem; virtual;
Public function FindImage (AImageItem: TImageItem): TImageItem; virtual;
Public function CountFileName (const AFileName: WideString; const AMediumType: TMediumType; const AMediumName: WideString; const AMediumSerial: Integer; const IncludePathName: Boolean = False; const Recursive: Boolean = False): Integer; virtual;
Public function FindItem (const AItemGUID: String): TImageItem;
Public function FindCollection (const ACollectionGUID: String): TImageCollection;
Public function FindCollectionSource (const ASource: WideString): TImageCollection;
Public function ContainsGUID (const AGUID: String): Boolean;
Public function FindFile (const AFileName: WideString): TImageItem; virtual;
Public procedure Clear;
Public procedure ReSort;
Public procedure EnumImagesForPeriod (APeriod: TPeriod; var ACollection: TImageCollection);
Public procedure EnumAllImages (ACollection: TImageCollection);
Public procedure Flatten (ATarget: TImageItems = nil);
Public procedure ReadFromFileList (AFileList: TxomStrings);
Public procedure ReadFromFolder ( AFolderName: WideString; const AMask: WideString; ASubsAlso: Boolean = False; AFlat: Boolean = False; AMax: Integer = -1; ARecursiveLevels: Integer = -1; ACurrentLevel: Integer = 1; AReadUpFolder: Boolean = True; AFromDate: TDateTime = 0.0; ADateCheckKind: TDateCheckKind = dckModified);
Public procedure ReadFolder (const AFolderName: WideString; ASubsAlso: Boolean = False);
Public function ParentCollection: TImageCollection;
Public procedure CleanUpParentEntries;
Public procedure CleanUpEmptyFolders;
Public procedure UpdateFileName (AOldItem: TImageItem; const ANewFileName: WideString);
Public procedure DeleteFileName (const AFileName: WideString);
Public procedure UpdateFolderName ( AOldName, ANewName: WideString);

Properties

Public property CollectionSourceSize: Int64 read GetCollectionSourceSize write FCollectionSourceSize;
Public property _CollectionSourceSize: Int64 read FCollectionSourceSize write FCollectionSourceSize;
Public property Gallery: TImageGallery read GetGallery write SetGallery;
Public property IsVirtualCollection: Boolean read GetIsVirtualCollection;
Public property Data: TObject read FData write FData;
Public property LastActive: TObject read FLastActive write FLastActive;
Public property Image: TDataMemoryStream read FImage;
Public property Tag: PtrInt read FTag write FTag;
Published property CreatorGUID: String read FCreatorGUID write FCreatorGUID;
Published property CollectionName: WideString read FCollectionName write FCollectionName;
Published property CollectionDescription: WideString read FCollectionDescription write FCollectionDescription;
Published property CollectionSource: WideString read FCollectionSource write SetCollectionSource;
Published property DynamicGroup: TXOMObject read FDynamicGroup write FDynamicGroup;
Published property Images: Integer read GetImages stored False;
Published property TotalImages: Integer read GetTotalImages stored False;
Published property SubCollections: Integer read GetSubCollections stored False;
Published property Items: TImageItems read FItems write FItems;
Published property CollectionType: TImageCollectionType read FCollectionType write FCollectionType;
Published property ParentOrder: Integer read FParentOrder write FParentOrder;
Published property LastSort: TCollectionSort read FLastSort write FLastSort;
Published property LastSortOrder: TSortType read FLastSortOrder write FLastSortOrder;
Published property LastFilter: TCollectionFilters read FLastFilter write FLastFilter;
Published property LastFilterScript: WideString read FLastFilterScript write FLastFilterScript;
Published property UDF1: String read FUDF1 write FUDF1;
Published property SubFolders: TImageCollections read FSubFolders write FSubFolders;
Published property UpToParentEntry: Boolean read FUpToParentEntry write FUpToParentEntry;
Published property _UpToParentEntry: String read Get_UpToParentEntry stored False;
Published property Remark : WideString read FRemark write FRemark;
Published property PhotoCount: Integer read FPhotoCount write FPhotoCount;
Published property Locked: Boolean read FLocked write SetLocked;
Published property Hierarchical: Boolean read FHierarchical write FHierarchical;

Description

Fields

Public _Enumerated: Boolean;
 

Methods

Public procedure AfterConstruction; override;
 
Public procedure BeforeDestruction; override;
 
Public procedure BaseAssign (Source: TObject; AssignClasses: Boolean); override;
 
Public procedure BuildNewGUIDs;
 
Public procedure FillFromDataSet (ADataSet: TDBXOMDataSet); override;
 
Public procedure FetchAll;
 
Public function TopCollection: TImageCollection;
 
Public function HasImages (ARecursive: Boolean): Boolean;
 
Public function AddFolder ( AFolderName: WideString): TImageCollection; virtual;
 
Public function FindFileName (const AFileName: WideString; const AMediumType: TMediumType; const AMediumName: WideString; const AMediumSerial: Integer; const IncludePathName: Boolean = False; const Recursive: Boolean = False; const ACheckStacks: Boolean = False): TImageItem; virtual;
 
Public function FindImage (AImageItem: TImageItem): TImageItem; virtual;
 
Public function CountFileName (const AFileName: WideString; const AMediumType: TMediumType; const AMediumName: WideString; const AMediumSerial: Integer; const IncludePathName: Boolean = False; const Recursive: Boolean = False): Integer; virtual;
 
Public function FindItem (const AItemGUID: String): TImageItem;
 
Public function FindCollection (const ACollectionGUID: String): TImageCollection;
 
Public function FindCollectionSource (const ASource: WideString): TImageCollection;
 
Public function ContainsGUID (const AGUID: String): Boolean;
 
Public function FindFile (const AFileName: WideString): TImageItem; virtual;
 
Public procedure Clear;
 
Public procedure ReSort;
 
Public procedure EnumImagesForPeriod (APeriod: TPeriod; var ACollection: TImageCollection);
 
Public procedure EnumAllImages (ACollection: TImageCollection);
 
Public procedure Flatten (ATarget: TImageItems = nil);
 
Public procedure ReadFromFileList (AFileList: TxomStrings);
 
Public procedure ReadFromFolder ( AFolderName: WideString; const AMask: WideString; ASubsAlso: Boolean = False; AFlat: Boolean = False; AMax: Integer = -1; ARecursiveLevels: Integer = -1; ACurrentLevel: Integer = 1; AReadUpFolder: Boolean = True; AFromDate: TDateTime = 0.0; ADateCheckKind: TDateCheckKind = dckModified);
 
Public procedure ReadFolder (const AFolderName: WideString; ASubsAlso: Boolean = False);
 
Public function ParentCollection: TImageCollection;
 
Public procedure CleanUpParentEntries;
 
Public procedure CleanUpEmptyFolders;
 
Public procedure UpdateFileName (AOldItem: TImageItem; const ANewFileName: WideString);
 
Public procedure DeleteFileName (const AFileName: WideString);
 
Public procedure UpdateFolderName ( AOldName, ANewName: WideString);
 

Properties

Public property CollectionSourceSize: Int64 read GetCollectionSourceSize write FCollectionSourceSize;
 
Public property _CollectionSourceSize: Int64 read FCollectionSourceSize write FCollectionSourceSize;
 
Public property Gallery: TImageGallery read GetGallery write SetGallery;
 
Public property IsVirtualCollection: Boolean read GetIsVirtualCollection;
 
Public property Data: TObject read FData write FData;
 
Public property LastActive: TObject read FLastActive write FLastActive;
 
Public property Image: TDataMemoryStream read FImage;
 
Public property Tag: PtrInt read FTag write FTag;
 
Published property CreatorGUID: String read FCreatorGUID write FCreatorGUID;
 
Published property CollectionName: WideString read FCollectionName write FCollectionName;
 
Published property CollectionDescription: WideString read FCollectionDescription write FCollectionDescription;
 
Published property CollectionSource: WideString read FCollectionSource write SetCollectionSource;
 
Published property DynamicGroup: TXOMObject read FDynamicGroup write FDynamicGroup;
 
Published property Images: Integer read GetImages stored False;
 
Published property TotalImages: Integer read GetTotalImages stored False;
 
Published property SubCollections: Integer read GetSubCollections stored False;
 
Published property Items: TImageItems read FItems write FItems;
 
Published property CollectionType: TImageCollectionType read FCollectionType write FCollectionType;
 
Published property ParentOrder: Integer read FParentOrder write FParentOrder;
 
Published property LastSort: TCollectionSort read FLastSort write FLastSort;
 
Published property LastSortOrder: TSortType read FLastSortOrder write FLastSortOrder;
 
Published property LastFilter: TCollectionFilters read FLastFilter write FLastFilter;
 
Published property LastFilterScript: WideString read FLastFilterScript write FLastFilterScript;
 
Published property UDF1: String read FUDF1 write FUDF1;
 
Published property SubFolders: TImageCollections read FSubFolders write FSubFolders;
 
Published property UpToParentEntry: Boolean read FUpToParentEntry write FUpToParentEntry;
 
Published property _UpToParentEntry: String read Get_UpToParentEntry stored False;
 
Published property Remark : WideString read FRemark write FRemark;
 
Published property PhotoCount: Integer read FPhotoCount write FPhotoCount;
 
Published property Locked: Boolean read FLocked write SetLocked;
 
Published property Hierarchical: Boolean read FHierarchical write FHierarchical;
 

Generated by PasDoc 0.15.0.